F
F
Faiq Alizade2018-07-07 13:33:55
HTTP headers
Faiq Alizade, 2018-07-07 13:33:55

What HTTP header allows you to host several sites with different domain names on one server?

Hello, can you tell me which part of the HTTP header is responsible for hosting several sites with different domain names?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2018-07-07
@BuriK666

https://ru.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D...

Host - Domain name and host port of the requested resource. Needed to support virtual hosting on servers.
Host: ru.wikipedia.org

D
Denis Melnikov, 2018-07-07
@Mi11er

I may not quite understand the question, but the web server is responsible for placing and returning pages, and set up different domains there ...
ps , as already mentioned, HOST
Request and its data can be seen in the browser, in the developer tools. It will be immediately clear.
5b40d430a09b5029145549.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question