Why my production URL is not my actual domain?

Hi Everyone,
when I’m trying to deploy my app with Vercel CLI I launch the command vercel on terminal so i get a preview URL like this one:
--.vercel.app

then when i run the command vercel --prod I’m expecting the production URL would be my domain and instead i get the same preview URL but with a different .

The Domains set to production in the Domains tab are
.com and <mydomain.app.vercel>

Just wanted to add also that when I deploy to production with vercel --prod and i visit my website, the production is been applied to my entire app without any issue.

Is this behaviour normal or do I need to configure something?

Also I’m using a thirdparty domain pointed to vercel through A and CNAME DNS

thanks

Can you share the domain? when you run vercel --prod it should assign your custom domain as well as .vercel.app domain which is expected. Both of these domain should reflect the latest changes.

1 Like

My custom domain is frompuglia.com. If I run vercel it builds the preview and the I got the message run vercel --prod to deploy on frompuglia.com + 1. And it 's all good until here but then when i run the command the deployment URL doesn’t match my custom domain or the vercel.app

It doesn’t appear this was solved yet @eligiocristantielli so I wanted to update this topic with the solution: No Production Domain - #6 by geovanie-ruiz

I hope this helps to resolve the issue for you, too.