confirming facts:the website is on your system, inside your LAN.
now you've changed the IPS and the DNS A record for your domain.
The attempt from your browser to access http: // the domain name.com/ now fails.
Testing your local access is done using IP addresses, not domain.names; eg http: // 192.168.x.y/
As you likely have a dynamic connection from your ISP, you need to
1) register a ficticous domain.name with DynDSN.org
2) port forward from your router to the IP address of your server (which must have a static or address reservation in your router)