Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Apache Alias/Redirect Help

tumbleweed and gunslinger
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all!
Got a situation I can't seem to find a solution for...
I have two seperate web servers running on a single box, one on port 80 (my main Apache installation) and another (third party---Don't ask) on port 81, same machine.
Currently, members have to hit port 81 directly via the URL. ex:
What I'd like is to somehow have them hit Apache on port 80, ex:, and then internally, have Apache redirect requests (based on the virtual host name) to the other domain/IP, port 81.
So, in a nutshell: user types
and Apache redirects requests based on virtual host to
I've tried a simple redirect, but the address/URL changes in the users browser and displays the new port, which I don't want to do.
I've also tried various DNS/router settings and can't seem to get it right.
Any ideas are GREATLY appreciated!
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic