OS X based web developers: If you setup custom virtually hosted domains by either hand editing your hosts file, or by using a tool like VirtualHostX, then you probably want to view your sites through Parallels for IE browser testing.
This info is elsewhere, but my current rule of thumb is: if it takes more than 2 google searches to figure it out, I’ll make a post about it. Here’s what to do:
- Setup your site locally, editing your hosts file (/private/etc/hosts) or via VirtualHostX
- Open Parallels if it’s not already open
- Go to system prefs, open “network”, click on “Parallels NAT” and copy the IP address
- This is also a good time to verify that you have “web sharing” turned on under “sharing” in system prefs
- In Parallels, go to the Windows start menu and choose “run…”
- Paste this in and hit “OK” to open your windows hosts file up: wordpad c:\\windows\\system32\\drivers\\etc\\hosts
- Add entries to the bottom of the file, just like in your OS X version, but use the IP address you copied earlier from system prefs. The format is IP Address [tab] CustomDomain.
- Click the save button, close the file
- Log-out and log back into Windows
So this procedure has to be done for each custom virtually hosted domain you want to setup, but I think it’s worth it – and like so many other things, it’s easier to do than to explain.
Posted in Hosting, Process |
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.
Leave a Reply