Question

Is it possible to host multiple django website with different domain on same plan.

Hi everyone. One of my django site is running on digitalocean with nginx and gunicorn and I want to deploy another website to the same droplet. How it is possible. Please suggest any tutorial.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello there,

Yes, you can host multiple domains on a single droplet. As already mentioned you just need to set up a new server block for the domain name.

We have a tutorial on How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 22.04 which you can check here as well:

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04#configure-nginx-to-proxy-pass-to-gunicorn

Hope that this helps!

Hello there,

Yes, you can host multiple domains on a single droplet. As already mentioned you just need to set up a new server block for the domain name.

We have a tutorial on How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 22.04 which you can check here as well:

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04#configure-nginx-to-proxy-pass-to-gunicorn

Hope that this helps!

Hello there,

Yes, you can host multiple domains on a single droplet. As already mentioned you just need to set up a new server block for the domain name.

We have a tutorial on How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 22.04 which you can check here as well:

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04#configure-nginx-to-proxy-pass-to-gunicorn

Hope that this helps!