Forums

Multi tenancy

Hello,

I need to create a multi tenant application and I have more or less zeroed in on the same database/same schema option, for which I would need multi-sub domain support. So for e.g. if my website is something like www.mywebsite.com, I would want a different sub domain for each of my customers, such as cust1.mywebsite.com, cust2.mywebsite.com etc.

Does Python Anywhere support sub-domains? How may I achieve this?

Regards,

Chetan Arora

Just to be clear, my application runs on Python/Django.

We only support subdomains when they're configured as websites on the "Web" page as individual websites. You can have multiple websites running the same code, but each one has its own set of processes, so there's an incremental cost for each one. So you certainly could set something like that up, but if you have a large number of customers, it might not be cost-effective.