WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite - Configuration - No front end site access to sub-domain (2 posts)

  1. dasped
    Member
    Posted 1 year ago #

    Hi,

    Been using WP for a while now but this is my first Multi-site configuration and man, am I having a day of it thus far.

    Right, first up and explanation of my first issue (Now Resolved'ish) but it may help others.

    WP 3.4.2 - SubDomain Multisite config - CPanel

    I have access to my reseller WHM but not server files;

    I set up the DNS wildcard via WHM 'edit dns zone' simply adding * & server ip etc = No go!

    After more trouble shooting than I care to mention what I should have done is create the wildcard via the direct CPanel for the account.

    Why? Don't ask, the only thing I can see is, that by doing it this way, it also adds a * TXT file to the DNS

    * 1440 IN TXT "v=spf1 +a +mx +ip4:<strong>SE.RV.ER.IP</strong> ?all" To be precise

    With this, I was magically straight into my sub-domain dashboard, no issues!

    Now onto my real reason for the post.

    I still can't view the front of the site? All dashboard facilities are available at subdom.mytld.com/wp-admin/ but subdom.mytld.com takes me straight to subdom.mytld.com/cgi-sys/defaultwebpage.cgi

    htaccess reads:

    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName mytld.com
    AuthUserFile /home/myuser/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/myuser/public_html/_vti_pvt/service.grp
    
    # 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

    Config reads:

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'mytld.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* That's all, stop editing! Happy blogging. */

    My head is a complete spin with all the posts I've read and I thought I'd nailed it with the dashboard access winning moment, however short-lived.

    Please help if you can.

  2. dasped
    Member
    Posted 1 year ago #

    Please close topic, it would appear it was a browser caching issue.. TY

Topic Closed

This topic has been closed to new replies.

About this Topic