Cannot log in to site after Domain Mapping domain deletion

Referencing your usage guide at https://premium.wpmudev.org/project/domain-mapping/#usage

While attempting to update a mapped site’s domain from site.org to http://www.site.org, I deleted the custom domain. Now, I’m experiencing a loop where I cannot log in to that site’s admin area. I can log in to other sites on this WPMS environment. And I can view site.org, But when I attempt to log in to site.org or network.net, I can get to the site, but not the WP Admin.

1. What should my Network Domain mapping Options be? Right now, I’ve set them to be:

The domain used for the administration area should be the “domain entered by user.”

The domain used for the login area should be the “domain entered by the user”

2. How can I access the site admin now and update that domain record?

I’ll stop here for now. Thanks in advance.

  • Joe Banks
    • WPMU DEV Initiate

    Thank you for the reply. Here’s where I am now:

    I updated the site domain, under Network: Sites

    http://network.net/wp-admin/network/site-info.php?id=12

    to “site.network.net,” temporarily, and was then was able to log in and add the domain mapping back of “site.org”. (Tools > Domain Mapping)

    However, my issue now is I need to set everything about this domain to be:

    http://www.site.org.

    I cannot add “www.site.org” to the Domain Mapping.

    Overall Issue: Eventually, the DNS manager is going to set the DNS for the website to be http://www.site.org only.

    What steps do I need to do to set this up?

    Also, to answer you question, when I tried “original domain” for both I am now getting redirected to http://www.www.site.org/wp-login.php (note the extra www).

    Confirming settings:

    Domain is now http://www.site.org, and the custom domain is showing up as site.org.

    Also, I’d like to know what the recommended settings should be for Network: Settings > Domain Mapping should be in a multidomain environment, where site.network.net gets turned into site.org frequently, and every client logs in via their site URL (and should remain in that URL).

    Thanks for your help. Domain mapping is one issue I only _think_ I have mastered.

  • Kimberly
    • Champion of Loops

    You should be able to use the “mapped domain” for both settings on the Network Admin without issue along with the IP of the main blog

    When you set the site.org as the custom domain you should not have to do anything else besides point the A record for the domain to the main site.

  • Joe Banks
    • WPMU DEV Initiate

    Kimberly,

    Thank you for the reply and information!

    This was the issue:

    At some point, I was not able to add the custom domain “www.site.org”; I had to do it manually by finding and adding it to the network _domain_mapping table in phpMyAdmin. I’ve experienced this issue before, where adding a domain (often one I’ve added before and deleted) did not save.

    Feature: I believe there should be a Network Admin ability to add/edit custom domains for this plugin, just like the WordPress MU Domain Mapping plugin.

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

    Thank you. I would consider this issue resolved (with notations) for me at this time, and you may close it unless you have additional questions or information.

    Thanks for your help.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.