Skip to main content

Setup Webhostung Using One To One NAT

More
15 years 2 months ago #29261 by apit
Hi there...
How to setup webserver behind firewall?
I already setup Centos with PHP+Mysql+Apache....Using wordpress as CMS, i try to access the web from my local network using ip 192.168.0.1...Everything is working fine.

At firewall level, i already configure One To One NAT to allow ip 192.168.0.1 to go outside using 202.188.x.y public ip address and allow port 80 and 443..

The problem is, when i try to access my CMS form outside using ip 202.188.x.y, it's try to search internal ip address 192.168.0.1..If i try to access static page such as phpinfo.php and phpmyadmin, everything is ok...I also can SSH to the server using Putty or Winscp..

How to counter the problem?
Time to create page: 0.139 seconds