Hello,
In the port forwarding rule configuration, there is an option to enable NAT loopback. This should allow you to access the web server using the public IP address.
Another simple option would be to edit the hosts file (/etc/hosts) to resolve the hostname to the IP address. You can do ‘vi /etc/hosts’ or:
echo “192.168.1.222 example.com” >> /etc/hosts
You may need to restart Dnsmasq:
/etc/init.d/dnsmasq restart
Kind Regards,