Adding & Configuring a Custom DomainLearn how to add a custom domain to your Vercel project, verify it, and correctly set the DNS or Nameserver values.
Vercel provides all deployments with a
vercel.app URL, which enables you to share Deployments with your Team for collaboration. However, to provide greater personalization and flexibility to your project, you can instead add a custom domain. If you don't own a domain yet, you can purchase it with Vercel.
You can manage all domain settings related to a project in the Domains section of the Settings tab of the project, regardless of whether you are using apex domains or subdomains in your project. This document will guide you through both options.
Hobby accounts have a limit of 50 custom domains per project.
The following steps provide an overview of how to add and configure a custom domain in Vercel:
On the dashboard, pick the project to which you would like to assign your domain.
Once you have selected your project, click on the Settings tab and then select the Domains menu item:
From the Domains page, enter the domain you wish to add to the project:
If you add an apex domain (e.g.
example.com) to the project, Vercel will prompt you to add the
www subdomain prefix, the apex domain, and some basic redirection options. For more information on which redirect option to choose, see "Redirecting
You can use your custom domain as a wildcard domain by prefixing it with
To add a wildcard domain, use the prefix
*, for example
Once you have added your custom domain, you will need to configure the DNS records of your domain with your registrar so it can be used with your Project. The dashboard will automatically display different methods for configuring it:
- If the domain is in use by another Vercel account, you will need to verify access to the domain, with a TXT record
- If you're using an Apex domain (e.g. example.com), you will need to configure it with an A record
- If you're using a Subdomain (e.g. docs.example.com), you will need to configure it with a CNAME record
Both apex domains and subdomains can also be configured using the Nameservers method.
You can configure apex domains either with a A record or through the Nameservers method.
You can configure subdomains either with a CNAME record or through the Nameservers method.
If you choose to use Vercel's nameservers for either apex domains or subdomains, click on the Enable Vercel DNS button to opt in. Once enabled, you will be provided with the Vercel nameservers to copy and use with your registrar.
If the domain is in use by another Vercel account, you may be prompted to verify access to the domain. Note that this will not move the domain into your account, but will allow you to use it in your project.
Once the domain has been configured and Vercel has verified it, the status of the domain will be updated within the UI to confirm that it is ready for use.