Hi there, my name is Damian. I’m a Linux enthusiast, and I’m just setting up a web server using a Digital Ocean Centos 7 Droplet. I’ve got a public IP that I can use to access my site through a web browser; however, I want to get a domain .CA and delegate the DNS, so the people can access my site using a friendly URL rather than my IP address. Can anybody guide me through the steps that I should follow?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @damiancotado,
I’ll be happy to provide you with a few pointers. First, what you are looking for is a Domain name. Unfortunately, DigitalOcean does not provide a way to purchase one directly. You’ll need to use a domain provider. If you type in domain provider in Google, you’ll be able to choose one.
As soon as you have purchased your domain, from your domain provider’s client area you’ll need to set the Nameservers of your domain to:
Name Server: NS1.DIGITALOCEAN.COM
Name Server: NS2.DIGITALOCEAN.COM
That way you’ll be able to manage your DNS from DigitalOcean. Now, it’s time to add the domain to your DigitalOcean account. There is a pretty good guide on how to do that. You can do it by going to this link:
https://www.digitalocean.com/docs/networking/dns/how-to/add-domains/
You’ll need to point your domain to your droplet’s IP address. The good thing is, DigitalOcean will actually suggest it for you so it’ll be almost semi-automatic.
Once you’ve pointed your domain to your Droplet, you’ll need to add it to your server’s configuration. Having said that, I’ll continue with the post in the second reply as this will become a pretty long one otherwise.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.