Using GoDaddy's domain to serve Netlify Website


We followed the tutorial to create a blog post using astro and to deploy it using netlify. That gave us a netlify address: jonathanmv.netlify.app. However, we wanted to serve the blog from the jonathanmv.com domain, which I had already set up with GoDaddy.

First, we went to the jonathanmv domain management in netlify: Netlify > Sites > joanthanmv > Domain Management.

Then I had to click a button saying Add Domain and type my domain. Finally, I had to click a link saying Awaiting External DNS. That showed a list of nameserver names that I had to change in GoDaddy.

The list is shown below. Please make sure you copy the values directly from Netlify instead of using these ones.

dns1.p09.nsone.net
dns2.p09.nsone.net
dns3.p09.nsone.net
dns4.p09.nsone.net

Now that we have the nameserver addresses we had to go to GoDaddy and change the DNS Nameservers there. I had to navigate to Portfolio > jonathanmv.com > DNS > Nameservers and click on the Change Nameservers button.

By default, it shows only two textboxes but you can add more to use the full 4-item list that netlify provides you. After giving the values you can save and you need to wait for the DNS propagration.

We used DNS Checker to validate that the records were propagated. Although it showed that the records were propagated, I had to reset my DNS Cache for me to see the website loading from my own browser. Without resetting the cache, it was showing me the old GoDaddy nameservers.

You can check your DNS Lookup with the following command:

$ nslookup -q=NS jonathanmv.com

And you can reset your local DNS resolver (clear you DNS Cache) with the following command (it asks for your password):

$ dscacheutil -flushcache; sudo killall -HUP mDNSResponder

After clearing my DNS Cache, I went to my browser and reloaded the webpage. I saw that my astro blog deployed using netlify was now loading from my domain parked on GoDaddy.

One Last Step

You need to go back to Netlify and scroll to the bottom in the Domain Management of your website to verify the DNS. This will create the right SSL Certificates for your webiste and visitors won’t see a Not Secure message on their address bar next to your domain.