I have a website that resides on my internal network, and is reached from the internet through natting on my router. However, when a machine inside my network tries to open the website with its public domain name, they cannot connect. How can I setup the proper NAT to let machines inside my network view the website while referencing its public IP.
Internal webserver: 10.1.1.25
registered to 18.104.22.168
Existing Nat: ip nat source inside static tcp 10.1.1.25 80 22.214.171.124 80
What do I need to add so that when a machine on the same network as the webserver, eg host w/ip 10.1.1.32 tries to connect to www.example.com
they are properly redirected.