I deploy directly to prod by running vercel --prod
. Every time I run it, it generates a new URL, while old URLs remain active. Why is that? Is there a way to just stick to one URL? And is safe to delete older deployments? I am not using custom domains right now.
Hi @jackguo709, welcome to the Vercel Community!
- Yes, Vercel generates a new unique URL for every deployment.
- Yes, old deployments remain active and you can access them using the specific deployment URLs (that’s why each one has a new unique URL).
- Your project has a constant production domain that you can manage from Settings > Domains. This is the domain that points to the latest production deployment.
. - Yes, you can delete previous deployments but there is no real benefit because your users should only know or access the production domain, which always points to the latest production deployment.
I hope this was helpful. Thanks for posting your question here.
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.