How to setup Ubuntu 18.04.3 LTS, DJANGO, MySQL, NGINX stack hosting server?

Hello support, could you help me providing the related document to setup a hosting server on Digital Ocean Droplet? Here is the stack I need to run to host a dynamic and e-commerce website.

  1. Ubuntu 18.04.3 LTS
  3. MySQL
  4. NGINX
  5. Any other required software to get a hosting server up and running?

Does Digital Ocean provide a Control panel to install and setup the above applications in a simple way?


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello KDSys,

Thank you very much for your answer. I liked the first option but I do have a couple of more questions.

  1. If I use pre-built droplet for all the stack, each stack is permitted for upgrades in future and still compatible with each other though some of them could have updated releases?

  2. If I choose to use pre-built droplet, will I be able to move my dynamic and production site files to a different hosting server when I need to?

  3. Is the pre-built droplet completely compatible for production sites?


Hi @bengaltiger,

There isn’t a particular tutorial that features all of it however, there are 2 possibilities for you to configure this.

  • There is a Django on the go deployment droplet. This droplet automatically comes with the following

    Django version 1.11.11 Nginx version 1.14.0 Certbot version 0.23.0 Gunicorn version 19.7.1 PostgresSQL version 10 Postfix version 3.3.0

In this case, MySQL is Replaced by PostgresSQL however essentially it’s pretty much the same. I would recommend this option, as everything comes out of the box with one click.

  • If you however wish to configure your setup just the way you like it, you’ll need to follow 2 tutorials at least. The good thing is, there are available tutorials just for this at DigitalOcean.

    The articles are as follows: Install Nginx on Ubuntu - HERE Install MySQL on Ubuntu - HERE Install Django on Ubuntu - HERE

Regards, KDSys