Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run a local web server which handles all sub domain traffic for a domain. The domain is on a shared host (HostMonster) I use their DNS manager to send wildcard subdomain traffic to my IP which is dynamic. I know I can use Dynamic DNS to keep DNS working but my ISP has been changing my IP pretty often lately.

I only need to be able to access my subdomains for developing locally. What should I enter into my windows hosts file so I can access which has a local IP of locally and not have to worry about updating my IP in hostmonster?


share|improve this question

I had to add a local subdomain alias into my nginx server file that matched the entry in my windows hosts file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.