• The term Virtual Host refers to the practice of maintaining more than one server on one machine, as differentiated by their apparent hostname.
  • For example, it is often desirable for companies sharing a web server to have their own domains, with web servers accessible as www.company1.com and www.company2.com, without requiring the user to know any extra path information.
  • Virtual hosting to serve many web sites using one IP address.
  • Add the below syntax on the httpd.conf to configure virtual host on your IHS webserver

# Listen for virtual host requests on all IP addresses NameVirtualHost *:80

<VirtualHost *:80>

DocumentRoot /www/example1

ServerName www.example1.com

# Other directives here