Support » Networking WordPress » "ERROR 404 – PAGE NOT FOUND" and wildcard subdomain is set?

  • I have bought a very good manual for installing MultSites.

    But when I add a new site and click the dashboard for that particular site i get this error:



    I have HostGator and created an addon domain where I installed WordPress MultiSites. In the CPanel under “Subdomains” I entered the wildcard subdomain:


    I also have the option to choose


    I have a primary domain name used for my hosting account at Hostgator so should I also include that when creating the wildcard subdomain? From the manual I’m using, it looks like the first approach would be the right one.

    After creating the wildcard subdomain I clicked the Network setup within WP, then I came to the page “Create an network of wordpress sites” I choosed “Sub-domains” since I wanted every new site to be a sub-domain. Then I clicked install and came to the page “Enabling the Network” and at the top of the page I got this error message:

    Warning! Wildcard DNS may not be configured correctly!

    “The installer attempted to contact a random hostname ( on your domain. This resulted in an error message: Couldn’t resolve host ’’

    To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a * hostname record pointing at your web server in your DNS configuration tool.

    You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.”

    So I know I had already set this wildcard subdomain so I just continued with:

    1. Create an additional directory folder on your hosting server.

    – Then created “blogs.dir” inside the “wp-content” directory.

    2. Edit the wp-config.php file one more time to add more code.

    – Then I added:

    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    $base = ‘/’;
    define(‘DOMAIN_CURRENT_SITE’, ‘’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    3. Edit the .htaccess file and add a bit of code.

    – Then I added:

    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]

    Still this error:

    I don’t get this. What could I be doing wrong?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘"ERROR 404 – PAGE NOT FOUND" and wildcard subdomain is set?’ is closed to new replies.