Domain Mapping issue using Domain Mapping plugin with PRo Sites

Domain mapping issue:

Have moved the sunrise.php file
ave edited the wp-config.php to include
'define( 'SUNRISE', 'on' );' it didnt work. have since commented out

define('DOMAIN_CURRENT_SITE', 'website-4-small-businesses.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

still not working, going to any mapped domian is taking the visitor to the wp-signup.php

We are on nginx using aws ec2 instance.

  • Alexander
    • DEV MAN’s Mascot

    Hi @taimur_khan,

    I can help you get this worked out. Defining sunrise in wp-config.php is very much required.

    Can you please set this back to ON? Also, please ensure that it is placed above the line that says "That's it stop editing!"

    define( 'SUNRISE', 'on' );

    If your domains are reaching the signup page, then this is more likely related to the domain not being added to a site. Can you double check and make sure that on the site itself, the domain has been entered for mapping?

    Also, are you using sub-directory, or sub-domain Multisite?

    Thanks for being a WPMU DEV member. I hope to help you resolve this quickly,
    Best regards,

  • TK
    • Design Lord, Child of Thor

    Hi,

    the wp-config settings are as follows:
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    /* UNcommenting to make the multi site work with domain mapping
    define('DOMAIN_CURRENT_SITE', 'website-4-small-businesses.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);*/
    /* That's all, stop editing! Happy blogging. */

    Domain has been entered for the site and DNS is pointing to the server
    domain settings on site: http://www.ditatheartist.com/ mapped to http://ditatheartist.website-4-small-businesses.com/

    DNS for the domain is pointing to the server

    I am using sub-domain in multisites

    I do need this resolved as soon as pls.

    Thanks for the help.

    T

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.