Submitted by leon05 on Tue, 09/08/2015 - 06:46
I can't get this command work... Any tips ?
virtualmin create-domain --alias myalias.domain.com --domain example.com
Documentation explain a bit, but there isn't exemple : https://www.virtualmin.com/documentation/developer/cli/create_domain
thanks !!
Status:
Active
Comments
Submitted by andreychek on Tue, 09/08/2015 - 09:16 Comment #1
Howdy -- when running that command, when it doesn't work, it would return an error message at the top of all the output.
In this case, the error message would have been:
No virtual server features enabled
That means that Virtualmin doesn't know which features to use. What you could do is pass in the --web feature to enable the website for that alias.
It looks like you're using Virtualmin GPL there though, if you had any followup questions, and you're using Virtualmin GPL, you'd actually want to use the Forums for support. We monitor those, along with lots of wonderful folks in the community. Thanks!
Submitted by leon05 on Tue, 09/08/2015 - 14:13 Comment #2
THANKS !
Indeed this command works well :
virtualmin create-domain --alias myalias.domain.com --domain example.com --web
I will share it again on the forum.
Sorry for this Issue, this interface it's a bit confusing between Issue and forum... Now I've got it ;-)
Submitted by carlos00027 on Thu, 09/03/2020 - 13:15 Comment #3
creating a domain alias does not work
I am trying the following:
virtualmin create-domain --alias carlos4.midominio.com --domain midominio.com --web virtualmin create-domain --parent midominio.com --alias carlos4.midominio.com virtualmin create-domain --parent midominio --alias carlos4.midominio.com
Please try the following instead (reversed):