Information Gathering - Web Edition Contents
Previous Section
Once DNS has directed traffic to the correct server, the configuration of the web server becomes imperative in determining how the incoming requests should be handled. Typical Web Servers (e.g. Apache, Nginx, or IIS) are designed to host multiple websites or applications on a single server. This is performed through virtual hosting which allows for differentiation between domains, subdomains or separate websites with distinct content from each other.
VHosting or Virtual Hosting is the ability for a web server to distinguish websites or applications which are utilising the same IP Address. Each of these are differentiated by the HTTP Host Web Requests/Sections/HTTP Headers.md) request header, a key piece of information which is included in every HTTP/HTTPS request.
Virtual hosts can exist even without DNS entriesβas long as the client knows to set the
Host
header (e.g., via/etc/hosts
). This is why VHost enumeration tools likeffuf
,gobuster vhost
, orwfuzz
are useful even when DNS doesn't reveal subdomains.