If you are using apache
with mod_proxy
enabled, configuring a ReverseProxy
will do the job. This is an example of the directives to add in abc.com
domain's apache configuration:
ProxyPass / http://xyz.com/subfoder
ProxyPassReverse / http://xyz.com/subfolder
These will forward all requests to http://xyz.com/subfoder`
Also have a look to apache's documentation