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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Initial cPanel Hostname Setup Questions

Discussion in 'Bind / DNS / Nameserver Issues' started by tcac, Oct 2, 2017.

Tags:
  1. tcac

    tcac Registered

    Joined:
    Oct 2, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    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: website1.com & website2.com. My 2 domain names are both registered with GoDaddy. I have modified the DNS of website1.com 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!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.

    Thanks!
     
Loading...

Share This Page