Networking Forums

Networking Forums > Computer Networking > Windows Networking > Hosting multiple websites

Reply
Thread Tools Display Modes

Hosting multiple websites

 
 
Chris
Guest
Posts: n/a

 
      12-02-2005, 01:23 PM
Hello,

I have multiple websites on a single Windows2003 server:

that can be accessed from the outside world at:

site1.address.com
site2.address.com
site3.address.com

these three addresses have three unique IP address, however the server only
has the one (obviously)

currently i am using host headers to translate the address to the relevant
site, but some people in my company that are in deepest darkest middle east
need to use the IP address of the URL, and this obviosuly isnt working

How can i get around this?

regards

Chris
 
Reply With Quote
 
 
 
 
Neteng
Guest
Posts: n/a

 
      12-02-2005, 01:49 PM
you can't without getting more public IP's.

"Chris" <(E-Mail Removed)> wrote in message
news:EFC4263D-691E-40B8-8830-(E-Mail Removed)...
> Hello,
>
> I have multiple websites on a single Windows2003 server:
>
> that can be accessed from the outside world at:
>
> site1.address.com
> site2.address.com
> site3.address.com
>
> these three addresses have three unique IP address, however the server

only
> has the one (obviously)
>
> currently i am using host headers to translate the address to the relevant
> site, but some people in my company that are in deepest darkest middle

east
> need to use the IP address of the URL, and this obviosuly isnt working
>
> How can i get around this?
>
> regards
>
> Chris



 
Reply With Quote
 
Chris
Guest
Posts: n/a

 
      12-02-2005, 01:57 PM
err?

the three sites are already on their OWN public IP addresses..

how many public IPs does each site need?! (that was sarcasm)

"Neteng" wrote:

> you can't without getting more public IP's.
>
> "Chris" <(E-Mail Removed)> wrote in message
> news:EFC4263D-691E-40B8-8830-(E-Mail Removed)...
> > Hello,
> >
> > I have multiple websites on a single Windows2003 server:
> >
> > that can be accessed from the outside world at:
> >
> > site1.address.com
> > site2.address.com
> > site3.address.com
> >
> > these three addresses have three unique IP address, however the server

> only
> > has the one (obviously)
> >
> > currently i am using host headers to translate the address to the relevant
> > site, but some people in my company that are in deepest darkest middle

> east
> > need to use the IP address of the URL, and this obviosuly isnt working
> >
> > How can i get around this?
> >
> > regards
> >
> > Chris

>
>
>

 
Reply With Quote
 
Frankster
Guest
Posts: n/a

 
      12-02-2005, 03:26 PM
> site1.address.com
> site2.address.com
> site3.address.com
>
> these three addresses have three unique IP address, however the
> server only has the one (obviously)


What do you mean by the above? An "address" cannot be assigned an IP, only
a network interface can be assigned an IP. A server may be assigned any
number of IPs, so, I don't understand the "obviously" comment. Explain
please.

-Frank


 
Reply With Quote
 
Chris
Guest
Posts: n/a

 
      12-02-2005, 03:54 PM
These three addresses resolve to their own unique IP address. Just as
google.co.uk resolves to 72.14.207.99, the three addresses i have each
resolve to their own IP on the public internet.

However, they are all hosted on the same physical machine, therefore this
only has 1 IP address.. (a LAN ip)

as stated i am currently solving this with hostheaders, so that if a user
types in http://site1.address.com it gets routed to us, where the firwall
points it to the webserver, where the host headers sort out what is going on.

Now, it all goes wrong if someone tries to use these sites unique IPs.. due
to the server getting no host header info..

how can i resolve this?

thanks!!

"Frankster" wrote:

> > site1.address.com
> > site2.address.com
> > site3.address.com
> >
> > these three addresses have three unique IP address, however the
> > server only has the one (obviously)

>
> What do you mean by the above? An "address" cannot be assigned an IP, only
> a network interface can be assigned an IP. A server may be assigned any
> number of IPs, so, I don't understand the "obviously" comment. Explain
> please.
>
> -Frank
>
>
>

 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      12-02-2005, 05:09 PM
if i understand you right....this is what you need
in the server network cards ...the card that is public ip
add all 3 public ips too that card and set the dns records too each public
ip...
that should do it for you....

dave

"Chris" <(E-Mail Removed)> wrote in message
news:EFC4263D-691E-40B8-8830-(E-Mail Removed)...
> Hello,
>
> I have multiple websites on a single Windows2003 server:
>
> that can be accessed from the outside world at:
>
> site1.address.com
> site2.address.com
> site3.address.com
>
> these three addresses have three unique IP address, however the server

only
> has the one (obviously)
>
> currently i am using host headers to translate the address to the relevant
> site, but some people in my company that are in deepest darkest middle

east
> need to use the IP address of the URL, and this obviosuly isnt working
>
> How can i get around this?
>
> regards
>
> Chris



 
Reply With Quote
 
Chris Priede
Guest
Posts: n/a

 
      12-04-2005, 07:19 PM
Chris wrote:
> These three addresses resolve to their own unique IP address.
> However, they are all hosted on the same physical machine, therefore
> this only has 1 IP address.. (a LAN ip)


You have a NAT router/firewall in between, which listens on 3 public IPs on
the WAN side and forwards port 80 on each to the same private IP address on
the LAN or DMZ side. Do I have that right?

> the firwall points it to the webserver, where the host headers sort
> out what is going on. Now, it all goes wrong if someone tries to
> use these sites unique IPs.. due to the server getting no host
> header info..


You can do this one of two ways:

