Answer the question
In order to leave comments, you need to log in
How to host a website on an empty DigitalOcean server?
Hello everyone
How to properly raise a website on an empty VPS? I bought a DO server, gave IP and SSH access. The server is running Ubuntu.
I have a folder with a simple one on the front and a python on the back.
How can I embed my folder on this server so that when I go to the IP, my site appears in the browser?
Now I launch the site just by clicking python app.py
.
Answer the question
In order to leave comments, you need to log in
Well, you have several problem points:
1) How to deliver the site to the hosting
2) How to run it there so that it is accessible from the outside
The correct answer to the first question is git. Push the sources to which bitbucket / github thread, pick up on a remote server.
It is more difficult to give a definite answer to the second question. You need some kind of web server thread. like apache, nginx. If you use a thread engine / framework - django for example - then google it - how to deploy a django site on a server. Otherwise - what is a thread like apache python website on google.
And I advise you to first practice on a virtual machine locally.
And what is a framework?
https://www.digitalocean.com/community/tutorials/h...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question