Testing Localhost Developments in Internet Explorer via Parallels on Mac OSX

Developing web applications can be a frustrating job solely because so many people still use various versions of Microsoft Internet Explorer — possibly some of the worst browsers compared to most of the other modern browsers in terms of adherence to web standards. But I can’t just not test my applications against them simply because I hate them… So the war continues…

One of the problems of testing web apps under Parallels with IE is, instead of testing development URLs such as

1
http://localhost/

, usually IP addresses have to be used, like such

1
http://192.168.0.100

, to reach OSX’s localhost server (because

1
localhost

on Windows would entail having an actual web server running under Windows). The problem with that is that some applications such as WordPress need to have a full absolute path in order for it to work properly (especially when dealing with themes). I’ve tried a couple of workarounds, but nothing is as simple as using Apple’s own Bonjour technology.

I found a post that explains how to set it all up. Even though his example deals with running Ruby on Rails, the idea is exactly the same for other development environments such as PHP and Java (enable port 80, 443… etc). Now I am a happy camper…

via [the naked brain]