Initial cPanel Hostname Setup Questions


Oct 2, 2017
cPanel Access Level
Root Administrator
Hi, I am quite new to servers, therefore please excuse my stupid questions... Here is my situation:

I have recently purchased ECS from Alibaba Cloud and have installed WHM/CPanel onto my instance. The instance comes with 1 public and 1 private IP address. I wish to create 2 different wordpress websites, each with their own domain name. ex: & My 2 domain names are both registered with GoDaddy. I have modified the DNS of and pointed the A record to my instance's public IP.

Here are my questions:

1. In the initial WHM Setup, what should my server's hostname, IP address, IPv4 address and nameservers be?
2. How do I go about setting up the 2 websites on the same instance with WHM/CPanel?

Thank you very much in advance!


Staff member
Apr 11, 2011
Hi @tcac,

I recommend setting up your own name servers so that you don't have to manually configure the DNS records at your domain registrar. We provide a guide on how to do this at:

How to Set Up Nameservers in a cPanel Environment - cPanel Knowledge Base - cPanel Documentation

You can use the same public IP address (if you only have one) for both name servers, and as the "A" record for your server's hostname. Your server's hostname (if you only have the two domain names) should be something such as "server123.domain1.tld". Once this is setup, you can create separate cPanel accounts for each domain name using the following option in Web Host Manager:

Create a New Account - Version 66 Documentation - cPanel Documentation

Let us know if this helps.