|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
VeriSign Code Signing Digital Certificates provides assurance to end users. Read about this and more in the free white paper: “How to Digitally Sign Downloadable Code for Secure Content Transfer.” Learn More! |
|
#1
|
|||
|
|||
|
IIS virtual host
hello,
i have a default website on which i have set a path to the files and everything's fine. i want to create a virtual host. how would i go about it? thnx in advance, fmh002 |
|
#2
|
|||
|
|||
|
1. From 'Computer Management' right click on IIS, select new website
2. Right click on the newly created website and select properties 3. From the 'Web Site' tab click the Advanced button beside the IP Address. This table is where you set up which website will respond based on the Host header passed. I assume you know how to setup the rest, such as docroot etc. |
|
#3
|
|||
|
|||
|
hello
<b> 3. From the 'Web Site' tab click the Advanced button beside the IP Address. This table is where you set up which website will respond based on the Host header passed. </b> what is actually entered in the host header? is it the path of the virtual site's root folder? fmh002 |
|
#4
|
|||
|
|||
|
another question:
how would i access the virtual site? the default site is accessible at http://localhost or http://192.168.0.1 |
|
#5
|
|||
|
|||
|
Quote:
the host header is the 'name' ie. www.website1.com www.website2.com DNS will resolve both to the same ip but the browser sends an http host header, the webserver uses the host ex. website1 to determine what to serve up. by default one will be the default, that will be the site that is selected when you pass the ip. The other possiblity is to run the sites on different ports: ex 127.0.0.1:80, 127.0.0.1:81 could point to the different sites. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Windows Help > IIS virtual host |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|