Oct 09, 2024 
Support Center » Knowledgebase » DNS2Go » Setup Guides » Setting up Virtual Hosts on IIS 5
 Setting up Virtual Hosts on IIS 5
Solution DNS2Go

Setting up Virtual Hosts on IIS 5

To setup IIS 5 on Windows 2000 Server:

NOTE: Only IIS 5 on Windows 2000 Server and Advanced Server have virtual host support. IIS on Windows 2000 Pro only supports one host.

  1. Open IIS management.
  2. Right click on your Windows domain and select New | Web Site. This will open the Web Site Creation Wizard. (If your sites are already configured skip to step 11)
  3. Type a description for your website and click Next.
  4. For the IP address leave this as default unless you need it bound to a specific IP address.
  5. Set the port to the port that you need the site to listen on. This should stay as 80 unless you need this to be changed.
  6. The Host Header option is how IIS knows which page to load. Here you will need to enter your domain name. If your domain name is mydomain.dns2go.com then enter mydomain.dns2go.com in this field. This will load this page if a request is made to http ://mydomain.dns2go.com. If a request is made to www .mydomain.dns2go.com it will not load this page. To make this happen you will need to add another host header file for www .mydomain.dns2go.com. Once the wizard is complete continue to step 11.
  7. Click Next.
  8. Select the path where the web pages will be located for this site. Click Next.
  9. On the Web Site Access Permissions screen, set the permissions users who make a HTTP connection to this site will have. You will want at least read and the rest will depend on what you have on the site. Click Next.
  10. The wizard is finished and the site should now load when a request is made to your domain.
  11. If your site has already been created and you need to change the site so that is loads only to a request for your domain or to add a host header, right click on the site and select Properties.
  12. On the Web Site tab click Advanced.
  13. Highlight the entry there already and click Edit or click Add to create a new host header.
  14. This will bring up a window with fields to edit the IP address, port and host header.
  15. Leave the IP address as the default unless you need to restrict the site to one IP address.
  16. Set the TCP Port to 80 unless you need the site to listen on a different port.
  17. Set the Host Header Name to be the name of the site you want to load. (See step 6)
  18. Click Ok to return to the Advanced Multiple Web Site Configuration window.
  19. Click Ok to return to the properties for that site.
  20. Click Apply and Ok to save the settings.
  21. The site should now be set up to load the pages for all of the host header names defined for that site.


Article Details
Article ID: 251
Created On: Aug 19, 2004 01:13 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | News | Downloads
Language: