Skip to main content

Hostname not resolving?

Comments

7 comments

  • cPanelMichael
    Hello, Can you successfully ping or use the "host" command with the hostname from your workstation? Do you notice any output to /usr/local/apache/logs/error_log when attempting to open the hostname as a URL in a web browser? Thank you.
    0
  • webtipster
    Hi Michael, Thank you on your prompt reply. Ping returns: Ping request could not find host xxx.domainname.net. Please check the name and try again. URL: This site can"t be reached. xxx.domainname.net"s server DNS address could not be found. If I ping just the domain name (not hostname) I get successful reply and can access the URL through browser. Any ideas? Thanks in advance.
    0
  • webtipster
    Just a quick update forgot to check the host commands from the ssh: If I run host -t CNAME xxx.domainname.net I get Host xxx.domainname.net not found: 3(NXDomain) If I run host xxx, I get Host xxx not found: 3(NXDomain) Thank you.
    0
  • webtipster
    Ok went back in and fixed it. Deleted the DNS zone for domainname.net, logged in using server IP to WHM and re-created the DNS zone for domainname.net, double checked that hostname was correct, hostname IP was assigned, re-assigned it again, checked the correct A entries are there, cleaned DNS zones, synced DNS records, and voila back in in business.
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0
  • David Colter
    Deleted the DNS zone for domainname.net, logged in using server IP to WHM and re-created the DNS zone for domainname.net, double checked that hostname was correct, hostname IP was assigned, re-assigned it again, checked the correct A entries are there, cleaned DNS zones, synced DNS records, and voila back in in business.

    Thank you for posting the steps you took to solve this. They are, rewritten:
      ]
    • Deleted the DNS zone for domainname.net,
    • Logged in using server IP to WHM,
    • Re-created the DNS zone for domainname.net,
    • Double checked that hostname was correct, hostname IP was assigned,
    • Re-assigned it again,
    • Checked the correct A entries are there,
    • Cleaned DNS zones,
    • Synced DNS records, and
    • Voila back in in business
    Would you be able to expound on where or how steps 2 & 5-8 were accomplished?
    0
  • cPanelMichael
    Hello @David Colter,
    Logged in using server IP to WHM,

    This simply implies accessing Web Host Manager directly over the IP address. EX:
    https://$server-IP:2087
    [LIST]
  • Re-assigned it again, [LIST]
  • Checked the correct A entries are there, [LIST]
  • Cleaned DNS zones, [LIST]
  • Synced DNS records, and

  • DNS Zone modifications are possible via "WHM >> Edit DNS Zone". If you utilize a DNS cluster, you can force a synchronization of the changes via "WHM >> Synchronize DNS Records". Thank you.
    0

Please sign in to leave a comment.