I have this situation:
- my own domain
example.comregistered at companyA.com - a cPanel/WHM hosting at companyB.com, where I have the website for
example.com. - a new VPS, provided by companyC.com
At companyA.com, I setup the Nameservers of example.com to point to ns1.companyB.com and ns2.companyB.com, and everything works.
Now I need to setup another website on the VPS, and make sub.example.com point to it.
This is my first VPS and I need some basic knowledge:
1) Do I need to change the hostname of the VPS? (currently vpsXXX.companyC.com)
2) Do I need to set the Nameservers on the VPS? To What? I don't want to run my own DNS.
3) At companyB.com I think I should insert an A record for sub.example.com pointing to the VPS IP, right?
The VPS has 1 IP Address, and runs CentOS 6 + CentOS Web Panel
Thank you very much