Skip to content

Instantly share code, notes, and snippets.

@ddeveloperr
Last active November 1, 2023 09:42
Show Gist options
  • Save ddeveloperr/fa68dff9fddc1c7c9e47adb37a4cedcd to your computer and use it in GitHub Desktop.
Save ddeveloperr/fa68dff9fddc1c7c9e47adb37a4cedcd to your computer and use it in GitHub Desktop.
Netlify custom domain dns configuration with domain from namecheap
Please follow these steps to point your domain name from namecheap domain to the Netlify nameservers:
- Having logged into Namecheap account, go to your Domain List -> click 'Manage' next to the domain website.com -> locate the 'Nameservers' section;
- Choose ‘Custom DNS’ in the drop-down menu;
- Fill in your custom nameservers into empty lines;
4 lines in total :
dns1.p03.nsone.net
dns2.p03.nsone.net
dns3.p03.nsone.net
dns4.p03.nsone.net
- Save changes using a checkmark icon next to the nameservers.
It may take 24-48 hours for the DNS changes to be accepted globally. Please give it some time to propagate.
@ShetlandJ
Copy link

Thanks! The nameservers may have changed, for anyone reading this in Dec 2020.

I had to use

dns1.p03.nsone.net etc

@ddeveloperr
Copy link
Author

ddeveloperr commented Dec 7, 2020

@ShetlandJ Thanks for your reply :). The gist has been updated.

@ShetlandJ
Copy link

Also, if anyone uses a Namecheap domain and a Namecheap Private Email setup, you need to go to Netlify and add these to your DNS settings:

Record type: MX
Priority: 10
Value: mx1.privateemail.com

Record type: MX
Priority: 10
Value: mx2.privateemail.com

Record type: TXT
Value: v=spf1 include:spf.privateemail.com ~all

I had to google about to find this stuff, so may be worth adding to the gist too.

Thanks!

@ddeveloperr
Copy link
Author

Hi @ShetlandJ thanks for sharing 👍

@joeballard
Copy link

joeballard commented Aug 3, 2022

Hello, I set up four sites w Netlify on same day and got four separate sets of Custom DNS urls (p01, p03, p06, p07). I found out they had to match (in NameCheap) whatever Netlify generated for the specific site.

Also, thanks for the PrivateEmail DNS settings. Those setting need to be made in Netlify's DNS panel (not NameCheap like I assumed):

  • From Team page in Netlify, pick Domains
  • On Domains see DNS records

@jarvissilva937
Copy link

If you are looking to setup a custom domain at netlify then you need to first add the nameservers to your provider here is a complete tutorial on how to configure domain on netlify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment