G
G
Gimir2019-07-30 19:26:39
Network administration
Gimir, 2019-07-30 19:26:39

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

2 answer(s)
O
OnYourLips, 2019-07-30
@OnYourLips

Usually they collect all dependencies locally, pack them into an archive, upload them to the server, deploy and execute scripts nearby.
Or containers.

T
tutuborg, 2019-07-30
@tutuborg

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 question

Ask a Question

731 491 924 answers to any question