Skip to main content

Can't Access My Hostname

Comments

3 comments

  • kernow
    Check your DNS records in WHM, is there an entry for your hostname? From the command line run
    hostname
    Does it show your hostname? From a remote computer run
    dig 123.45.67.89
    ( your servers IP address ) Does it return your hostname?
    0
  • Budi Haryono
    Hi Kernow, thanks for reply, I did it:
    Check your DNS records in WHM, is there an entry for your hostname? From the command line run
    hostname
    Does it show your hostname? From a remote computer run
    dig 123.45.67.89
    ( your servers IP address ) Does it return your hostname?

    Result for the first command it showing my host name Result for the second command:
    [root@host ~]# dig 5.xxx.xxx.xxx ; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.1 <<>> 5.xxx.xxx.xxx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35588 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;5.xxx.xxx.xxx. IN A ;; AUTHORITY SECTION: . 156 IN SOA a.root-servers.net. nstld.verisi gn-grs.com. 2017122301 1800 900 604800 86400 ;; Query time: 11 msec ;; SERVER: 213.136.95.11#53(213.136.95.11) ;; WHEN: Sun Dec 24 01:18:45 CET 2017 ;; MSG SIZE rcvd: 117
    is that correct? thanks
    0
  • cPanelMichael
    Hello, Is the parent domain name that's associated with your server's hostname configured to use the cPanel server's name servers at the domain registrar? If not, you can follow the guide documented at the URL below to setup name servers: How to Set Up Nameservers in a cPanel Environment - cPanel Knowledge Base - cPanel Documentation Then, assign those name servers to the parent domain name at it's domain registrar, and the "A" record you setup for the hostname on the cPanel server should work as expected. Thank you.
    0

Please sign in to leave a comment.