Hosting primary domain on an other virtual machine.
I am currently having 2 vps i would like to use to perform a special kind of domain setup.
Currently, i have a domain (let's say abc.com) hosted as a primary domain on a cPanel/WHM virtual machine.
I am web designer and i am having customers using this domain to reach their cPanel using SSL. I would like them to continue using this domain to access it (or at leat, be able to use the hostname wich is like : something.abc.com).
Since abc.com is my primary domain, in case if this vps crash, i would like to host this domain on the second vps, so they should be able to open a ticket even if the first vm is not working... The control panel i would like to use on this other vm is Kloxo.
Does someone should provide me with a step by step tutorial on how to do this? I think it should be usefull for other's too : having everything on the same virtual machine is not a very good solution, in case if a crash happen!
Please note i am having a wildcard SSL corresponding to the domain abc.com on the first virtual machine. i will need to install this one on the second virtual machine, so i will be able to use it on both of them. (i knwo that ssl are not attached to the ip, but to the domain, so this should work).
Here is how i think it should work :
1) i should create 2 other different dns at my registrar and configure them in Kloxo. i am currently having ns1.abc.com and ns2.abc.com pointing to my cpanel/whm vm, so i will create dns1.abc.com and dns2.abc.com and point those nameservers to the second vm.
2) terminate the account of abc.com on my first virtual machine and transfer the website to the Kloxo vm.
3) install the ssl on the second vm
4) create an A redirect of the new kloxo vm : abc.com/cpanel to redirect this url to my first vm hostname/cpanel
am i right?
Thanks in advance for your help! Here, i know i will be able to get an answer for this question