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
No one haha?
Most likely need to write a Worker to proxy requests to the right place
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
^ 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
Your right thanks 🙏
Makes sense appreciate it
I’ll stick with subdomains