If you're trying to host that page on a web server (that isn't the computer cgminer is running on), you'll need to
1.) Enable the API in cgminer and set it to allow connections from your web server's IP address.
2.) If you're mining computer is connected to a router, forward the port cgminer's API is using (default is 4028) to your mining computer.
http://portforward.com has a lot of helpful information on how to do this and a free utility to check if the port is forwarded correctly.
3.) Set your mining computer's public IP address in that monitor page's PHP. I don't use that monitor but I'd imagine the IP is either hard-coded or is displayed in a textbox.
That page on your web server is what is connecting to cgminer, so you have to make sure it can connect to your mining computer and to cgminer. If your mining computer's public IP address changes, you'll need to update the PHP with the new IP address.