我是整个服务器,Nginx和DigitalOcean主题的新手,我部署了我的网站,当有人尝试通过url打开网站时:“ antonwy.com”或“ http://antonwy.com ”,一切正常,但是如果您使用“ www.antonwy.com”,则该按钮不起作用...
我的Nginx配置:
server {
listen 80 default_server;
root /var/www/antonwy.com;
server_name www.antonwy.com antonwy.com;
index index.html index.htm;
location / {
}
}
提前致谢!
这是DNS输入问题。为www添加A或CNAME记录
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句