I have a managed VPS, running CentOS/cPanel/WHM, with one domain currently running (let's call it
testsite.com) on a pair of IPs. I got a second IP pair from my host, and a new domain name, call it
realsite.com. I want to use cPanel/WHM to configure my VPS to run both domains (on separate IPs). I'm also using nginx, not Apache, but I don't expect a problem configuring it. :)
One issue - looking at HostGator's cPanel documentation, the only options I can find, are for creating an add-on domain (or parked domain/subdomain). However, it describes add-on domains as really being sub-domains. So if I followed those instructions, I'd actually have
realsite.com.testsite.com, which would be presented to the world as two sites, but isn't really two separate domains on separate IPs.
- My main question is - how do I use cPanel/WHM to configure two separate domain names/IPs?
Some secondary questions: Is it possible to do this in cPanel/WHM? If not, and I try to configure the second domain by hand, will it conflict with cPanel/WHM in any way?
I have found several somewhat-related questions, but they are generally not what I'm looking for (example, how not to use cPanel).