LinuxQuestions.org
Visit Jeremy's Blog.
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 10-07-2003, 12:27 PM   #1
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Question Multiple Servers behind NAT router


Hi,

I want to run a development server on my ersonal machine, I want it to be accessable from the internet but running on my work machine as opposed to my main server. I was wondering as to how I would go about doing this as I have a NAT ADSL router which at this present time just forwards all port 80 requests to the appropriate server address. How would I send devel.domain.com to my personal machine as opposed to the main server machine?

Both machines are Red Hat 8. Webserver is running Apache 2.0.40

TIA
 
Old 10-07-2003, 01:10 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You could just run it on another port eg 8080. You can also redirect request sfrom the main apaceh server (amy downgrade that servers performance so not reccomended). If you only want it to appear as domain.com without a port numebr you caould use a masking feature like the one zoneedit offers.
 
Old 10-07-2003, 01:16 PM   #3
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
how do i redirect requests... the server is not of high traffic

I may consider zoneedit solution...
 
Old 10-07-2003, 01:58 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Take a look at mod_proxy:
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html
 
Old 10-07-2003, 02:22 PM   #5
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
hmm... looks like the zoneedit solution would be a good idea. Can you direct me in the right direction for that? i cant see how you do it... :s
 
Old 10-08-2003, 12:38 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Just follow the same directions as in this FAQ:
http://www.zoneedit.com/doc/faq.html#faq21
 
Old 10-08-2003, 01:18 PM   #7
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
cool, thank u
 
  


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
Multiple servers acasaamj Linux - General 1 06-10-2005 12:09 AM
LVS-NAT for DNS servers freelinuxcpp Linux - Networking 0 07-31-2004 04:52 AM
nat, multiple NICs the_y_man Linux - Networking 7 03-14-2004 11:34 AM
Multiple X servers Stephanie Linux - General 2 02-27-2003 02:32 PM
multiple x servers?? icyfire Linux - Software 2 11-12-2002 01:42 AM

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

All times are GMT -5. The time now is 01:11 PM.

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