Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - creaing a site on IIS
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

creaing a site on IIS

 Post Reply Post Reply
Author
RCorr View Drop Down
Groupie
Groupie


Joined: 21 January 2003
Status: Offline
Points: 126
Post Options Post Options   Thanks (0) Thanks(0)   Quote RCorr Quote  Post ReplyReply Direct Link To This Post Topic: creaing a site on IIS
    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

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
RCorr View Drop Down
Groupie
Groupie


Joined: 21 January 2003
Status: Offline
Points: 126
Post Options Post Options   Thanks (0) Thanks(0)   Quote RCorr Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post 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.


Edited by dfrancis - 10 January 2007 at 4:56pm
“If you want things to be different, you must be willing to do different things!”David Francis



Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.