Windows IIS test server setup
I picked up a new server to do some testing and need of a little help in setting up my environment at home.
Here is what I would like to do: The test ser开发者_开发百科ver will be used to test new code and configurations for a SaaS product. I would like from my laptop to enter www.acme.com and have it hit the server. The server is connected to a wireless router.
I have windows server 2008 with IIS running on an an IP of 192.168.1.4.
What is the best way to set this up? I want to hit the test server for www.acme.com and not go out to the internet.
Do i need to mess with the LMHosts file?
Thanks for the help. Im sure its easy but have never done this before.
On your dev box edit the c:\windows\system32\drivers\etc\hosts file and add the line:
192.168.1.4 acme.com
That should do the trick...
精彩评论