Print Page | Close Window

creaing a site on IIS

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22371
Printed Date: 29 March 2026 at 3:37pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: creaing a site on IIS
Posted By: RCorr
Subject: creaing a site on IIS
Date Posted: 09 January 2007 at 9:22pm

Hello,

I am trying to create an internal web site for my company.  Our network administrator put on Microsoft SharePoint which is ok. As an alternative, I want to experiment creating a site from scratch and have use my own design instead of SharePoint.

I have access to IIS 6 and can see the SharePoint's IP address.  Using that as an example, I create another site and when it is ready for testing, I stop SharePoint's web site and run my new site (to avoid conflicting of the two sites having the same IP address.

However, when I go and view my site using the IP address, I get a white page with "Bad Request (Invalid Hostname)" and when I type in the host header value I assigned, I go out onto the www.

I browse the web for hosting multiple web sites on IIS, but having no joy after following the instructions on pages I found.

Any help would be appreciated.  Thanks in advance,

RCorr




Replies:
Posted By: WebWiz-Bruce
Date Posted: 10 January 2007 at 10:24am
Are you using Windows 2003 server or Small Business Server?

If so you can have multiple sites share the same IP address.

Create the second web site in IIS and give the Host value header in IIS, then use the DNS server to forward requests for that host header at the servers IP address, IIS will then do the rest as it will use the host header to find which site you want.

Another option is to give the second site the same host header as the first but give it another TCP Port number like 8080 (if not using a proxy on that port) then call the site as normal but place the new port number on the end. eg http://companyweb:8080


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: RCorr
Date Posted: 10 January 2007 at 4:41pm
Thanks -boRg- for your answer.  I tried the latter option and it works like a charm. 

I experimented a little with it to see what happens (working with ip addresses, DNS, etc...is not my area of expertise).  when I changed Host header value to something else than companyweb and have the port set to 8080.  It doesn't work.

The end result will ulimately be either sharepoint or a custom build intranet. But for now I can compare the two.  I have another question to ask, how can I automatically insert the ":8080" when determining which site I want to visit...hope that make sense.
 
Thanks


Posted By: dfrancis
Date Posted: 10 January 2007 at 4:52pm
I've been watching this thread too because SBS R2 and DNS handling is kicking my arse. I wish there was an easier way.
 
I'm also having trouble with file permissions.
 
Any and all advice would be greatly appreciated.


-------------
“If you want things to be different, you must be willing to do different things!” http://www.DavidFrancis.org/?wwf=signature" rel="nofollow - David Francis






Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net