Virtualmin’s Alias Servers are usually just load the web content of the parent domain. That means every aliased domain is using a different name for the same content. AFAIK that’s considered bad by some search engines like Google.
I’m looking for a way to create an Alias Server which is redirecting to it’s parent domain: Is there any way to achieve this using Virtualmin without manually editing the Apache configuration?
Sure, if you go into System Settings -> Server Templates -> Apache Website, you can alter “Create alias websites by”, and change it to something like “Creating Redirect virtual host”.
At that point, you’d need to delete the Alias Server and re-create it.
Had to change it in the “Default Settings” template which not only is default for Top-level servers but also for Alias Servers.
I want a specific alias virtual host to use the “Creating permanent Redirect virtual host” method, but I want to keep the “Settings For Sub-Servers” template using the default template’s “Adding ServerAlias to parent” method.
In other words, is it possible to change an alias vhost site after creating it?