in reply to Re^4: Get data via HTTP on IP and specify virtual host
in thread Get data via HTTP on IP and specify virtual host
/etc/hosts (or DNS) does not come into play at all. Again, see RFC 2616 for how a webserver can determine which host ("website") was meant by the client.
As the original post mentions in the title "virtual host", I would assume that the web server already is configured to serve multiple websites under the same IP address (and port).
|
|---|