Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Hostname and nameservers

Discussion in 'Bind/DNS/Nameserver' started by damian-d, Apr 24, 2016.

  1. damian-d

    damian-d Member

    Apr 17, 2016
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello. Quick question.

    Server is setup and running. Now I want to tidy up.

    I've got two IP's and nameservers are setup as and

    For hostname I've just added but whenever I go to that I get that error message because its not https.

    So I was going to use Cloudflare to make this okay but as I'm using for nameservers I can't use that. So I was going to use for hostname.

    So my questions are:

    1. is there a connection between hostname and nameservers that I must keep?

    2. could I have as thehostname and is the hostname just used as the address for getting to WHM and then in email headers etc

    3. so if i can do it, can i just set up the account for and then go into changehostanme and just add before going to cloudflare to set up the certificate?

    i think i can do this - just looking for some expert advice / feedback / suggestion

  2. Ameya Barwe

    Ameya Barwe Well-Known Member

    Jan 1, 2016
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    There is no such connection between hostname and nameservers so you can update as the new hostname and install an SSL with difference services like cPanel/WHM/FTP/MAIL etc.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    There's no requirement to use the same domain name for your hostname and name servers. Here's some information from the "Change Hostname" interface in WHM:

    It is important to choose a hostname that you will not be using for any account. You should choose something that will be socially acceptable, as it will appear in all mail headers. Your hostname must be a FQDN. In English, a hostname should consist of a name and a domain name. All valid hostnames should have 2 dots in them. Hostnames should never begin with “www”. Hostnames should also not begin with a digit, nor end with a hyphen (“-”).

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice