skip to Main Content

I have about five different subdomains on my host that are all working fine with wordpress installed.

I recently switched from Godaddy to Namecheap and bought a new domain name.

I changed the domain on my WHM Server which was all fine with my current sites.

The problem I have is when adding a new subdomain and installing WordPress the site breaks because of DNS issues.

The WordPress auto install is also weird as it doesn’t detect the root like it used to, it puts the sub domain name into a folder above public_html.

So old subdomains are working fine but adding a new subdomain brings dns errors with wordpress installed.

Any ideas please, I’ve spent a solid five hours on this already.

Thanks.

2

Answers


  1. Chosen as BEST ANSWER

    Fixed the problem myself, for anyone with a similar issue. I even went through Hostgator support who couldn't figure out the problem.

    Logged into WHM > DNS Functions > Edit DNS Zone

    The sub domain in question was not named correctly, it was named as the directory name instead of the full url.


  2. If I’m following you correctly, you…

    1. Created an account and bought a new domain on Namecheap
    2. In Namecheap’s WHM (Webhost Manager), you changed the domain to the one you had with GoDaddy.
    3. When you create a new subdomain in Namecheap’s WHM, it’s not resolving the subdomain

    So based on the above assumptions, it sounds like your domain is still with GoDaddy, and it’s still pointing to GoDaddy’s name servers. So if you add a new subdomain in Namecheap, it won’t do anything, because Namecheap doesn’t have control of the DNS. And for that matter, I think your subdomains would still be pointing to GoDaddy’s servers.

    Again, assuming I followed your description correctly, I’d recommend you migrate your old domain to Namecheap since, I’d assume, you’re going to close your GoDaddy account at some point. If you need to urgently create a subdomain, you would need to do that on GoDaddy’s end.

    Hope this helps.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search