Can't access my erpsite from IP address

Hello My friends…!
So after I changed the site name of my erp, now I couldn’t access the site from its IP address, I can access it only through domain name now.
and that’s a problem since I created a port forward rule for this site to access it from outside.
When I try to access it I get this:

1-I add the my erp domain name to the hosts.
2-I created a currentsite.txt as some friends mention to.
3-I restarted and reload my nginx a lot after I change the name.
4-I add my IP address to the /etc/nginx/conf.d/frappe-bench.conf file after server name also.
But all this doesn’t solve the issue.
so any advise please.

Check this: ERPNext Error After Install - 127.0.0.1 does not exist - Code with Karani

@NCP I apply this but without avail. still the same error.