Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Apache Alias/Redirect Help

tumbleweed and gunslinger
Posts: 192
  • Mark post as helpful
  • send pies
  • 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!
It's a tiny ad. At least, that's what she said.
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic