LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-18-2009, 11:02 AM   #1
rtoney5
Member
 
Registered: Oct 2007
Location: FL, US
Distribution: Ubuntu MintLinux, ChromeOS, Parted Magic, PCOS OpenWorkstation, OpenSuse-11
Posts: 139

Rep: Reputation: 24
Question Accessing an Internal Webserver from my Public Webserver


Sorry for the confusing title, but here's what I want to do.
Ok let's say I have Apache Webservers on 2 different machines within my network, we'll call http://outterABC.com(this is the ServerA machine) and http://myinternalWebStuff.com(this is the ServerB machine).

I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.

But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available.

I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com

I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.

Again, i'm trying to just access the ServerB machine within the ServerA website address.
Thanks
 
Old 12-18-2009, 05:41 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
You will only be able to port forward to one server behind the firewall, unless you only ever want to access the B server from a small number of external hosts. If so, you could use forwarding rules that qualify against the client IP. Alternatively, you could forward other external IP port(s) to the B host. Ports 8000 and 8080 are somewhat of a convention for this. To access the B server from the internet, you would simply use a URL like 'http://myinternalWebStuff.com:8080'.
--- rod.
 
  


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
public webserver apache on CentOS 5.3 in Xen Enviroment strubbldesign Linux - Server 1 08-19-2009 08:08 AM
internal webserver Sern Linux - Networking 4 06-11-2005 12:26 PM
public Webserver help!! shane200_ Linux - Networking 1 06-07-2005 12:15 PM
Seeing webserver from internal network NetAX Linux - Networking 2 07-09-2004 10:03 AM
Steps to making public webserver (need advice) Gates1026 Linux - Networking 1 04-01-2004 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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