• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

IIS5 - Virtual Servers

reicherb

Platinum Member
I'm sure this is an easy one, but I can't seem to figure out where to setup virutal servers in IIS5. I'd like to host mrtg.myname.com and cpo.myname.com on the same server.

Thanks for the help.
 
If you create a virtual folder this will dowhat you want.
Basically you open the IIS manager, create a new web...say saigonk
then under the web properties make sure you assign it to all unassigned IP's.

voila you are done!
 
You're not quite done - be sure to put each website's URL in the host header field when you create the new website in IIS.

And if you have a separate IP address for each site you'll have to set each one to listen on it's IP address. Only have it listen on all if you are using host headers to host both sites on one IP.
 
what exactly do you mean workin'?

What would you put under custom header name and custom header value?

Is that what you're talking about?
 


<< What would you put under custom header name and custom header value?

Is that what you're talking about?
>>

No. Not custom header, host header. The host header is information sent with an HTTP request that contains the address the request is destined for and some other stuff. IIS can use the address in this header info to send the HTTP request to multiple virtual hosts on the same server IP address and port. So you can host hundreds of web sites using just one IP address.

In the IIS snap-in, if you look at the properties for your web site, on the web site tab, you'll see "Web Site Identification" and a description, IP address, TCP port, and an "Advanced" button. Click "Advanced" and then click "Add". Then choose the IP address to use for the site, the port to listen on, and then enter a host header name that is the same as the address of your site, for example, www.mysite.com. You can do this for each site you want to host on the same IP address. And now each name will be directed to the right virtual site.

I have 11 sites hosted on my server using 1 IP. 3 are on the internet and 8 are local only for development. The 3 internet sites have fully qualified domain names in the host header field, and the names are resolved using standard DNS. The local sites just have single-word host header names (like site1, etc.) and the names are resolved using a hosts file on each client on my LAN. It works really well.
 
Back
Top