• Hi,

    I have set up my multisite wp installation on mobilewebsitecentral.com

    This is the second time I have set it up, the first time worked fine but the domain I used was not suitable, so I have tried to set it all up again on a new domain name.

    I set up the domain mapping but for some reason when I try to access the sub-domain, it is not found.

    My server support people said I should set up a virtual server as an alias of mobilewebsitecentral.com for each sub domain.

    On my previous set up I did not need to do that, the domain-mapping was working fine.

    Hear is an example.

    The DNS A record of buymobilewebsite.org
    points to 65.23.129.163
    which is where “mobilewebsitecentral.com” is located.

    The website opens fine and I can access the wp admin OK from the “login” link on that page.
    I get to here: howtomobilewebsite.net/wp-login.php

    BUT when I am on the Network admin page and I try to link to a sub site admin from the MY SITES dropdown menu, I get this:

    buymobilewebsite.mobilewebsitecentral.com/wp-admin/

    and “Firefox can’t find the server at buymobilewebsite.mobilewebsitecentral.com.”

    I think the domain-mapping is correct:

    Image of mapping

    My config file looks like this:

    define('AUTH_KEY',         'put your unique phrase here');
    define('SECURE_AUTH_KEY',  'put your unique phrase here');
    define('LOGGED_IN_KEY',    'put your unique phrase here');
    define('NONCE_KEY',        'put your unique phrase here');
    define('AUTH_SALT',        'put your unique phrase here');
    define('SECURE_AUTH_SALT', 'put your unique phrase here');
    define('LOGGED_IN_SALT',   'put your unique phrase here');
    define('NONCE_SALT',       'put your unique phrase here');
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'mobilewebsitecentral.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    define( 'SUNRISE', 'on' );
    /**#@-*/

    I must have dome something wrong, but I am not sure what 🙁

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Did you update your .htaccess?

    Thread Starter Davvit

    (@davvit)

    Yes I did,

    It reads:

    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]

    My wp installation is on the root and so is this .htaccess file

    As far as I know I shouldn’t have to set up separate virtual servers as alias of “mobilewebsitecentral.com” should I ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    No, but you do need to set up wildcard subdomain mapping. Or do it manually and point it back to where public_html is.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite only Partially working’ is closed to new replies.