Trying to create alias with cli

Hi,

I am trying to create a server alias using the cli. The alias is only used for website alias, so I do not need any features whatsoever.

I am trying this:

virtualmin create-domain --template "Default Settings" --alias my.example.com --domain example.com

and I am getting the message: No virtual server features enabled

The strange thing is, if I create an alias like this via the GUI and uncheck all features it works.

What is the bare minimum way to create an alias on the command line.

Status: 
Active

Comments

Howdy -- if you're creating an alias for a website, you'd actually want to enable the Apache website feature. You can do that by passing in the "--web" option.

If you pass in the --web option, does that work properly for you?