LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-28-2006, 02:56 PM   #1
jvanv8
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
Question Routing web traffic to different IP?


I am a newbie with 2 servers:
Server A: Lots of current webtraffic, Linux ES3, Plesk 8, running 4-6 domains or so.
Server B: Brand spanking new (actually not even purchased yet), but will be in a different location than server A.

I would like to perform some updates on Server A and was wondering if I could use server B to send incoming traffic while the updates occur. I may like to do this periodically in the future incase a problem or more updates arise.

Copying the files isn't bad because only a handful are needed. The main thing is that I don't know how to divert the traffic to server B. Or even how to set up Server B so that it will work just like server A.

How can I accomplish this?
Go easy, I know very little about Linux or IP stuff.
Thanks
John
 
Old 07-28-2006, 07:56 PM   #2
Thulemanden
Member
 
Registered: Sep 2003
Location: Copenhagen, Denmark
Distribution: PC-BSD, PCLOS, MeeGo, Win 7
Posts: 189

Rep: Reputation: 30
You would access the router settings and point it to the other PC's IP
 
Old 07-29-2006, 01:33 AM   #3
jvanv8
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Router? No idea how to do that... any hints? The server is a dedicated server with Hostway so I don't think I have access to a router... just the server itself I think.
 
Old 05-07-2009, 05:05 AM   #4
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
Quote:
Originally Posted by jvanv8 View Post
Router? No idea how to do that... any hints? The server is a dedicated server with Hostway so I don't think I have access to a router... just the server itself I think.
Then your server will have to be your router, enable IP forwarding and use the iptables DNAT and SNAT/MASQUERADE targets.

Why not just change the DNS entry to point to the other server?
 
  


Reply

Tags
routing, traffic


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
routing traffic from 2 machines on same network masand Linux - Networking 3 08-27-2005 10:34 PM
routing traffic out different eth#?? cjs500 Linux - Networking 3 07-11-2005 12:59 AM
Internal routing of traffic within LAN jme Linux - Networking 1 04-23-2005 02:29 PM
Routing traffic fuelinjection Linux - Networking 3 04-01-2005 05:51 PM
inbound traffic routing beowulfde Linux - Networking 2 02-20-2005 04:47 PM


All times are GMT -5. The time now is 06:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration