LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-18-2009, 03:40 AM   #1
aliasmp
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Website


I have a router with a public ip( 202.X.X.X) and internally it is connected to 4 Linux servers(Centos) and many client systems. All the 4 servers has ip ranges 192.168.0.X.

My requirement is that all the linux servers should have different websites deployed on it.

eg) abc.com on server 1

acc.com on server 2

add.com on server 3

aff.com on server 4

Is it possible to nat the port 80 of all the linux servers to the single public ip? Is it possible to access these websites on internet?

Please help me to implement this?


Regards,

Alias
 
Old 01-18-2009, 04:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You would need to use a front end server to routing the data based on the domain name. You could use apache mod_proxy on one of these servers to route, or place one dedicated machine in front. If you did put it infront, a dedicated proxy, like nginx, would be a better bet probably.
 
  


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
viewing an externally hosted website from within a given website andrews-mark Linux - Server 6 10-07-2008 12:11 AM
Website bambeklis General 1 12-13-2005 04:20 AM
Im looking for a website xpression General 10 11-11-2005 04:46 AM
How-to website floppywhopper General 3 05-16-2005 09:40 PM

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

All times are GMT -5. The time now is 10:53 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