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 10-19-2009, 08:48 AM   #1
sagaciouskjb
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Rep: Reputation: 0
Two physical apache hosts served by one machine


Is there some way that I can use apache/iptables to serve both of my servers through the same basic domain? I'm not talking about VirtualHosts either, I don't believe ( despite the fact that's all I can find anything to read about on Google when searching
for this ).

Anyway, the problem is that I have a TorrentFlux php torrent-client that I run so I can add stuff to the download when I'm not around. I don't want to put this on my regular webpage server because there's just not enough diskspace in that machine. On the other hand, I don't want to replace that server all-together because the other machine is my desktop and would not make a reliable host.

So my idea was that there could be some way to have the apache2 server on my dedicated server redirect a subdirectory in its webroot to the webroot of my desktop's TorrentFlux server, but over standard HTTP ports so that it is more like the server is serving up the content of my desktop server through its HTTP service, instead of simply redirecting.

The reason I want to do this is because so far I have to use the TorrentFlux server on a nonstandard port so my dedicated server can still host its own things on port 80, but I've been running into several situations where the browsers I want to use do not support the nonstandard port such as with some instances of IE or the browser on my BlackBerry.


Anyway, I'm not looking for a step by step or anything ( though it couldn't hurt ) but I just need some ideas on what I could search for to get some better ideas. There's probably some term for what I want to do I'm not even aware of that would help me greatly.

Anyway, just some specifics...

Runnining Ubuntu 7.04 and apache 2.2.4 along with shorewall 4.0 as my routing/firewall software.
 
Old 10-19-2009, 09:06 AM   #2
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 39
Look at configuring a reverse proxy with mod_proxy

mod_alias *might* do it, but I don't think so.
 
  


Reply

Tags
apache



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
How hard to get MySQL data served from a separate physical drive? sneakyimp Linux - Software 2 09-18-2007 09:53 PM
blank pages served from apache mjenkins Linux - Server 0 11-15-2006 04:24 PM
Apache? Php? non-existent pages getting served... bulliver Linux - General 2 08-14-2006 07:48 PM
how to set descriptions for files served by Apache servnov Linux - Newbie 2 11-12-2004 07:35 AM
png images not served by apache ..??? gene_gEnie Linux - Software 2 05-10-2002 08:11 AM

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

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