Recently purchased a windows cloud server godaddy. Now i installed iis7 and all other required software. And i have 50.62.1.89 and 2 more public ips. Also i have a private ip 10.1.0.2. Now the problem is am unable to access any website through any public ip. All my public ips are opening default website only. also i cant see pubic ips for IIS website bindings. Only my private ip listed for IIS binding.
And in my server also public opening only default website. But am able to open websites using private ip. But my public ip addresses pointed to my server correctly. am able to open my server using remote desktop using public ip. Also as i said already public ip opening default website from IIS without problem.
Please help me. Am confused for last 2 days.
Best Answer
The bindings in IIS should use the internal IP. You will either have Port Forwarding Rules or Load Balancing Rules that take the external IP and translate it to the internal IP. Once translated the virtual machines will use the internal IP for everything, including bindings in IIS. When the request leaves the server the request will be translated back to the external IP.
Here is the steps to set up IIS for a working website:
http://support.godaddy.com/help/6197
At this point, if you go to yourpublicIP you will see the IIS7 welcome page. This is because this IP is owned by the Default site in IIS.
If you already have the domain pointed to your public IP, ie mysite.com resolves to yourpublicIPaddress, then visiting mysite.com will work in your web browser.
If you do not have the DNS pointed to the public IP, you can edit the hosts file on your local machine to cause the domain to resolve to that IP ON YOUR MACHINE ONLY:
For paths see:
http://support.godaddy.com/help/3354/viewing-your-website-before-changing-your-nameservers-using-host-files
Add an entry on a single line like: mysite.com 50.62.1.89
Save and close the file.
Close your web browser, reopen, and now go to mysite.com. It should work as expected.
Using the above method you can place as many websites as you want on the 50.62.1.89 IP address.
If you want a website to own everything for that IP Address.
Now Going to yourpublicIPaddress will show your website.