Report this

What is the reason for this report?

How to deploy django website in ubuntu 18.04 + plesk + apache

Posted on February 12, 2020

In my droplet is running several PHP websites, recently I tried to deploy a Django website that I build locally. But it’s doesn’t work properly.

I will explain the step that I did.

1, Pointed a Domain name to my droplet. 2, Added Domain name using Plesk Add Domain Option. 3, Uploaded the Django files to httpdocs by Plesk file manager. 4, Connected the server through ssh and type python manage.py runserver 0:8000 5, My Django Website is successfully running.

Here are the real issues occurs, We need to type exact port number to view the website every time. Eg:- **xyz.com:8000 **

As well as the Django webserver is down after sometimes.

I am newbie to Django all I have experience in deploying a PHP website. If my procedure is wrong please guide me to correct procedure.

Thanks in Advance.

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.