Nome host non risolvendo A IP WHM / CPANEL
Domanda
Ho spostato la mia installazione WHM / CPANEL in un nuovo server. Dopo aver cambiato i IP dei nomi e poi dopo un po 'i domini iniziati a indicare il nuovo server.
Tuttavia il nome host non risolve a un indirizzo IP.
/scripts/ipcheck --verbose
IMPORTANT: Do not ignore this email.
Your hostname (xxx.example.com) could not be resolved to an
IP address. This means that /etc/hosts is not set up correctly,
and/or there is no dns entry for xxx.example.com. Please be
sure that the contents of /etc/hosts are configured correctly, and
also that there is a correct 'A' entry for the domain in the zone
file.
Some or all of these problems can be caused by /etc/resolv.conf
being setup incorrectly. Please check that file if you believe
everything else is correct.
You may be able to automatically correct this problem by using the
'Add an A entry for your hostname' option under 'Dns Functions' in
your Web Host Manager.
.
Ho corso:
nano /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
XXX.XXX.XXX.XXX xxx.example.com xxx
.
I Controllo anche:
nano /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
.
ANCHE:
nano /etc/nameserverips
XXX.XXX.XXX.XXX=ns1.example.com
XXX.XXX.XXX.XXX=ns2.example.com
.
Ho controllato il "Aggiungi una voce per il tuo nome host" in whm:
Hostname | Server Main IP
xxx.example.com | XXX.XXX.XXX.XXX
.
Ho controllato e ricostruito dnsconfig
/scripts/rebuildingdnsconfig
.
Non sono davvero sicuro di che altro controllare, ho riavviato il server. I domini che puntano ai server dei server funzionano bene. Il problema che sto avendo è Io Route tutte le configurazioni di accesso cPanel e SSL per le e-mail tramite https://xxx.example.com Perché questo ha il certificato SSL. Ho confrontato le impostazioni sul server più vecchio e sono uguali ad eccezione dell'indirizzo IP.
Centos 6.4 Whm 11.40.0 Build 19
Qualsiasi aiuto sarebbe apprezzato.
Soluzione
Risolto questo:
Vai a whm, "Aggiungi una voce per il tuo nome host" e invia nuovamente nuovamente.
Anche se è stato corretto, lo ha inviato di nuovo.Questa correzione è venuta dal supporto CPANEL.
Altri suggerimenti
Conosco il suo vecchio post, ma qui ci sono alcuni checkpoint in aggiunta a sopra se qualcuno potrebbe aver bisogno di aiuto in futuro con problemi simili:
1> Controllare il contenuto di
/etc/wwwacct.conf
.
2> Indagare sul tuo nome host e ns per risultati corretti
dig ns1.example.com
dig hostname.exmple.com
host ns1.example.com
host (HOST IP)
nslookup hostname.exmple.com
.
3) Assicurati di aver registrato il tuo hostName.example.com e NS1.example.com al tuo registratore del dominio e stanno puntando a destra IP.
4) Assicurarsi che nessun firewall stia bloccando la porta UDP:53
e altri porti essenziali.