Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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 zeta.example.com which has a local IP of 192.168.2.14 locally and not have to worry about updating my IP in hostmonster?

Thanks

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.