Hosting Multiple Projects on a Single Domain

Is possible to host multiple pages projects under a single domain, where each project is accessible through a different path or subdirectory. For example, if your domain is test.com, and i have two separate projects, helloFolder and worldFolder, and i want to access them at test.com/helloFolder and test.com/worldFolder, respectively. i do not want to have one main folder and this two folders inside the main folder
3 Replies
Hello, I’m Allie!
Not by default. You can do as you said and deploy as a single project, or use a Worker to route between the different projects(though that incurs and extra request)
Gandalf The Red
Gandalf The RedOP7mo ago
i read about the worker, then came here hoping it was possible by default thanks for the answer
Vignesh Aithal
Vignesh Aithal4mo ago
I am building a website builder so, I am using Cloudflare Pages. How can I redirect custom domains of users to this site?
Want results from more Discord servers?
Add your server