So, im not sure what exactly alias’s are in the context of domain names but from what i guess thats what i need, i might be wrong.
But basically i have 2 domains registered through my registrar (say godaddy), and lets say the 2 domain names are mainsite.com and alternatename.com.
Basically, i have installed virtualmin on my server, have nameservers setup for mainsite.com and created a virtualmin virtual server (thats what its called) for mainsite.com and its all working fine (website live).
All you have to do is go into Create Virtual Server, and choose an Alias server. That will setup your second domain to point to the same website as the first.
Hi,
So i select mainsite.com (virtual server), and click Create Virtual Server, then select Alias of mainsite.com, and then fill in the blanks?
I tried that. But now the resulting virtual server dosent have many options. Like mail aliases (forwarding), etc… I guess you cant really have db’s or users under such domain, but how would you go about doing mail forwarding?
Well, the idea is that since they’re aliases – everything you do to the main domain is also done to the alias.
So, most of the options are only going to be available to the primary domain – but options you set in that primary domain are generally also done to the alias. Email addresses you add to the primary are also added to the alias… and so on.
So, does this way do exactly what i need too? Without duplicating email forwarding? as in bob@alternatename.com can be redirected differently to bbo@mainsite.com?