Tuesday, January 19, 2016

apache 2.2 - Alternative to HOSTS file for virtual hosts?

I am running Windows 7, Apache 2.28 is my version of Apache, localhost and virtual hosts run well.




Only one issue - what's the best alternative to using the HOSTS file?



I tried DNSKong, but not sure if that's the best idea... isn't that a site-blocker?



What pseudoDNS software or free DNS software could I use so I didn't have to type into HOSTS file:



127.0.0.1 mysite1.com
127.0.0.1 www.mysite1.com
127.0.0.1 siteonlocalhost.net
127.0.0.1 www.siteonlocalhost.net



for my virtual hosts in httpd-vhosts.conf and have it running as a service to get the DNS recognized?



I'm new to this side of Apache (OK with the basics of getting it up and running), but thought I'd try something new.



All advice appreciated, thanks!

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...