Hi folks,
I'm new to DNS and servers, so apologies if this is a stupid question. I've registered a domain (let's call it domain.com) and have a VPS server. In domain registrar, I assigned my IP address @ and the domain registrar provides 2 nameservers. When I browse to
www.domain.com, I can reach the site but the name is converted to my IP address (i.e.
http://74.117.153.122) instead of leaving "www.domain.com". If I enter just "domain.com", it works fine (i.e. browser line remains "http://domain.com"). I tried setting up a DNS nameserver on my VPS but I'm not sure if I actually need one as the domain registrar provides 2 nameserver domains. How can I configure my server/domain registrar so that
www.domain.com is not replaced by its IP address in the browser?
Thanks a lot! Go Linux!