Anyone doing virtual hosting under windows on a dynamic ip?
I have everything setup for local mode. It's worked good for years.
->windows hosts file has 50-100 name->fake localhost ips (127.0.0.x) ->apache server adr is set as localhost ->virtual hosts match ips in windows hosts file.
It all works solid from a local stand point. Now comes the fun part of working in a Dynamic ip address. I've messed with it from scratch for almost a day and can't get it to work. Must be something I'm not understanding.
i have my apache installed on my win2k machine, localhost:81 and once had a dns2go account... you get your dynamic ip allocated by your isp right? so what exactly is the problem now or did i miss something here?
<added> k, here's my vhost config (just the very necessary part):
Thanks. I got it figured out. I was trying to be to tricky. My hosts file looks something like:
127.0.0.2 webmasterworld.com 127.0.0.3 www.webmasterworld.com 127.0.0.4 www.searchengineworld.com etc.
Then I copy in out that hosts file with another one. I call them local vs net. In local mode, I get 100% pure local behavior/emulation of online sites (like the board here) when I want. Instead of the above, I should have been doing: