Sunday, April 3, 2022

[SOLVED] Apache virtual hosting url redirect from one domain to other domain without showing the url in the browser

Issue

Apache virtual hosting url redirect from one domain to other domain without showing the url in the browser?


id='dv4'>

Solution

That's not redirect, that's called Reverse Proxy.

Example:

ProxyPass /url-path/ http://backend.example.com/url-path/

This will reverse proxy all requests to /url-path/whatever to the server backend specified

More information at:
http://httpd.apache.org/docs/2.4/mod/mod_proxy.html http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html



Answered By - ezra-s
Answer Checked By - Candace Johnson (WPSolving Volunteer)