1) Assign the server additional private addresses. You can do this in
TCP/IP properties for the local area connection, Advanced button. Modify
your firewall port forwarding as follows:

1.2.3.4:80 (public IP #1) -> 192.168.1.4:80 (private IP #1)
1.2.3.5:80 (public IP #2) -> 192.168.1.5:80 (private IP #2)
1.2.3.6:80 (public IP #3) -> 192.168.1.6:80 (private IP #3)

Configure your IIS websites to listen on a different address each, no
specific host headers. Don't forget to modify your internal DNS if the
sites are accessed internally using private addressing.

2) The above is the preferred solution. However, if you have good reasons
to keep the server on single IP address, you can bind each site to a unique
port. In that case, your port forwarding would look like this:

1.2.3.4:80 (public IP #1) -> 192.168.1.4:8001 (site #1)
1.2.3.5:80 (public IP #2) -> 192.168.1.4:8002 (site #2)
1.2.3.6:80 (public IP #3) -> 192.168.1.4:8003 (site #3)

If the sites are accessed internally using the private address, then you
will want to create a second set on port 80 and using the host headers as
you have currently -- for internal user use only, so that they don't need to
use "site1.address.com:8001" in the URL.


--
Chris Priede


 
Reply With Quote
 
Mike Brearley
Guest
Posts: n/a

 
      01-31-2006, 02:16 PM
Is it possible to forward from the firewall to multiple ip's? So if someone
is coming in on the IP address that's associated to site1, forward to
internal IP1, site2 to internal IP2, site3 to internal IP3. Assign each of
the internal IP's to the web servers nic and on config of the site, set it
to use only the specific IP you want.

Hope this helps...

--
Mike

"Chris" <(E-Mail Removed)> wrote in message
news:6D21B72B-F6D3-4FC5-A8AF-(E-Mail Removed)...
> These three addresses resolve to their own unique IP address. Just as
> google.co.uk resolves to 72.14.207.99, the three addresses i have each
> resolve to their own IP on the public internet.
>
> However, they are all hosted on the same physical machine, therefore this
> only has 1 IP address.. (a LAN ip)
>
> as stated i am currently solving this with hostheaders, so that if a user
> types in http://site1.address.com it gets routed to us, where the firwall
> points it to the webserver, where the host headers sort out what is going
> on.
>
> Now, it all goes wrong if someone tries to use these sites unique IPs..
> due
> to the server getting no host header info..
>
> how can i resolve this?
>
> thanks!!
>
> "Frankster" wrote:
>
>> > site1.address.com
>> > site2.address.com
>> > site3.address.com
>> >
>> > these three addresses have three unique IP address, however the
>> > server only has the one (obviously)

>>
>> What do you mean by the above? An "address" cannot be assigned an IP,
>> only
>> a network interface can be assigned an IP. A server may be assigned any
>> number of IPs, so, I don't understand the "obviously" comment. Explain
>> please.
>>
>> -Frank
>>
>>
>>



 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      02-01-2006, 07:43 PM
Depends on the abilities (or lack there of) on the firewall device. They
are not all created equal,...and you have to always do things "their way".

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

"Mike Brearley" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is it possible to forward from the firewall to multiple ip's? So if

someone
> is coming in on the IP address that's associated to site1, forward to
> internal IP1, site2 to internal IP2, site3 to internal IP3. Assign each

of
> the internal IP's to the web servers nic and on config of the site, set it
> to use only the specific IP you want.
>
> Hope this helps...
>
> --
> Mike
>
> "Chris" <(E-Mail Removed)> wrote in message
> news:6D21B72B-F6D3-4FC5-A8AF-(E-Mail Removed)...
> > These three addresses resolve to their own unique IP address. Just as
> > google.co.uk resolves to 72.14.207.99, the three addresses i have each
> > resolve to their own IP on the public internet.
> >
> > However, they are all hosted on the same physical machine, therefore

this
> > only has 1 IP address.. (a LAN ip)
> >
> > as stated i am currently solving this with hostheaders, so that if a

user
> > types in http://site1.address.com it gets routed to us, where the

firwall
> > points it to the webserver, where the host headers sort out what is

going
> > on.
> >
> > Now, it all goes wrong if someone tries to use these sites unique IPs..
> > due
> > to the server getting no host header info..
> >
> > how can i resolve this?
> >
> > thanks!!
> >
> > "Frankster" wrote:
> >
> >> > site1.address.com
> >> > site2.address.com
> >> > site3.address.com
> >> >
> >> > these three addresses have three unique IP address, however the
> >> > server only has the one (obviously)
> >>
> >> What do you mean by the above? An "address" cannot be assigned an IP,
> >> only
> >> a network interface can be assigned an IP. A server may be assigned

any
> >> number of IPs, so, I don't understand the "obviously" comment. Explain
> >> please.
> >>
> >> -Frank
> >>
> >>
> >>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Websites on One computer through two NIC cards James Williams Windows Networking 6 10-02-2008 01:40 PM
AT&T Announces Hosting Agreement with SAP America; Named a PreferredSAP Hosting Provider kavitha.krishna.22@gmail.com Broadband 0 02-19-2008 09:31 AM
How to host multiple SSL websites using multiple network cards rou DPL Windows Networking 3 08-01-2007 05:32 PM
Multiple websites in NLB environment dwiebelhaus@gmail.com Windows Networking 3 11-09-2006 12:09 PM
Multiple NIC's - Multiple websites ? vikrantca Windows Networking 1 02-20-2006 06:20 PM



1 2 3 4 5 6 7 8 9 10 11