nikhildhoka
nikhildhoka5w ago

Backend URL Vercel

What would be the Backend URL for a Convex application deployed on Vercel?
11 Replies
Convex Bot
Convex Bot5w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
jamwt
jamwt5w ago
Using Convex with Vercel | Convex Developer Hub
Host your frontend on Vercel and your backend on Convex.
nikhildhoka
nikhildhokaOP4w ago
Yes, I have. The backend URL configured in my Convex deployment ends with .site, correct? Will this .site URL remain active indefinitely? Is Convex managing the deployment for it? I ask because I can still make requests to this URL even though my application is no longer running locally.
jamwt
jamwt4w ago
nope, you want the .cloud URL -- and it's going to be the one under the "production" deployment
jamwt
jamwt4w ago
here's where you find it
No description
jamwt
jamwt4w ago
in the dashboard
nikhildhoka
nikhildhokaOP4w ago
This is what I see
No description
jamwt
jamwt4w ago
that's HTTP actions URL, not the deployment URL swap the .site for .cloud and it's the same
nikhildhoka
nikhildhokaOP4w ago
yup, thats what I was looking for, thanks! Follow up, is there a way I can see the HTTP Actions in my dashboard? I only see the queries, and routes but not the actual http actions lastly, whenever I run npm run dev does it also update the production deployment in convex? Or is there a way to first test the changes in dev and then run a command to push it to prod?
jamwt
jamwt4w ago
dev only updates your dev deployment npx convex deploy pushes to production
nikhildhoka
nikhildhokaOP4w ago
Thanks!

Did you find this page helpful?