Once we know that IIS is working, we can make it public. This step involves opening (or forwarding) port 80 in the firewall.
The exact steps for this depends on what firewall(s) you use. The machine used in this article is protected by two firewalls; a hardware NAT router and Windows Server 2003’s built-in firewall.
To open port 80 in Windows Server 2003’s firewall:
Click Start -> Control Panel -> Windows Firewall
Click on the Exception tab
Click “Add Port…” button.
As Name, write “IIS HTTP” (or something else) and Port Number should be 80.
Click OK twice. The NAT router is a typical consumer product (D-Link DI-624+) and to forward data sent to the public IP on port 80 to the web server, click on the "Advanced" tab and then on the "Virtual Server" tab, and edit the pre-defined virtual server HTTP. In the "Private IP" text box, write the private IP of the web server.
If you have another firewall, please consult the manual of that firewall to find out how you do this, if you do not know. When, you should be able to access the website by using the public IP.
|