Setting up IIS7 to mimic a GoDaddy shared hosting plan

Posted by NerdFury on Server Fault See other posts from Server Fault or by NerdFury
Published on 2010-01-04T16:57:11Z Indexed on 2010/04/10 23:03 UTC
Read the original article Hit count: 247

Filed under:
|

I host multiple domains on a GoDaddy shared hosting account. I would like to setup a website locally in IIS 7 that mimics the setup of my hosted account so that I can test and debug applications locally before deploying, as debugging after deploying, or discovering there are issues after deploying is frustrating.

I have created a folder WebRoot, at put my main application in that folder. I created a website in IIS 7 and pointed it at that folder. I setup bindings with a fake domain, and created a matching entry in my hosts file to make the fake domain point at my 127.0.0.1. I then created a folder www.otherdomain.com under webroot. I then created an application underneath my website, and pointed it at this folder. I can't find how I can add bindings to the web application to have it referenced as a different fake domain, rather than a subdirectory under my root domain.

What would be the proper way to setup IIS to best simulate the environment on the GoDaddy servers.

© Server Fault or respective owner

Related posts about godaddy

Related posts about iis7