DirectAdmin消息提示主机名不符

登入SSH使用以下命令绑定恢复:

sh hostname.sh xxx.com(主机名) 127.0.0.1(IP地址)

如果不知道hostname.sh在哪,可以用以下命令查找

当找到地址后,cd进去那个目录然后操作命令

find / -name "hostname.sh"

QQ截图20150515175420

文本操作命令

[root@mars ~]# find / -name "hostname.sh"
/usr/local/directadmin/scripts/hostname.sh
find: WARNING: Hard link count is wrong for /sys/devices/virtual/ppp: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
[root@mars ~]# cd /usr/local/directadmin/scripts
[root@mars scripts]# sh hostname.sh blog.liangjinjin.cn 127.0.0.1

阅读剩余
THE END