• I have searched through the forums and tried some solutions but none is able to solve my problem. Seeking for help earnestly.

    I am using WPWEBHOST have setup a new multisite install with subdomains at “cougarshield.com”, i have added the subdomain “china.cougarshield.com” in cpanel and I activated a wild card subdomains as well.

    On the network admin dashboard, everything appears to be working correctly. I can see “My sites” and under “Sites”: i can see both sites: “cougarshield.com” and “china.cougarshield.com”. However when i tried to access the dashboard of the subdomain site “china.cougashield.com/wp-admin”, it directs me to a 404 Not Found Page:
    ———————————————–
    Not Found
    The requested URL /index.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    ———————————————–
    However, I am able to access china.cougarshield.com and view the homepage as i set a default look when setting up the subdomain.

    I have added the below lines to the wp-config.php file within public_html, as indicated in the network setup by wordpress:

    /* Multisite */
    define(‘WP_ALLOW_MULTISITE’, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘cougarshield.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    I have also replace the contents of the .htacccess file with the below within public_html, , as indicated in the network setup by wordpress:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    Does anybody happen to know what went wrong and how to fix it?

    • This topic was modified 7 years, 7 months ago by vinclone.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • you need to specify on you subdomain manager or dns zone editor or a similar page in your hosting dashboard the value china and specify the root to you wordpress root directory
    assuming your worpress directory is on the root(public_html)
    example:

    subdomains | document root
     china      |  /public_html
    subdomain2  | /public_html
     
    • This reply was modified 7 years, 7 months ago by faospark.
    Thread Starter vinclone

    (@vinclone)

    Thanks for the quick reply and assistance, faospark.

    Could you guide me where should i should i change it. currently my domain manager looks like the below:

    Subdomains.Root Domain Document Root Redirection
    *.cougarshield.com /public_html/_wildcard_ not redirected
    china.cougarshield.com /public_html/china not redirected

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t access sub-domain dashboard of multisite network’ is closed to new replies.