Is there an equivalent to Apache's VirtualHost for IIS? We want to be able to run multiple websites from one IP and address them with different DNS names.
i.e. I have
www.dom1.com
www.dom2.com
www.dom3.com
that all point to 123.123.10.1
. Apache would just be running on port 80 and just use virtualhost to decide which site should be served.
Is this possible in Windows IIS6?
Thanks
Using Apache, an administrator can set up one server to host multiple domains or sites off of a single interface or IP by using a matching system. Each domain or individual site — known as a “virtual host” — that is configured using Apache will direct the visitor to a specific directory holding that site's information.
"Virtual hosting" means hosting multiple web-sites with different domain names on the same IP address.
Open IIS manager and browse to your site (or choose default site). Select your web site and right-click the mouse and select “Add Virtual Directory“. In this window set the alias name and physical path where your webpage is stored. Press the OK button so it will create a virtual directory.
In this article we will learn about Virtual Hosting or Virtual Directory using Apache. Introduction. Virtual hosting is a process for hosting multiple domain names on a single server. This is basically sharing the services of a single server for multiple companies or for multiple websites. Sometimes it's called Vhost.
You want to use Host Headers in IIS - that link will lead to a nice how-to page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With