LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-28-2006, 05:41 PM   #1
mikesjays
Member
 
Registered: Dec 2005
Distribution: FC8, FC9, FC10
Posts: 30

Rep: Reputation: 16
Server Setup?


Is there a way to run 2 web servers behind a firewall. I know you can run vurtial on the same machine. I would like to have 2 web servers running on the same router but I don't know if there is a way to use the host name in the routing. Here is what I'm talking about

Server #1 : myserver.mydomain.com:80 - inturnal ip 192.168.1.2
Server #2 : yourserver.mydomain.com:80 - inturnal ip 192.168.1.3

Is there a way to tell the router where to send the incoming request?
 
Old 12-28-2006, 07:49 PM   #2
here2serve
Member
 
Registered: Sep 2005
Location: Hinesville
Distribution: Debian, Mandriva, Ubuntu, Fedora
Posts: 104

Rep: Reputation: 15
multiple servers behind nat

Your apache server upon install, if its set up as local host will respond to all requests. Once a domain name is asigned it will only respond to requests addressed to it.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS server setup and mail server rajivsalwan Linux - General 4 07-15-2006 01:24 AM
Best info to setup a ftp server behind the proxy server. bruse Linux - Networking 1 12-14-2005 04:13 PM
setup mailserver/web server/ftp server hariiyer Linux - Networking 1 11-27-2004 01:16 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration