Trying to create alias with cli


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 --domain

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.



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?