Last week I was working on setting up this blog, and I decided to migrate the app from Netlify to Vercel. Vercel provides a nice-looking UI to manage everything related to our web apps and makes really easy to set a custom domain rather than the default app-random.vercel.app that is automatically assigned to each project.
Adding a domain is something I've done several times in the past, yet every time I seem to have to look around on how to do it. So I decided to document the process of adding a Namecheap domain to Vercel in the hopes that it helps others that are trying to do the same.
- Selecting Your Project
On the dashboard, select the project to which you would like to assign your domain.
Go to Settings and select Domains menu item.
2. Entering Your Domain
From the Domains page, enter the domain you want to add.
Once you added a valid domain, you will see (most of the times) the domain added below with an ugly
Invalid Configuration error. This is due to we still need to set up Namecheap to point Vercel's Nameservers.
You will also see a tab named Nameservers. Click on it and you'll see the nameservers we will need to add to our domain in Namecheap.
Once that our domain is added in Vercel, we just need to add the nameservers in Namecheap in order to finish the setup.
Once you are logged into your Namecheap account, go to Domain List on the sidebar, select the domain you want to configure, and click on Manage.
Now find the
NAMESERVERS section, click on the dropdown and select Custom DNS. This will reveal an input where you can input the Vercel's Nameserver addresses. Once you added the nameservers, click on the green checkmark at the right and you are done! 😄
Hope this guide was useful for you! Let me know in the comments if you have any questions.
If this post helped you, please consider following my journey on Twitter
Top comments (0)