FAQ  
 

How can I create multiple Websites using one IP-Adress?

Created 2001-04-06.

Question:

How can I create multiple Websites using one IP-Address?

Answer:

To use one IP-Address with more than one Website, you have to specifiy the HTTP 1.1 Hostheader for each Website.  

The following sample explains, how to test this on your local machine:

  • Open the file hosts located under \winnt\system32\drivers\etc\
    Add two entries as showed in this sample:

    127.0.0.1 www.testdomain01.com
    127.0.0.1 www.testdomain02.com

  • Now create two new Websites using the Internet Service Manager.
    Add www.testdomain01.com as hostheader to the first new created Website and www.testdomain02.com to the second. Both Websites should use the same IP-Address (127.0.0.1).
  • Now you have created two Websites running on the same IP-Address. You can now start your browser to view the www.testdomain01.com and www.testdomain02.com.
WinSyslog
 Home
 Articles
 FAQ
 Windows XP
 Seminars Online
 Forums
 Books
 Links
 Newsletter Archive
 Web Server Check
 Contact Us
 Search
 

 



Printer Version Send this page to a friend

Copyright © 1988-2005 Adiscon GmbH All rights reserved.
Contact us via Secure Web Response | Privacy Policy
Topic Links: syslog