Setting up Namecheap domain in Vercel
Tags: nextjs, react, namecheap
Published: 2021-03-21 00:00:00

---
title: Setting up Namecheap domain in Vercel
published: true
date: 2021-03-21 00:00:00 UTC
tags: nextjs, react, namecheap
canonical_url: https://jorgearuv.dev/setting-up-namecheap-domain-in-vercel
---

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.

## Vercel setup

1. Selecting Your Project

On the dashboard, select the project to which you would like to assign your domain.

![dashboard step 1](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ff93b5ef8-7cfc-488d-b06e-878a5000ce2f%2FScreen_Shot_2021-03-20_at_6.59.30_p.m..png?table=block&id=6c84067c-497c-44c1-a41d-05ac38222cd8&cache=v2)

Go to Settings and select Domains menu item.

![dashboard step 1-2](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F62530931-8c1f-4cdc-ba26-20f49a0952e8%2FDomains_-_personal-site-v2__Vercel.png?table=block&id=aa78bbd7-287f-4a6d-8629-19df151fe0d6&cache=v2)

## 2. Entering Your Domain

From the Domains page, enter the domain you want to add.

![Domain step](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fded189ac-5435-4577-9462-22793de3b22e%2FDomains_-_personal-site-v2__Vercel.png?table=block&id=f35fed5a-f794-4050-8ce1-323876825bc4&cache=v2)

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.

![Domain step 2](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F6f9accf9-696d-4457-8398-1261dda60dbb%2FDomains_-_personal-site-v2__Vercel.png?table=block&id=df113f5a-201b-4087-9b59-959cb5facc75&cache=v2)

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.

![Domain step 3](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F14eab785-68b6-4517-8372-8dc8e0b60b9e%2FDomains_-_personal-site-v2__Vercel.png?table=block&id=717229b2-3a16-4b6a-b822-90e419eb4cb9&cache=v2)

## Namecheap Setup

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.

![Namecheap step](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jhx06t3n4kw198mckj84.png)

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! 😄

![Namecheap step 2](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9b680812-ce3b-48e8-af63-2b0f14de62cc%2Fnamecheapconfig.png?table=block&id=bca8b008-0bb2-4c54-8ad2-df15fe8e7139&cache=v2)

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](https://twitter.com/jorgearuv)