LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 10-19-2009, 09:48 AM   #1
sagaciouskjb
LQ Newbie
 
Registered: Oct 2009
Posts: 1
Thanked: 0
Two physical apache hosts served by one machine


[Log in to get rid of this advertisement]
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.
linux sagaciouskjb is offline  
Tag This Post
Reply With Quote
Old 10-19-2009, 10:06 AM   #2
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian, Ubuntu, DSL
Posts: 248
Thanked: 14
Look at configuring a reverse proxy with mod_proxy

mod_alias *might* do it, but I don't think so.
linuxdebian Lordandmaker is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 05:14 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration