Domain mapping isn't working (DNS is fine)

Hi,

No luck searching this so here goes... I've added domain mapping to my WPMU but it won't work, I just get the registration page each time. Here's the setup....

WPMU installed at journallocal.co.uk
Blog set up at f1kingdomcom.journallocal.co.uk
Domain mapping added for f1kingdom.com to point to f1kingdomcom.journallocal.co.uk
Nameservers point at mediatemple where my server is hosted
Media temple have the following A records...
- *f1kingdom.com A 72.47.237.126
- f1kingdom.com A 72.47.237.126
- http://www.f1kingdom.com A 72.47.237.126
Visiting f1kingdom.com simply takes me to http://journallocal.co.uk/wp-signup.php?new=f1kingdom.com where I'm invited to register (not reg is disabled for non-logged in users so only I see that)

I also added f1kingdom.com as an alias of journallocal.co.uk in Plesk but that changed nothing.

Any ideas why this isn't working, or how I might be able to find out?

Cheers,
Phil

P.s. for the forum admins - when writing a post, everytime I add a link with the toolbar it misses the closing A tag.

  • drmike
    • DEV MAN’s Mascot

    The closing a issue has been occurring for a bit now. It's been reported (and made fun off) a few times. thanks though.

    I believe the last time this came up, the poster hadn't unmarked the sunrise line within wp-config.php. can you check that please. Can you also walk us though what you did to install please?

    And the standard "please get in the habit of checking your webserver's error logs. all support forums ask for that and it;s a good habit to get into else we have to ask and help takes longer and keeps Sue away from her chocolate." request.

  • Philip John
    • DEV MAN’s Apprentice

    Grr... Sunrise was commented out. I bet I over-wrote my change like a muppet! Anyway, I uncommented and it didn't have an effect.

    I followed the install instructions that came with the plugin files. I had to upgrade the update-notifications.php though, as there were two contained in the zip (confusing) one of which was an older version.

    I found these two lines from my logs which look like me accessing my mapped domain:

    87.194.26.xx - - [23/Mar/2010:15:13:16 +0000] "GET / HTTP/1.1" 302 315 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1036 Safari/532.5"
    87.194.26.xx - - [23/Mar/2010:15:13:16 +0000] "GET /wp-signup.php?new=f1kingdom.com HTTP/1.1" 200 2965 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1036 Safari/532.5"

    How's that?!

  • drmike
    • DEV MAN’s Mascot

    I bet I over-wrote my change like a muppet!

    Please double check again that the change has been made. If you;re on CPanel, the editor cant overwrite the file as it was created by the webserver. Copy out the contents of the file, delete the file, create a new one, copy in the original content and make the required edit.

  • Philip John
    • DEV MAN’s Apprentice

    Haha Aaron, yes I did, but I double checked just in case :wink:

    Dr Mike - That was it! The file was owned by apache, so I deleted and re-uploaded via FTP changing the owner and group in the process. Works perfectly now.

    Thanks very much for your help!

  • Philip John
    • DEV MAN’s Apprentice

    Hi guys,

    I have this same problem again. I've checked through the same things again to make sure I'm not making the same mistakes but I still have the same problem.

    This time it's with http://meejalaw.com which should be showing http://meejalaw.journallocal.co.uk but instead gives me http://journallocal.co.uk/wp-signup.php?new=meejalaw.com

    I have http://onlinejournalismblog.com working fine, which uses http://ojb.journallocal.co.uk.

    Any ideas? I'm stumped.

    Phil

  • drmike
    • DEV MAN’s Mascot

    I'm showing them as different IP addresses:

    meejalaw.com is resolving to 72.47.237.126

    journallocal.co.uk is resolving to 109.123.98.100

    That's weird as the mapped domain is getting there and wp/wpmu doesn;t look at IP addresses as far as I can tell.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.