Forums

Domain Mapping, Migrate to Another Instance on Same IP Address (9 posts)

  1. tragicallyhip
    Member
    Posted 2 weeks ago #

    Hello,

    I have two instances of WPMU running on virtual hosts that share the same IP address. I am migrating a blog that uses domain mapping from one instance to the other, so the A record for the mapped domain is already pointing at the IP address. Mapping is successfully working on the current server.

    I've successfully duplicated the site on the 2nd instance of WPMU. My plan was to simply delete the mapped domain from the first instance and add it to the second. However, it didn't automatically map to the site on the 2nd instance, instead delivering an error page. So I cleared my cache and checked it from other browsers, to no avail. I waited a bit and tried again, still no luck. I had to turn it back on as the site is live (albeit not yet promoted in any way).

    Is there a domain mapping cache I need to clear after deleted the mapped domain on the first instance? Is there any length of time to expect the change to take effect? Is it even possible for me to make this changeover take effect without deleting the first instance of WPMU?

    Many thanks.

    Patrick

  2. tmoorewp
    Member
    Posted 2 weeks ago #

    DNS (which is what the domain mapping plugins use) usually takes 24-48 hours to refresh after you make a change. So leave the domain mapped on both sites until it switches over, then take it off the old WPMU instance.

  3. andrea_r
    Member
    Posted 2 weeks ago #

    "so the A record for the mapped domain is already pointing at the IP address. "

    Which MU site answers to the IP address? If it's the first one & you're moving to the other one, that's the problem.

  4. tragicallyhip
    Member
    Posted 1 week ago #

    Sorry for the delay in replying... got pulled onto another priority issue.

    They both answer to the same IP address. When I visit the domain mapping screen on either instance, it lists the same IP address. Both have been successful with domain mapping using the same IP address, its only this switchover that has caused the problem.

    Is there a way to clear the domain mapping history so that there is no residual data telling the first instance to respond to the request?

  5. andrea_r
    Member
    Posted 1 week ago #

    No porb. I went to New York. :D

    Let me rephrase: if I typed in the IP address in the browser, which one site shows up first?

  6. tragicallyhip
    Member
    Posted 1 week ago #

    Hope NY was fun!

    If you type the IP address, you simply see the Apache test page.

    I set up websites using a control panel provided by my webhost (not a cpanel). All of my domains share the same IP address. If I set up domain mapping on the second domain without having first set it up on the first domain, it works perfectly. Its only this instance where it has lived as a mapped domain before that it won't resolve.

  7. andrea_r
    Member
    Posted 1 week ago #

    "If you type the IP address, you simply see the Apache test page. "

    That's the issue. If you type in the IP address, you should see the main WPMU install.

  8. tragicallyhip
    Member
    Posted 1 week ago #

    Actually, I figured it out, and its a stupid oversight on my part.

    In order for domain mapping to work on my configuration, I also have to create a full mirror pointer on the host domain to the mapped domain. I had forgotten to delete it from the first host domain and add it to the second host domain.

    A really simple solution that I just overlooked.

    Thanks for your help, and thanks for the great work on WPMU and DM!

  9. andrea_r
    Member
    Posted 1 week ago #

    That's definitely a "Doh!" moment. :D Glad you found it and it was simple.

Reply

You must log in to post.

About this Topic