We're now at the stage where we can configure our domain name servers and DNS zone file names servers
will instruct your domain registrar on which hosting company your domain should point to the DNS zone
file.
On the other hand is configured on your hosting companies admin panel.
In this case Digital Ocean the zone file contains information on which web server each domain should
point to.
By now you likely get the idea after reconfigured the zone file for each domain.
Our web server delivers the web pages based on instructions from the virtual hosts file we created for
each domain.
Now go ahead and change my domain name servers so the point to Digital Ocean since my domains are registered
with godaddy dot com.
I've pulled up their web page here.
Now I'm going to go ahead and sign in
OK next to no next to my domain.
And when you click the DNS button
and when you scroll down you'll see the heading name servers.
This is the area you want to change.
You want to make sure that your name servers are pointing to Digital Ocean.
Right now my name servers are pointing to Amazon Web Services So go ahead and change that
and the name servers for Digital Ocean are as follows.
And this one does Digital Ocean dot com an S to an N S 3 Digital Ocean.
Dotcom.
And we don't need the last one so I'm just going to delete it and presi
you need to do this for each domain that you'd like to host on your digital ocean droplet.
So if you have two or three or however many domains you'll be using you'll need to log into your registrar
and change the name servers.
Make sure they're pointing to digital ocean.
Now if you're using a different virtual host host provider such as Amazon or Microsoft It doesn't matter.
Just make sure that you put in their corresponding name servers where need to head back to Digital Ocean.