• Hi,

    This is not really related to WordPress itself, but considering it has to do w/ a WordPress blog, I figured I could come here to see if I can get my question answered.

    Basically, I originally purchased my original url (consequenceofsound.com) at godaddy. I recently opened a hosting account with mediatemple and now have a domain there (consequenceofsound.net).

    I want the .net address to remain the primary address and have the .com name redirect to .net, in other words, I want .com to be a parked domain. I thought I did all the necessary steps, but I now think I missed something since its been two days and .com is still not redirecting.

    The nameservers on godaddy (.com domain) are pointed to:
    ns1.mediatemple.net
    ns2.mediatemple.net

    The nameservers on mediatemple (.net domain) are pointed to:
    ns1.mediatemple.net
    ns2.mediatemple.net

    I’m not sure what the problem is (still new to this), but I’m assuming that maybe I have to add the .com doman as a new record in the zone file? If so, what type of record is it? ((A, CNAME, MX, or TXT))

    Thanks for the help and sorry if the question is dumb.

Viewing 2 replies - 1 through 2 (of 2 total)
  • When you change the nameservers away from GoDaddy, changes you make to setup there do not affect what happens with your domain. You have them both directed to mediatemple.

    You do the parking in the control panel of your mediatemple hosting account. In Cpanel its called an addon domain. Other panels will have their own names.

    You will want to setup a 301 redirect to not get penalized for duplicate content (two domains with identical content)

    According to a Google search, adding this to the top of your .htaccess file will do the trick:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^www.parkeddomain.com [NC]
    RewriteRule ^(.*)$ https://www.maindomain.com/$1 [R=301,L]

    You’d need to alter the A record for the www host of consequenceofsound.com on the godaddy DNS system so that it points to the IP of your web host on the other hosting provider. Then you’d need to change the name servers for the .com back to godaddy.

    Alternatively you could leave the name server pointing as it is, but you’d need to make sure that there was an entry for the .com address as a zone on the mediatemple servers – that would mean primary DNS address zone addition, which I’d be surprised if you will get for a domain that they don’t host unless you have a fairly liberal hosting package. You can’t just add an A record to the .net zone file, that wouldn’t work.

    Really though, I don’t think you are going to get what you want with the setup you have described. Any of the above fixes would only work if your host on mediatemple has an Apache virtual host for the .com address as well as the .net. Otherwise it’d be refused or probably redirected to some generic page depending on how mediatemple’s hosting works.

    What you really need to do, I suspect, is go back to the godaddy control panel, point the .com address back to the godaddy DNS servers, and enable redirection from there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘DNS Question’ is closed to new replies.