Namecheap + ddclient – 400错误的请求错误

我刚刚在namecheap上注册了一个域名,并希望通过ddns进行自我托pipe。 我有我的主机设置设置为:

@ 127.0.0.1 A (address) www http://domain.com HTTP Redirect 

所以很明显,我试图使一个www.domain.comredirect到domain.com,dynamicDNS更新后者。 所以我的ddclient.conf文件是:

 ## update time in 300 seconds daemon=300 ## you can open this file with any text editor to see what is being sent cache=/tmp/ddclient.cache pid=/var/run/ddclient.pid ## This line will get your public IP address if you're system is not directly connected ## to the internet, such as behind a firewall/router use=web, web=http://whatismyipaddress.com/, web-skip='Your IP address is' protocol=namecheap server=dynamicdns.park-your-domain.com ## Your Domain name login=foo.com password=bar @ 

我在网上脱掉了一个教程。 当我尝试连接到该网站时,www.domain.com请求会按照预期redirect,但redirect或直接domain.com请求会提供400错误请求错误。 nginx日志中没有任何东西,这是我第一次托pipe自己的服务器,所以我不知道从哪里开始debugging。

这几乎总是发生在Namecheap的默认DNS上,因为它们不会马上更新,当您在浏览器中input域名时会产生错位,DNS尝试parsingNamecheap首先指向的位置(自己的停放页面)系统已经指出了你想要去的地方…他们只是没有更新DNS(还)。

决议几乎总是有一杯咖啡,并稍后检查!