Django and Wordpress on WP one-click installation (Ubuntu)

Posted July 28, 2016 4.4k views
WordPressGetting StartedLAMP StackDjangoDigitalOcean 1-Click Apps Marketplace


I just installed WordPress using the one-click installation. I have the 10$/mo droplet, and I am planning to use it for

  • One WP site, which is a low traffic blog.
  • One Django site / Web app.
  • Perhaps to host OpenStreetmap for the Django

I am not very familiar with web technologies/being a server admin, and this is just my hobby. I would like to know what are the first steps to install Django after a one-click WP installation? Is it possible? Also, is it possible to have separate domain names for the WP and the Django sites on a single droplet?

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.

Submit an Answer
1 answer

Yes, this is indeed possible. You will need to use apache virtualhost to setup multiple websites. DO has a excellent tutorial available for it here:

And to serve django site using apache:

For django, instead of editing the 000-default.conf as shown on the tutorial, you would use the virtual host you created for the domain.

by Justin Ellingwood
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 14.04 VPS.