• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 550
  • Last Modified:

SBS 2003 Web Server

I currently have 2 outside ip addresses to one nic on my sbs 2003 machine.  I want to run 2 different websites on the machine.  I am having trouble with the second one.  I try to start the website and I get a network location can not be reached message.  

0
hmcnasty
Asked:
hmcnasty
  • 5
  • 4
  • 3
  • +1
1 Solution
 
Sam PanwarSr. Server AdministratorCommented:
1. Change the port of the website.If you are run both website in the same ip You cannot get two website on the same ip with the same port in IIS
IIS>website>select website>properties>home>check the ip address and port
2. You can also use the All assigned instead of ip address but its shared with the computer ip
Properties on the first Web Site
Web Site Tab
Advanced button in Web Site Identification
Add, define the port (default 80) and give a host header name
Then do the same on the second site, on w/ a differnt host header name
3. Try adding a header to each website (Properties for the site, Website tab,click Advanced by the IP/Port settings) instead of changing the port. That
way one site would be http://site1 and one site would be http://site2instead of http://ip:port1 and http://ip:port2

By default IIS leaves this blank and you can't have two servers running on the same ip on the same port without different headers. I prefer headers to
changing ports because it limits port conflicts and I can never rememberwhat port I assigned to what website.

4.Also you need a DNS entry to point it.Administrator tool>DNS > enter in the forward zone

URL
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tins_manualWebIIS.html
http://www.startvbdotnet.com/aspsite/extras/deploy2.aspx
http://www.no-ip.com/support/guides/web_servers/virtual_hosting_iis.html
0
 
Sam PanwarSr. Server AdministratorCommented:
Smallbizserver.Net > SBS 2000 > Server Issues on SBS 2000 > How do I host a
website on SBS 2000 > How to configure DNS to host a site on the server:
http://www.smallbizserver.net/DesktopDefault.aspx?tabid=60

Smallbizserver.Net > SBS 2000 > Server Issues on SBS 2000 > How do I host a
website on SBS 2000 > How to configure IIS using host headers:
http://www.smallbizserver.net/DesktopDefault.aspx?tabid=61

Smallbizserver.Net > SBS 2000 > Server Issues on SBS 2000 > How do I host a
website on SBS 2000 > How to configure ISA Server Publishing Rules:
http://www.smallbizserver.net/DesktopDefault.aspx?tabid=62 
0
 
hmcnastyAuthor Commented:
I have 2 outside IP's and I would like to use 2 internal ip's for 2 different websites.  one is the machine Ip and it works fine but I can' tget the other to work right.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
dnojcdCommented:
have you changed the ip setting in the IIS manager vitual directory settings? try with another port other than 80 for the second  web site and see if its working
0
 
hmcnastyAuthor Commented:
I added the 2nd IP to the outside nic.  Then I added the a snd internal ip to the internal nic.  Then I added my website to IIS and selected the 2nd internal ip ad the ip address of the website. I'm sure I'm missing something.  Should I try a differnet port since it's the same machine?
0
 
Sam PanwarSr. Server AdministratorCommented:
Hi hmcnasty,

I think not required Ip assign to nic you can assign one ip ad NIc and other assign to website at IIS as i tell you.

ABS
MTECH,CCNA,RHCE
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
First of all, I hope you realize that running public web sites on an SBS will severly compromise the security of your network because the SBS is a doimain controller.

That being said, you don't need to configure anything for your internal NIC, just designate the external IP you want to use to the particular website in IIS manager (Instead of *ALL UNASSIGNED*)

Jeff
TechSoEasy
0
 
hmcnastyAuthor Commented:
Thanks Jeff,

I didn't know about the security issue.  How bad is it and is there anything I can do until I can get another web server?
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
You can run a web server on a Windows XP Professional machine (just by installing IIS 6.0 via add/remove programs > windows components).  Then you need to place that machine in a DMZ outside the perimeter of your LAN.

Info on security of this: http://www.microsoft.com/technet/technetmag/issues/2005/01/AnatomyofaHack/default.aspx

Jeff
TechSoEasy
0
 
hmcnastyAuthor Commented:
I tried to designate the external IP but I get an "the network location can not be reached error.
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
You would still have to add the additional External IP address to the External NIC configuration so that it shows two IP addresses.

Jeff
TechSoEasy
0
 
hmcnastyAuthor Commented:
yeah  i did that part and I get that error.  I read something on line about it http://www.issociate.de/board/goto/890743/Cannot_use__multiple_IP_addresses_in_IIS6_-_httpcfg_does_not_help.html.

Check this out...I trust you in this situation so I did'nt want to do anything until I had a chance talk to you .

Wes
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Well, trusting me in this situation may not be the best position to take.  :-)  In looking at that post, and thinking about how SBS is designed, I really don't think you can have two external IP addresses within IIS.  You don't need a separate IP address, though, to host more than one web site.  You just need to enter the host headers.  Alternatively you can host the site on a Windows XP Professional machine as well... after installing IIS.

But my recommendation still is that you do not host a site on any machine that is within your LAN.  It's a huge security risk and you can easily put a machine in a DMZ on the perimeter... which will be much less costly than repairing your entire network after it's been hacked.

Jeff
TechSoEasy
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 5
  • 4
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now