Configure apache for WorePress multisite (subdirectory-mode) using custom domain for subpage

1 post / 0 new
#1 Tue, 11/19/2019 - 11:54
soumas

Configure apache for WorePress multisite (subdirectory-mode) using custom domain for subpage

Hello! I have installed a Multisite-WordPress in "subdirectory-mode" (not subdomain) on a virtual host. The main page and all subpages work fine using the default urls like: * http://my-multisite.com * http://my-multisite.com/subpage1 * http://my-multisite.com/subpage2

But now I want to provide one of the subpages within the context of a specific domain (let's say "http://the-subpage.com").

I know how to configure WordPress for this scenario, but I cannot get virtualmin/apache to forward (not redirect) request from http://the-subpage.com to http://my-multisite.com so that WordPress knows that the original request comes from http://the-subpage.com (this is important for WordPress-internal redirect to the right subpage).

I've tried Domain alias, Proxy Website, Website redirects, ... but all without success. I would be very pleased to get some practical hints from you to reach my goal!

kind regards, Thomas