I added an A record to the website pointing to my server IP, and the ping was successful. However, the browser cannot be accessed through the domain name, but it can be accessed through IP.

  node.js, question

The server uses Nginx reverse proxy nodejs and adds: d in nginx.conf

server {
 listen  80;
 server_name nodejs.xxx.cc;
 location / {

Add the following under proxy_pass:

proxy_set_header HOST $http_host;