Report this

What is the reason for this report?

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

Posted on July 28, 2016

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?



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!

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.