Domain [SOLVED]

Hi, what's the best way keep all these 3 things on the same domain: 1. Homepage on Webflow (example.com) 2. APP hosted on VPS (example.com/app) 3. API hosted on VPS (example.com/api)
5 Replies
Lunar
LunarOP9mo ago
No one haha?
Erisa
Erisa9mo ago
Most likely need to write a Worker to proxy requests to the right place
z0rrn
z0rrn9mo ago
I think it's easier to have the homepage on example.com, the APP on app.example.com or dash.example.com and the API on api.example.com
neu
neu9mo ago
^ that's what i often stick to there's that 100k/day free limit on workers and you may hit that with substantial traffic discord does something like this though: webflow is on static paths (e,g /, /blog), the react app on /app,/channels,etc, and the API on /api/* i think they're on the enterprise plan, which lets you customize origin ips
Lunar
LunarOP9mo ago
Your right thanks 🙏 Makes sense appreciate it I’ll stick with subdomains
Want results from more Discord servers?
Add your server