Alias Server redirecting to parent domain

4 posts / 0 new
Last post
#1 Mon, 06/08/2009 - 05:20
fuerst

Alias Server redirecting to parent domain

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?

Mon, 06/08/2009 - 08:00
andreychek

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

Wed, 06/10/2009 - 05:33
fuerst

Thanks!

Had to change it in the "Default Settings" template which not only is default for Top-level servers but also for Alias Servers.

Mon, 02/03/2014 - 20:40
eddieb

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

Topic locked