Domain / Hostname / Subdomain confusion.....


Feb 3, 2014
cPanel Access Level
Root Administrator
Dear Forum,

I am new to cPanel and WHM and struggling with the host/domain settings in both WHM and cPanel, background is as follows:

I have a rootserver and two different domains, lets say and
Under public_html I have created two subdirectories which include the website data for these two domains, the subdirectories are named /domain1 and /domain2

I understood, that by creating a new addon-domain in cPanel I can point a domain to the directories mentioned above.

My questions are as follows:

1) In the scenario given above, what host & domain names could (for example) be used for WHM and the cPanel account itself, given the fact, A) that both domains should be used as addon-domains as described above, and B) that I do not have more domain names registered, so I do not have an additional domain name available for WHM itself.

2) How to create email accounts like [email protected] and [email protected], when I used as domain for the cPanel (Reseller) account?

Thank you in advance for your kind support.

Best regards


Staff member
Apr 11, 2011
Hello :)

1. The hostname of your server can be associated with either of these domain names, however do not add the hostname as a subdomain or addon domain name. Setup the hostname via "Change Hostname" in WHM with something like "".

2. You can create email accounts using the "Email Accounts" option in cPanel after adding the domain names as addon domain names to the account.

Thank you.