ホスト名はIP WHM / CPAnelに解決されません
質問
私は私のWHM / CPanelのインストールを新しいサーバーに移動しました。 Nameserver IPを変更した後、ドメインが新しいサーバーを指して起動した後に少しの後に。
しかしホスト名は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.
.
私は走った:
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
.
私もチェックします:
nano /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
.
また:
nano /etc/nameserverips
XXX.XXX.XXX.XXX=ns1.example.com
XXX.XXX.XXX.XXX=ns2.example.com
.
私はWHMの「ホスト名のAエントリを追加する」をチェックしました:
Hostname | Server Main IP
xxx.example.com | XXX.XXX.XXX.XXX
.
DNSCONFIG
をチェックして再構築しました/scripts/rebuildingdnsconfig
.
私は本当にチェックがわからないので、サーバーを再起動しました。ネームサーバーを指すドメインは正常に機能します。私が持っている問題は、 https://xxx.example.comを通じて、すべてのCpanelアクセスとSSL設定を電子メールでルーティングします。 A>これはSSL証明書を持っているからです。私はその設定を古いサーバーに比較し、IPアドレスを除いて同じです。
任意の助けが理解されるでしょう。
解決
これを解決しました:
WHMに移動し、「ホスト名のエントリを追加する」と再度送信してください。
それが再び働いている正しく送信されていたとしても。この修正はCpanelのサポートから来ました。
他のヒント
私はその古い投稿を知っていますが、ここでは、将来的に助けが必要な場合には、上記に加えていくつかのチェックポイントがあります。
1>
の内容を確認してください/etc/wwwacct.conf
.
2>適切な結果のためにホスト名&NSを調査する
dig ns1.example.com
dig hostname.exmple.com
host ns1.example.com
host (HOST IP)
nslookup hostname.exmple.com
.
3)あなたがあなたのドメインレジストラであなたのhostname.example.comとns1.example.comを登録していることを確認し、それらは正しいIPを指しています。
4)ファイアウォールがポートUDP:53
およびその他の不可欠なポートをブロックしていないことを確認してください。
所属していません StackOverflow