Adding ServerAlias from alias to parent doesn't work.

5 posts / 0 new
Last post
#1 Wed, 03/01/2017 - 07:14
superdorx's picture

Adding ServerAlias from alias to parent doesn't work.

I think maybe there's a bug somewhere. It seems it can't find the parent apache config and thus wont be able to add the server alias. What I've done manually is to for instance add ServerAlias It might be a bug with virtualmin. Here is the screen when accessing alias.

I think, given the special setup there, it can't find the parent somehow.

This is close to my problem:

My Server: Ubuntu 16.04

Tue, 09/26/2017 - 15:12

I have the same issue. Please investigate. It does not add the alias to the main server even if the option is set in Settings -> Server Templates -> Default -> Apache Website to Adding ServerAlias to parent

Distributor ID: Ubuntu

Description: Ubuntu 16.04.3 LTS

Release: 16.04

Codename: xenial

Tue, 09/26/2017 - 18:16
Joe's picture

I don't think I understand the problem.

Are you getting any errors when you create an Alias?

What configuration is actually created?


Check out the forum guidelines!

Wed, 09/27/2017 - 04:18

It's very simple.

I create an Alias Server for called with virtualmin.
I have set the settings in "Settings -> Server Templates -> Default -> Apache Website" to "Adding ServerAlias to parent".
It does not create the entry "ServerAlias" and "ServerAlias" in the "/etc/apache2/sites-available/". (this is the problem)
No "" is created in "/etc/apache2/sites-available" (as expected).

Is that clearer now?

Wed, 09/27/2017 - 20:40 (Reply to #4)
Joe's picture

Hmm...yes, it's clear now, but I don't know how to reproduce it. That's the default setting, and it works like it's supposed to for me when I test it on my systems.

I'll spin up an Ubuntu 16 box and see what happens.


Check out the forum guidelines!

Topic locked