Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th April 2006, 10:38
serutan serutan is offline
Junior Member
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Routing to multiple web servers on separate computers

I've been trying to figure out how to route web requests to several servers in my house (separate computers, not virtual roots). Say I have 3 computers mercury, venus and mars. I would like to present them to the outside world as mercury.mydomain.com, venus.mydomain.com, mars.mydomain.com. Two other things I have already done are:

1. Configure NAT on my router to use port numbers to point to different machines, as in www.mydomain.com:8001. I don't like this because it's confusing to ordinary users.

2. Route all port 80 requests to one machine, and in httpd.conf redirect to another machine by internal IP address. I don't like this because then the user sees a URL containing the internal IP address, so they cannot bookmark it.

The next thing on my list is to try setting up DNS, but based on the DNS docs I've skimmed it seems kind of complicated, and frankly I'm tired of dead ends. Is DNS the right direction, or is there some simpler answer that I have missed?
Reply With Quote
Sponsored Links
  #2  
Old 16th April 2006, 15:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

Basically you can forward one port just to one computer, so if you have three web servers on port 80, you can forward port 80 to just one of them. The solution would be to use different ports for each web server.
Another solution could be to use mod_proxy on one web server, as described in section 5 of this tutorial: http://www.howtoforge.com/configurin...um_performance
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig on multiple servers Piccent Installation/Configuration 4 26th March 2010 15:24
Multiple physical servers BommelFly Installation/Configuration 1 7th October 2005 14:34


All times are GMT +2. The time now is 02:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.