Set up DNS server with your custom domain on Netlify

I remember that I got trouble to setup my client domain and I want to make your life easier

READ MORE

DATE

February 24, 2024

CATEGORY

Tech

READING TIME

2 mins

There are two ways to set up Domain and Server DNS if you bought custom domain and host on different server.

IMPORTANT

The first method is applied when your client already has their email server setup with the domain. Otherwise, it can take much time and efforts to set up and change name server.

If this is brand new domain and your client has not set up anything yet. The second method is recommended if you like Netlify

The advantage of using Netlify is that: FREE SSL for your website (applied for both method)

You can take a look at other server provider too.

1. Configure external DNS for a custom domain

This method basically means you update your A record in your domain provider ( for example, Go Daddy) and connect your domain provider with your server provider

1. Go to Netlify Panel (login) > Domain > Add Or Register Domain:

2. Enter your domain that you bought on GoDaddy or NameCheap: example.com

3. Click on Verify

You will see a message like this:



Just continue choosing "Add Domain"

4. Login to your domain provider ( for example, go daddy)

5. Update your A record of Netlify in the A record of GoDaddy. Rightnow, Netlify has their A record ( load balancer address ) is 75.2.60.5

6. (Optional) You can also update CNAME for this, and point that to your subdomain on Netlify

After this, it will take 24-72 hours for the website to be up.

2. Change NameServer on your domain's host

1. Go to Domain, add domain name

This method will make you lose all the email server set up with your domain

In order to avoid this, you can copy and paste your email server (MX) setup into Netlify first, before you update name server

2. After that, you will see name server and you can copy nameserver to your domain provider name server and update