Yes, you can change the URL (domain) of a Vercel project. There are two main ways to do this:
✅ 1. Change the Custom Domain (Primary or Additional)
If you want to change or add a custom domain, such as yourproject.com instead of the default your-project.vercel.app, follow these steps:
Steps:
- Go to your Vercel Dashboard.
- Select the project you want to update.
- Click on the "Domains" tab.
- Add or remove domains using the interface.
- If adding a new custom domain:
- Enter the domain (e.g.,
www.yournewdomain.com)
- Follow the DNS instructions to verify ownership and configure DNS records (A/CNAME/TXT etc.)
- Once verified, traffic will route to your new domain.
📝 Note: You can also set a primary domain if you have multiple custom domains assigned.
✅ 2. Change the Project Name (Changes the .vercel.app Subdomain)
If you just want to change the auto-generated subdomain (my-old-name.vercel.app → my-new-name.vercel.app):
Steps:
- Go to your project in the Vercel Dashboard.
- Click the Settings icon (gear ⚙️).
- Under the General tab, find the Project Name section.
- Edit the name and save it.
✅ The new URL will now be: https://new-project-name.vercel.app
🔒 Changing the project name may affect existing deployments and integrations if they rely on the old name.
Bonus: CLI Option (via vercel.json)
You can also define custom domains or alias names via configuration:
json
{
"alias": "www.yourdomain.com"
}
Then deploy with:
bash
vercel --prod
Or assign an alias manually after deployment:
bash
vercel alias <deployment-url> www.yourdomain.com
Summary:
| Goal | How |
|---|
| Change custom domain | Use the Domains tab in the dashboard |
Rename .vercel.app URL | Edit project name in Settings |
| Alias via CLI | Use vercel alias command |
Let me know which one you're trying to do — I can give more specific steps!