I’ve seen similar posts on what may be the same issue and I am not sure if this is really something I can resolve with Virtualmin, or htaccess. I’ve tried both without success.
I need to forward a domain to a particular page on a different domains Wordpress page.
Here is the situation:
Domain-1 = Main domain
Domain-2 = Aliased domain via Virtualmin
Current behavior:
Entering domain-2 into the browser redirects to the root (Wordpress homepage) of domain-1.
@jimr1 - You were right the first time. There is a website redirects under the Server Configuration | Website Redirects but only for sub-domains. Website Redirects does not exist in the menu for Alias virtual servers.
It also in not under Services menu for Alias virtual server domains:
give up on Aliased Domain and instead create a brand new separate independent Virtualmin domain on the same server in the name of domain-2. Naturally you first need to delete the Aliased Domain before the system will allow you to create the second Virtualmin (virtual) server/domain on your Debian server.
then in the domain-2 environment, create a redirect to your desired target page in domain-1.