2

Domain is registered with one company and hosting with another. I am reading that to point the domain to the hosting I have to change the nameserver to point to the hosting company's nameservers. This would also mean I will have to move the MX records to the hosting company (the email is where the domain is registered). Can I create an A Name record that points to the IP of hosting without having to change the nameservers?

3

You don't need to point the NS records to your hosting providers name server. You can if you want to manage DNS together with your Web space, but it is also perfectly fine to manage your DNS externally. Just make sure, MX records point to your mail server and A/AAAA records to your web server's IP.

If you are using some sort of management interface on the side of your hosting provider (e.g. Plesk, cPanel etc.) you will still need to add any external domain there as well. Otherwise the domain would point to the server, but the server wouldn't have any vhosts for it and therefore wouldn't know how to handle it.

If you, however, don't want to use external DNS, then let the NS records point to your hosting provider's name servers. In that case any other DNS configuration will be done on those.

  • One other thing. If my website is in a folder e.g. 200.200.200.200/folder would I be able to point the domain to that folder from an external DNS record? – Hassan Voyeau Feb 13 '16 at 22:52
  • 1
    DNS has nothing to do with folders. Just make sure your domain resolves to your server's IP address and that your server serves the right contents for that domain. On the server side you may use redirects and rewrites as usual. But that is not part of your DNS configuration. – Janek Bevendorff Feb 13 '16 at 22:53

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.