How to map a domain to a sub-path on another domain?
So in a nutshell…
Type URL: other-domain.com
Page loaded: primary-domain.com/some-path
URL remains: other-domain.com
Type URL: other-domain.com/more
Page loaded: primary-domain.com/some-path/more
URL remains: other-domain.com/more
Hope this makes sense - let me know if I can clarify better. Thanks in advance for any tips!
2 Replies
<virtualhost other-domain.com:80="">...
DocumentRoot /srv/www/primary-domain.com/public_html/some-path
...</virtualhost>