Been using UNIX since the late 80s; Linux since the mid-90s; virtualization since the early 2000s and spent the past few years working in the cloud space.
Location
Alexandria, VA, USA
Education
B.S. Psychology from Pennsylvania State University
This decision is based on the Host HTTP header the client must send,
Even on a server configured to serve up multiple sites bound to a single IP, whether a client needs to send the Host HTTP header depends on the HTTP server's configuration (and the content the client wishes to receive). If I have an HTTP daemon configured with a default site with named virtuals piled on top, I only need to specify the Host HTTP header in my request if I want content from one of the piled-on virtuals. Absent the Host HTTP header, the default-site's content will get served out.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Small quibble on the assertion:
Even on a server configured to serve up multiple sites bound to a single IP, whether a client needs to send the Host HTTP header depends on the HTTP server's configuration (and the content the client wishes to receive). If I have an HTTP daemon configured with a default site with named virtuals piled on top, I only need to specify the Host HTTP header in my request if I want content from one of the piled-on virtuals. Absent the Host HTTP header, the default-site's content will get served out.