How do I set OVH domain to point at my Digital Ocean Droplets?

November 20, 2019 312 views
DigitalOcean

Hi there,

newbie messing up with OVH Domain name and Digital Ocean VPS:

I’m reading guides and tutorials but I can’t find the best way to have my domain on OVH pointing at my Droplet on Digital Ocean (eg. what DNS to use OVH or DO, how to set ipv4 etc.)

Since I’m not having a clear answer from them I want to ask, in case someone already went through the process.

thanks

2 Answers

Hello,

What I could suggest is to first add your domain name to your DigitalOcean account, here’s a step by step guide on how to do that:

https://www.digitalocean.com/docs/networking/dns/how-to/add-domains/

  • Then you have to change the NameServers of your domain name via your OVH control panel, you can follow the steps here:

https://docs.ovh.com/gb/en/domains/web_hosting_general_information_about_dns_servers/

  • The nameservers that you have to use are:
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com
  • Then once you have all that setup you can edit your DNS records via your DigitalOcean control panel, here’s a guide that you could follow:

https://www.digitalocean.com/docs/networking/dns/how-to/manage-records/

In order to point your domain to your droplet, you need to set your A record to point to your droplet’s IP address.

Note that it could take up to 48 hours for the DNS cache to clear over the globe before you could see your new DNS settings.

Hope that this helps!
Regards,
Bobby

Hi Bobby,

thank you for your kind and precise answer.
I did follow all the steps and I’m waiting for the changes to propagate, hopefully everything will go smooth.

Just a small question:
How do I have to change “DNS Zone” in OVH?
Currently it is set like this
officinecartografiche.net to 142.93.169.60
and if I delete the entry, OVH warns me it will delete the domain

Thanks

  • Hi @lucamoiana,

    Basically the Nameservers ‘tell’ your domain name wich DNS zone to 'look at’. So if you use OVH Nameservers then this would mean that you would need to make the DNS change at their end. If you use the DigitalOcean nameservers, then you need to make the DNS change via your DigitalOcean control panel.

    This also means that if your Nameservers are set to the DigitalOcean ones, the DNS zone at OVH’s end would not take any effect and you don’t have to change any records there.

    On another note, I can see that the domain that you’ve mentioned is still using the OVH nameservers, so this would mean that you have to make your DNS changes at their end and it would also work as normal.

    Hope that this helps! Let me know if anything is unclear :)
    Regards,
    Bobby

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!