NEWBIE: Host two web pages two servers one public IP

NEWBIE: Host two web pages two servers one public IP

am 12.01.2006 14:32:22 von ryanbe15

Ok so here it goes:
My roommate and I are learning how to host webpages but we want to
learn on both Windows and Linux platforms. My roommate installed Linux
running Apachie to host his website and he does port forwarding on our
internal router of port 80 to the Linux server. His website works
fine. My problem is i want to host a web page on my server running
Windows Server 2003 with IIS 6.0. I know i can forward a different
port but i don't want to have to do www.nameofwebpage.com:81 or
somthing like that. I want to simply type www.nameofwebpage.com and
have it directed to my server 2003 box. My question is, is there a way
where i can forward port 80 to my Server 2003 box running IIS then
someway to redirect a request for his (my roommate's) webpage to his
Server running Linux? Or even better not even have to do port
forwarding....like is there somthing i can do in DNS to make this
happen. I'm open for any ideas.

Here's the layout of our network. We have a comcast modem with a
static IP assigned to it with a linksys wirless router acting as our
gateway with the 192.168.1.1 address on the inside. The linksys router
is giving out DHCP requests. On our Servers we have assigned them
static IP addresses. Linux is 192.168.1.200 and Server 2003 is
192.168.1.2003.

What's running on each box. My server 2003 box as Active Directory,
DNS, and IIS running and is part of a domain with my client Windows XP
Pro machine. The Linux box has just appache running and is not part of
my domain.

Thanks,

Ryan



--
ryanbe15
------------------------------------------------------------ ------------
Posted via http://www.webservertalk.com
------------------------------------------------------------ ------------
View this thread: http://www.webservertalk.com/message1352434.html

Re: NEWBIE: Host two web pages two servers one public IP

am 14.01.2006 08:23:58 von jeff.nospam

On Thu, 12 Jan 2006 07:32:22 -0600, ryanbe15
wrote:

>
> My question is, is there a way
>where i can forward port 80 to my Server 2003 box running IIS then
>someway to redirect a request for his (my roommate's) webpage to his
>Server running Linux? Or even better not even have to do port
>forwarding....like is there somthing i can do in DNS to make this
>happen. I'm open for any ideas.

You need a reverse proxy for this. IIS doesn't do this natively, but
Apache can. Reverse your boxes and you may get it to work (seee an
Apache group for help there).

Jeff

Re: NEWBIE: Host two web pages two servers one public IP

am 14.01.2006 13:54:42 von Steven Burn

Use host headers and DNS ...

http://simongibson.com/intranet/dns2003/
http://simongibson.com/intranet/iis6/

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"ryanbe15" wrote in message
news:ryanbe15.21lspj@mail.webservertalk.com...
>
> Ok so here it goes:
> My roommate and I are learning how to host webpages but we want to
> learn on both Windows and Linux platforms. My roommate installed Linux
> running Apachie to host his website and he does port forwarding on our
> internal router of port 80 to the Linux server. His website works
> fine. My problem is i want to host a web page on my server running
> Windows Server 2003 with IIS 6.0. I know i can forward a different
> port but i don't want to have to do www.nameofwebpage.com:81 or
> somthing like that. I want to simply type www.nameofwebpage.com and
> have it directed to my server 2003 box. My question is, is there a way
> where i can forward port 80 to my Server 2003 box running IIS then
> someway to redirect a request for his (my roommate's) webpage to his
> Server running Linux? Or even better not even have to do port
> forwarding....like is there somthing i can do in DNS to make this
> happen. I'm open for any ideas.
>
> Here's the layout of our network. We have a comcast modem with a
> static IP assigned to it with a linksys wirless router acting as our
> gateway with the 192.168.1.1 address on the inside. The linksys router
> is giving out DHCP requests. On our Servers we have assigned them
> static IP addresses. Linux is 192.168.1.200 and Server 2003 is
> 192.168.1.2003.
>
> What's running on each box. My server 2003 box as Active Directory,
> DNS, and IIS running and is part of a domain with my client Windows XP
> Pro machine. The Linux box has just appache running and is not part of
> my domain.
>
> Thanks,
>
> Ryan
>
>
>
> --
> ryanbe15
> ------------------------------------------------------------ ------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------ ------------
> View this thread: http://www.webservertalk.com/message1352434.html
>