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.

SOLVED The DNS address of the server cannot be found after installing cPanel

Discussion in 'Bind / DNS / Nameserver Issues' started by BeHost, Jul 5, 2017.

  1. BeHost

    BeHost Member

    Joined:
    Apr 30, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgium
    cPanel Access Level:
    Root Administrator
    Hi,

    I just installed cPanel on a VPS, installation went fine, but when I try to access the WHM Panel I get the following error (chrome): DNS_PROBE_FINISHED_NXDOMAIN

    I changed my hostname to s1.'mydomain'.com on my vps, do I need to do something where I registered the domain? I see some advanced DNS options but not really sure if I need to change them.

    HOST RECORDS
    DNSSEC
    MAIL SETTINGS
    PERSONAL DNS SERVER

    The error is: ERR_NAME_RESOLUTION_FAILED
    When I try to access WHM via the ip I get this error: ERR_CONNECTION_RESET
     
    #1 BeHost, Jul 5, 2017
    Last edited by a moderator: Jul 5, 2017
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    You should probably looked for a managed host if you are having this issue too be honest =X as many many more obstacles await.

    I would recommend registering your own private nameservers first, this is done at your registrar. Using your registrar's kb/docs find how to add private nameservers.

    Register both:

    ns1.domain.com
    ns2.domain.com

    to the IP of your server.

    Then in WHM, create a new account for domain.com

    Once created, go to "Edit a DNS Zone" and add 3 DNS (A) Records.

    server
    ns1
    ns2

    point them all to your server IP. Save.

    Then back at your registrar, change the nameservers to domain.com to point to

    ns1/ns2.domain.com

    You can also use those same nameservers for any other domains you want to point to your server.

    What is the URL in your address bar, you can hide the IP
     
  3. BeHost

    BeHost Member

    Joined:
    Apr 30, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgium
    cPanel Access Level:
    Root Administrator
    Thank you for your reply.

    I have successfully registered the private nameservers.
    I can not access WHM to create a new account, as the links in my browser aren't working, can this be done via the command line in centos 6?

    http://198.--.--.---:2087

    Also, what IP should I use for my custom DNS? The main ip adress or the 2 IP adresses in resolv.conf?
     
    #3 BeHost, Jul 5, 2017
    Last edited: Jul 5, 2017
  4. Yusa

    Yusa Registered

    Joined:
    Jul 6, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    indonesia
    cPanel Access Level:
    Root Administrator
    Used https:// rather than http:// to access WHM
    and if you are using mozilla, just add the exc option
     
  5. BeHost

    BeHost Member

    Joined:
    Apr 30, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgium
    cPanel Access Level:
    Root Administrator
    Yes I can access cPanel via IP and hostname now; created a hosting package but the domain gives a dns not found error.
    I added my DNS on the domain seller, do I need to use the main server IP or the IPS generated in cPanel?
    Also I need to install these PHP extensions
    • OpenSSL PHP Extension
    • PDO PHP Extension
    • Mbstring PHP Extension
    • Tokenizer PHP Extension
    • XML PHP Extension
    But I cant find them and I cant use PHP version selector in cPanel because it's not showing up.
     
  6. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Use your main server IP for both nameservers.

    If you want to PM me your domain I can check the DNS
     
  7. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    In WHM click "EasyApache 4" and then click Customize, click Next until you get to the section "PHP Extensions", you will then be able to select the needed extensions.

    It should be called "MultiPHP Manager", you might be used to CloudLinux's PHP Selector on a different server.
     
  8. BeHost

    BeHost Member

    Joined:
    Apr 30, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgium
    cPanel Access Level:
    Root Administrator
    Thank you very much for the replies. I got the domain working! :)
    I found almost all extensions but didnt find these: OpenSSL PHP & Tokenizer.
     
  9. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Install the package:

    php-common

    tokenizer is in there.

    OpenSSL is native so it will be already available.

    You can check with SSH:

    Code:
    php -i | grep OpenSSL
     
  10. BeHost

    BeHost Member

    Joined:
    Apr 30, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgium
    cPanel Access Level:
    Root Administrator
    Thank you for all the help sir, really appreciated.
     
  11. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    No problem!
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,296
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @BeHost,

    I'm happy to see the issue is now solved. Let us know if you have any additional questions.

    Thank you.
     
Loading...

Share This Page