Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.