$ dig 域名 +short
是可以正确显示到我的域名和ip成功绑定的。
server {
listen 8080;
server_name www.excitedyue*.com;
location /static {
alias /home/alps/mysite/blog/static;
}
location / {
uwsgi_pass 127.0.0.1:8001;
include /etc/nginx/uwsgi_params;
}
}
$ cat /etc/resolv.conf
nameserver 223.5.5.5
nameserver 223.6.6.6
ringa_lee2017-04-17 15:55:48
Your host cannot ping, make sure your domain name and IP are bound correctly.
ringa_lee2017-04-17 15:55:48
Brother, how much does it cost to buy this Alibaba Cloud for a year?
高洛峰2017-04-17 15:55:48
Any questions?
If the domain name is not registered, please register it as soon as possible. If it has been filed, post an error message or screenshot.
PHP中文网2017-04-17 15:55:48
What are you doing? I remember the listen value when I was binding: 80. I followed the tutorial given by Ali to make a personal blog, but it didn’t mention binding the domain name. In the end, it took me a while to do it, just two steps:
1. To resolve the domain name to the server, you need to set up the resolution.
2. To bind the domain name to the server, you need to modify the nginx configuration file.
I think you are at this step. Is it the problem here?