Forums

Serving app from a subfolder, instead of subdomain

Right now I have my app hosted at app.example.com. I would like to host it at example.com/app/.

Currently, my app is "named" app.example.com in Python Anywhere and I have a CNAME record with

subdomain = "app.example.com" and Maps to = "webapp-###.pythonanywhere.com"

It seems this isn't possible via CNAME. Looks like vhosts is required. I've tinkered a little bit and haven't figured it out so far, so if anyone has tips please let me know!

Take a look at https://help.pythonanywhere.com/pages/NakedDomains/