Subdomains result in 404 or default server page
-
I have an existing main site installed in /public_html which I have upgraded to Multisite (using subdomains).
I followed the setup instructions, added a wildcard subdomain record to my zone file in Crucial and created my first subdomain.
The main site still works perfectly but accessing the subdomain results in a default server page e.g. https://www.example.com/cgi-sys/defaultwebpage.cgi.
If I try to access the subdomain’s Dashboard e.g. test.example.com/wp-admin I get a 404 error.
My .htaccess file looks like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L] </IfModule> # END WordPress
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Subdomains result in 404 or default server page’ is closed to new replies.