How do I simplify my URLs with Apache (or DNS)?
Posted
by user45015
on Server Fault
See other posts from Server Fault
or by user45015
Published on 2010-06-05T16:54:17Z
Indexed on
2010/06/05
17:02 UTC
Read the original article
Hit count: 136
I'm running Apache 2.2 with WHM / cPanel. Let me know what other info you need to answer this question.
I want to set up some kind of forwarding/redirect so that the following occurs:
_http://appname.mydomain.com/ (ignore the underscore, couldn't post actual links)
actually sends you to
_http://mydomain.com:8072/appname/
This can be overt (your browser address bar changes) or not, it doesn't really matter (although if I get to pick I would prefer the address bar NOT change).
My initial thought was to use a CNAME, but I've since learned you can't include a port in your cname. Now I'm thinking I have to do something with my Apache VHOST?
I am very much a novice at apache / web server internal workings, but I know my way around a command line well enough.
© Server Fault or respective owner