Ip can be accessed after nginx installation, but domain name is not available.

refer to the tutorial: http://www.runoob.com/linux/n., such as the title.
locaohost cannot be accessed, but ping can be reached

searched, it is useless to open port 80

After

, modify the domain name and modify the / etc/host etc/hosts file. The domain name can be accessed by ping but still cannot access
. The result is the same for many times, and there is nothing you can do about it.
there is a solution willing to try, thank you.

Mar.13,2021

server_name localhost;

change the localhost here to your domain name


has the domain name been specified for DNS resolution

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e50014-43d34.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e50014-43d34.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?