Configure Apache to redirect to domain:port
Category: General Server Setup
I've set up a CNAME to redirect to another domain but as we all know we cannot specify ports in the DNS editor.
I've read that its easy enough to configure the Apache web server with a reverse proxy to direct content from thatdomain.com:100 when someone requests 123.thisdomain.com
Does anyone have any experience in doing this? I would like to know how to do it on my VPS because I have many uses for getting this done.
Thanks for your time and help.
EDIT: This appears to be the solution, but I am a bit unsure on how to implement these settings: http://serverfault.com/questions/85078/how-to-forward-dns-alias-to-hostnameport
I've read that its easy enough to configure the Apache web server with a reverse proxy to direct content from thatdomain.com:100 when someone requests 123.thisdomain.com
Does anyone have any experience in doing this? I would like to know how to do it on my VPS because I have many uses for getting this done.
Thanks for your time and help.
EDIT: This appears to be the solution, but I am a bit unsure on how to implement these settings: http://serverfault.com/questions/85078/how-to-forward-dns-alias-to-hostnameport
OTHER ANSWERS
|
0
|
Hello wasted7, You can have sample.domainA.com redirect to domainB.com:100 with the simple redirect tool in the cpanel. If you were working towards anything more complex or specific please reply with those details so we can be of further assistance. Best Regards, Scott M |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |


