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 / {
 proxy_pass http://127.0.0.1:8080;
 bracket
 bracket

Add the following under proxy_pass:

proxy_set_header HOST $http_host;