This is more of a webserver configuration thing than configuration of django.
You can have multiple django instances running on the same server - just add the code in several directories - also with the virtualenvironments for each. Then you need to configure your webserver to point to the correct installations depending on the incoming address. For apache: https://www.metaltoad.com/blog/hosting-django-sites-apache For nginx: http://michal.karzynski.pl/blog/2013/10/29/serving-multiple-django-applications-with-nginx-gunicorn-supervisor/ These are examples that I was able to google within 5 minutes - You could start there and then expand on the configuration as needed. Even though the articles are a bit dated - I don't think there are severe differences on how to deploy django. Regards, Andréas 2018-07-16 15:18 GMT+02:00 mottaz hejaze <[email protected]>: > ryan do you have a guide for this .. i found one but its outdated i think > > On Mon, 16 Jul 2018, 14:53 Ryan Nowakowski, <[email protected]> wrote: > >> Yes >> >> On July 16, 2018 6:50:37 AM CDT, mottaz hejaze <[email protected]> >> wrote: >>> >>> >>> hello friends , >>> >>> is it possible to host multiple django websites on a single VPS ?? >>> >>> i mean real production websites all go live in the same time from the >>> same VPS like digitalocean VPS >>> >>> thx all >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/django-users. >> To view this discussion on the web visit https://groups.google.com/d/ >> msgid/django-users/2656591E-B7AE-410C-9008-8FC0C76B7DF3%40fattuba.com >> <https://groups.google.com/d/msgid/django-users/2656591E-B7AE-410C-9008-8FC0C76B7DF3%40fattuba.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/CAHV4E-e1vOkXNpi-kiFs%2B6Z2SGXfmzWNp137OYVsPB4dZmZ52 > Q%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAHV4E-e1vOkXNpi-kiFs%2B6Z2SGXfmzWNp137OYVsPB4dZmZ52Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCdvJPESQ8ZqjMWDV4_J9dzRWHdC36FuopxFRdzZTNJkjg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

