These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Alias Server redirecting to parent domain on the new forum.
Hi all,
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. -Eric
Thanks!
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?
Thanks