IIS Configuration
Does anyone know how to setup so that I can have http://www.domainname.com & help.domainname.com point to different "webs" on my computer. I am runnning win2k server, & cannot figure out how to do this.
Thanks,
Dan
Does anyone know how to setup so that I can have http://www.domainname.com & help.domainname.com point to different "webs" on my computer. I am runnning win2k server, & cannot figure out how to do this.
Thanks,
Dan
bhorstkotte posted this at 03:59 — 16th February 2001.
They have: 19 posts
Joined: Feb 2001
You do this by setting up "host headers" to identify each of the virtual domains that the IIS machine in question will serve - in the Internet Services Manager, first add a web site for each that you want to serve, then right click the site name, select Properties, Advanced..., Add..., and then specify in the host header name field the URL root that you want to associate with this site. Do this for however many sites you want to serve on this IIS server.
In your case, the host headers would be http://www.domainname.com & help.domainname.com.
Voila
StoreScanner.com - Local & online comparison shopping: audio, video, photo, appliances & more. Compare features, find rebates and coupons, link to manufacturers, find local & online stores.
danprice81 posted this at 14:59 — 16th February 2001.
They have: 3 posts
Joined: Feb 2001
Thanks that works but I have one slight problem. The main web's homepage takes priority over the new host header's if I type in help.domain.com, but if I type help.domain.com/index.htm it works perfectly. Any ideas on how to fix this?
(Thanks so much for your help so far).
-Dan
bhorstkotte posted this at 18:13 — 16th February 2001.
They have: 19 posts
Joined: Feb 2001
Your host headers would be:
www.domainname.com
help.domainname.com
On my last post, I forgot to uncheck "Automatically parse URLs", so the message board automagically added http:// to the front of the www one, which isn't what I intended - try it that way, and let me know if that doesn't fix it, and I'll scratch my head some more.
StoreScanner.com - Local & online comparison shopping: audio, video, photo, appliances & more. Compare features, find rebates and coupons, link to manufacturers, find local & online stores.
bhorstkotte posted this at 18:16 — 16th February 2001.
They have: 19 posts
Joined: Feb 2001
Stop the presses, thought of one more thing, which is that by default, IIS looks for default.asp & default.htm as the default web page is you just type in the virtual directory name (not index.htm). I'd suggest renaming your index.htm files to default.htm; alternatively, you can go to the Documents tab of the Properties dialog, and add index.htm as a default document to look for.
StoreScanner.com - Local & online comparison shopping: audio, video, photo, appliances & more. Compare features, find rebates and coupons, link to manufacturers, find local & online stores.
danprice81 posted this at 19:33 — 18th February 2001.
They have: 3 posts
Joined: Feb 2001
Thank you so much for your help. By switching the default index page to Default.htm it worked like a charm.
Thanks again for you help.
-Dan
bhorstkotte posted this at 20:21 — 18th February 2001.
They have: 19 posts
Joined: Feb 2001
Glad I could help
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.