Question

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

Hello,

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?

Subscribe
Share

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

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.

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: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

And to serve django site using apache: https://syscoding.com/tutorials/30/how-to-deploy-a-django-site-using-apache-and-mod_wsgi-on-ubuntu-1404/

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.