I have developed a web application named “SANET” using django
, gunicorn
and nginx
for a customer named customerA
and gave them access using customerA.mydomain.com
.
Now a new customer customerB
has ordered a dedicated version.
Here is what I think I could do (I want them all on a particular server):
- make a copy from project and deploy it on
customerB.mydomain.com
like a compeletly different project - find a way to just change the project database config depending on which domain is requested
It would be appreciated if you can guide me to choose one of these options or offer me a better way.