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

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

I don’t think I understand the problem.

Are you getting any errors when you create an Alias?

What configuration is actually created?

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?

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.