I have a VPS in England and a hosting account with hostgator. I use GoDaddy to manage my domain name settings.

My VPS is mainly used for mail and certain other services. The actual site is hosted at hostgator

I had a cname called "www" which would point to mydomain.com, at hostgator All the rest would point to my vps. (The "A" host, @)

Now Hostgator lost my original domain name, so pointing to that leads to a fake website.

But you can't just make www point to an ip adres. No. I tried adding an "A" host which would point to the hostgator ip-adres and then I would point the "www" cname to that "A" host.

But that does not work. Can anyone shed some light on this?


There shouldn't be anything wrong with that situation. Godaddy supports both A and CName records, and how you described is how those records should work.

Can you explain further what 'does not work' means? Also, make sure that you're not fighting with caching issues.

Try out nslookup as a tool That's very helpful. For example:

set type=ns

{This will give a list of the name servers.}

server {one of the authoritative servers}
set type=a
set type=cname

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.