How to connect your Namecheap domain to an app deployed on Vercel

The steps for pointing a domain bought on Namecheap at your application deployed on Vercel.

If you bought a domain from Namecheap and want to connect it to your Vercel app, there are a few steps to follow.

1. Add the domain in Vercel

Log in to your Vercel account and open your app dashboard. Go to "Settings" and then "Domains". Click "Add Domain", enter your domain name and confirm with "Add".

2. Copy the DNS records from Vercel

Once the domain is added, you need the DNS records Vercel gives you. Go back to the "Domains" section, click the domain you just added, then open "DNS Records".

You'll see the list of records to create in Namecheap: an A record, a CNAME record and a TXT record.

3. Create the records in Namecheap

Log in to Namecheap and open your domain dashboard. Go to "Advanced DNS" and click "Add New Record".

Start with the A record. In the "Type" dropdown, select "A (Address)". In the "Host" field, enter @ without the quotes. In "Value", enter the IP address from Vercel.

Next comes the CNAME. In "Type", select "CNAME (Alias)", in "Host" enter www, and in "Value" enter the value shown in Vercel.

Finish with the TXT record. In "Type", select "TXT (Text)", in "Host" enter @ again, and in "Value" enter the value from Vercel.

4. Verify the records

Once all three are created, check that they're correct. Go back to your Vercel app dashboard, click the domain and then "Verify DNS Configuration". Vercel will check whether the records are set up as expected.

DNS records take time to propagate, so be patient. When propagation finishes, Vercel verifies them and your domain is connected to the app. If you get stuck, write to Vercel support.

Related posts