I have ZenCart installed on my machine in the office. I have the office router setup so the office machines are masqueraded to the internet, but I have a public IP that I DNAT forward to my machine.
Machine: www2.private.network 192.168.1.104
Internet access www2.public.com (public IP)
The problem is the configure.php scripts predefine the host/site name with the private machine name, so I am unable to use the cart from the public internet side.
Currently, I'm forced to use 2 different folders with ZenCart installed ( /private/ for the local office access, and /public/ for the internet access). The other problem is I can login to the admin page via www2.private.network in the office, but I get username/password errors when trying to login to the admin pages from www2.public.com.
Any suggestions?




