A
A
Alexey24112020-04-27 21:11:01
Django
Alexey2411, 2020-04-27 21:11:01

How to deploy a website on a server?

I have a remote machine that is always on, I run a django site on it, but it only works when the terminal is running on my PC. How to make the site work constantly? Only I ask, without aggression

PS On a remote ubuntu machine

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2020-04-27
@Aleksey2411

screen/tmux/supervisor/etc.

V
Viktor Taran, 2020-04-27
@shambler81

you need to
1. open the port in the brandmauer 80 and 443
2. open the same ports on the router to the external
3. redirect these ports from the router to the computer inside the network, this is port forwarding, there in the router you specify which port to forward to which internal ip
these the ports will be taken away from the router and sent to the internal IP
4. you need to buy a white IP for 100 rubles per month from your provider
5. In the A entry, indicate this IP , that
's all;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question