Having some fun with migrating my full Hostgator site (CPanel backup) into Virtualmin.
The way Hostgator works is when you first setup your server there is one ‘main’ parent domain, so all the ‘Add-on’ domains are kind of child domains under the parent domain.
Problem is, I don’t want to switch the main domain until I’ve tested everything on my new server…and I suspect that the child sub-servers will not work until that main domain is switched over? As parentdomain.com won’t be pointed at the new server, so child.parentdomain.com won’t work…even though childdomain.com will be pointing there? (I could be wrong in this, waiting for the DNS to update)
Is there a way of extracting that ‘child’ domain and making it a full independent domain, ie. not a child of anything? Or do I need to set it up from scratch? I’d rather each site was independent rather than copy the strange way that Hostgator does things…
Or is there a better way of importing CPanel sites per domain?