Lets consider machine with IP:192.168.1.60 is in DMZ with NAT IP:111.222.333.444. How should i configure the baseURL in database so that public users can access the site as well as i should be able to view the site when entered "http://localhost/"
Case 1: If I enter public IP URL eg:"111.222.333.444/test in database baseURL,then URL localhost/test doesnt work on the machine as it in DMZ and no internet access and browser is trying to connect public ip from local machine.
But URL is accessable from public users.
Case 2: If I enter intranet IP as a URL "http://192.168.1.60/test in baseURL then public users cant access the site as the database baseURL is pointing out to intranet ip.
Any help would be greatly appreciated