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

July 28, 2016 317 views
Django Getting Started WordPress One-Click Install Apps LAMP Stack


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?

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.
Have another answer? Share your knowledge.