I am a newbie who just got himself a VPS and is feeling rather confused, perhaps some kind souls with more experience can point me in the right direction.
My VPS runs CentOS with WHM 11.30. I have a client whose website I need to redesign and then transfer over to my VPS from a different hosting provider. I'll call his domain hisdomain.com.
I created an account through WHM and called it hisdomain.com, of course the Name Servers don't currently point to it. So when I went to install Magento through CPanel and Softaculous on his account, it installed fine but I had no way of accessing the installation and working on it, because of the domain not resolving. Softaculous wanted me to administer Magento at URL hisdomain.com/admin but of course that didn't work.
There was probably a way (using my VPS's IP address) but I couldn't find it so I gave up and installed Magento in a subdirectory of my own domain. So Magento is now in mydomain.com/hisdomain.
My question now is: when it comes to changing the Name Servers at his registrar to point to my development site, will I need to migrate or copy the whole Magento installation to the root/home/hisdomain folder created by WHM - which I would rather not do - or is there a way to "map" the account to the subdirectory I've been working on, so that as soon as the domain resolves to my VPS, browsers pointing to hisdomain.com will see the Magento installation in mydomain.com/hisdomain?
I don't understand much about DNS settings and MX entries so I don't know if this can be done.
Basically, where in the VPS is the record that points hisdomain.com to the folder root/home/hisdomain and how do I edit that to point to mydomain.com/hisdomain instead?
I hope I am making sense and not sounding like a total idiot, apologies if I am.
Thanks!!
My VPS runs CentOS with WHM 11.30. I have a client whose website I need to redesign and then transfer over to my VPS from a different hosting provider. I'll call his domain hisdomain.com.
I created an account through WHM and called it hisdomain.com, of course the Name Servers don't currently point to it. So when I went to install Magento through CPanel and Softaculous on his account, it installed fine but I had no way of accessing the installation and working on it, because of the domain not resolving. Softaculous wanted me to administer Magento at URL hisdomain.com/admin but of course that didn't work.
There was probably a way (using my VPS's IP address) but I couldn't find it so I gave up and installed Magento in a subdirectory of my own domain. So Magento is now in mydomain.com/hisdomain.
My question now is: when it comes to changing the Name Servers at his registrar to point to my development site, will I need to migrate or copy the whole Magento installation to the root/home/hisdomain folder created by WHM - which I would rather not do - or is there a way to "map" the account to the subdirectory I've been working on, so that as soon as the domain resolves to my VPS, browsers pointing to hisdomain.com will see the Magento installation in mydomain.com/hisdomain?
I don't understand much about DNS settings and MX entries so I don't know if this can be done.
Basically, where in the VPS is the record that points hisdomain.com to the folder root/home/hisdomain and how do I edit that to point to mydomain.com/hisdomain instead?
I hope I am making sense and not sounding like a total idiot, apologies if I am.
Thanks!!