One site - two domains

Hallo. I am currently starting to accustom myself to the way Virutalmin works and I got a problem today.

I would like to create an account with the address sub.domain.com
and then add a domain to the same account (mydomain2.com) so the site can be reachable from both addresses.

How can I accomplish this task?

Regards, Rebrain.

what i do in such cases, creating a sub server before creating the main domain

rename the sub.domain.com to mydomain2.com
make an alias called sub.domain.com

the other way around will work to.
select the sub.domain.com and create an alias called mydomain2.com

in any which way you’ll most likely want to create an alias

thank you. i created an Alias server for the sub.domain.com
I hope it works.

Why wouldn’t it work? That’s how you’re supposed to create alias domains in Virtualmin. Nothing mysterious about it. :wink: