[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Why my production URL is not my actual domain?

106 views · 1 like · 4 posts


Eligio Cristantielli (@eligiocristantielli) · 2024-11-02

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:
<projectname>-<hash>-<scope-slug>.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 <hash-code>.

The Domains set to production in the Domains tab are
<mydomain>.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


Swarnava Sengupta (@swarnava) · 2024-11-03 · ♥ 1

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.


Eligio Cristantielli (@eligiocristantielli) · 2024-11-08

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


Geo (@geovanie-ruiz) · 2024-12-15

It doesn't appear this was solved yet @eligiocristantielli so I wanted to update this topic with the solution: https://community.vercel.com/t/no-production-domain/3199/6

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