Answer the question
In order to leave comments, you need to log in
How do they put a site with a backend on the Internet?
Good day!
The question is obviously stupid, but I'm still wondering how this happens.
On the Internet I find only lessons on how to lay out index.html with styles and scripts, but not a word about the backend.
How is the process going? Whether strongly differs from above mentioned in the presence of the server and ?
Answer the question
In order to leave comments, you need to log in
Usually they collect all dependencies locally, pack them into an archive, upload them to the server, deploy and execute scripts nearby.
Or containers.
index.html is served by the server.
For example, nginx The
layout of the site in this case consists of nginx + index.html
And a site with a dynamic backend, for example, in PHP, consists of
*.php files,
PHP itself
and, as a rule, nginx again stands in front of it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question