Last update at :2024-07-11,Edit by888u
Snail encountered this problem before in \\"Solution\\\'s Encrypt\\" DNS problem: NXDOMAIN looking up A..\\"Configuration problem\\", when deploying SSL to this netizen , keeps prompting this error message. Through the PING test on the Linux VPS machine, we can see that the domain name without WWW returns 127.0.0.1, but the domain name with WWW is normal. Of course, there is no problem with domain name resolution. You can ping through the CHINAZ tool to see that both are resolved normally.
The solution given at that time was not to add a non-WWW domain name, and then jump to the WWW through 301. However, today I also encountered this problem when I was building a corporate website for my company. Ask other friends if they have encountered such a problem. It is recommended to check whether it is caused by HOSTS being written. I will go and solve it here.
Here are some articles related to SSL:
1. GoDaddy virtual host cPanel panel installs SSL certificate to implement HTTPS encryption
2. Pagoda Linux panel quickly installs free Let\\’s Encrypt SSL certificate and automatically renews
3. Use CloudXNS API to quickly verify domain names and obtain Let\\’s Encrypt SSL certificate with one click
First, problems that arise
Here, when PING the domain name in the server, all the returned values are 127.0.0.1. Normally, you can see the current server IP address, so we need to solve it.
Second, solution
/etc/hosts
At first, I thought it was caused by HOSTNAME. My classmate Xiaosheng said that it should be caused by the local HOSTS file configuration being written.
Here we need to find the IPV4 part in the HOSTS file. I misread it at first and changed it to IPV6. I said why it still doesn’t work. Delete this line, save it, and then restart the server.
Third, solve the problem
Re-PING found that the problem was solved.
Recommended site search: website registration information, telecom host rental, how to cancel domain name registration, foreign trade host, dynamic IP server, com domain name price, Hong Kong IP agent, Jiangsu high defense server, free all-purpose space application, free php mysql space,
发表评论