Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django project on 80 port?

Ι have developed a Django project and uploaded it to a cloud VΜ. Currently i have access to it through 8080 port.

python manage.py runserver 0.0.0.0:8080

If i enter the url without the 8080 port, it shows the "it works" page. How can i set my Django project to run by default on 80 port?

I am using Ubuntu 12.04 server

like image 312
Dimitris Avatar asked Dec 07 '22 08:12

Dimitris


1 Answers

As docs say, runserver isn't meant as a deployment server. It also mentions that you probably can't start it on port 80 unless you run it as root.

like image 119
Silas Ray Avatar answered Dec 08 '22 22:12

Silas Ray