02.VIRTUAL HOSTS FUZZING
VHosts are configurations within a web server that allow multiple websites or applications to be hosted on a single server. it can contain TLDs or subdomains. The key difference between VHosts and sub-domains is that a VHost is basically a 'sub-domain' served on the same server and has the same IP, such that a single IP could be serving two or more different websites.
EXAMPLE VHOSTS: APACHE
# Example of name-based virtual host configuration in Apache
# apacheconf
<VirtualHost *:80>
ServerName www.example1.com
DocumentRoot /var/www/example1
</VirtualHost>
<VirtualHost *:80>
ServerName www.example2.org
DocumentRoot /var/www/example2
</VirtualHost>
<VirtualHost *:80>
ServerName www.another-example.net
DocumentRoot /var/www/another-example
</VirtualHost>
Last updated