web apps on different URL path using pages
I want to host two different apps on different url paths on same domain , i am using cloudflare.
basically i have two next js web apps, one is a simple landing page and second one is a SAAS web app.
I want the users to be able to access both sites on same domain but different sub folder. For example my domain name is example.com
i want the landing page app to serve on example.com and my SAAS app on example.com/character
14 Replies
you could use Redirects: https://developers.cloudflare.com/pages/platform/redirects/
Redirects · Cloudflare Pages docs
To use redirects on Cloudflare Pages, declare your redirects in a plain text file called _redirects without a file extension, in the output folder of …
i dont want to redirect users, as i have multiple pages on my app. I want to host two apps on same domain but different folder/url path
@Asterisk
and you can't just put your app in a folder to be uploaded with your landing page
yes i cannot because i would want to deploy different apps on different url paths
maybe something like Proxyzilla could help
how to do that on cloudflare pages?
because i have my landing page app and my other website on cloudflare pages
Proxyzilla itself is a cloudflare app
can you share any blog or resource on how to achieve what you suggested?
if your domain's on cloudflare with the cf proxy it'll work, it hooks up to a Workers endpoint
the app works but the site doesn't seem to exist
ah I see
it changed it's name
Proxyflare | Proxyflare
Proxyflare is a reverse proxy for your Cloudflare domain
it's a cf pages plugin