Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/rekall/krisgale.com/wp-includes/formatting.php on line 74

first, edit your web server’s httpd.conf (for example, /Applications/MAMP/conf/apache/httpd.conf) and add a VirtualHost with some name other than “localhost” (we do this because windows may reserve localhost for some of its services).

NameVirtualHost yourhostname:80

<VirtualHost *:80>
ServerName yourhostname
DocumentRoot “/your/directory/here”
</VirtualHost>

edit leopard’s “hosts” file:

sudo nano -w /etc/hosts

and append your new host name to the existing line for localhost:

127.0.0.1 localhost yourhostname

now, launch windows in your virtualization software of choice (virtualbox is great, and free), create a new batch file (local.bat) on your desktop, and paste this in:

@echo off
ipconfig
notepad c:\windows\system32\drivers\etc\hosts

essentially, this will shortcut the process of determining the host’s virtual network addresses and a way to modify the windows “hosts” file, should we need to change it in the future.

take note of the gateway address in the command window, and add it to the “hosts” file already open in notepad.

10.0.2.2 yourhostname

make sure you have your web server running in your host OS, then try to visit http://yourhostname/ in a web browser in your guest OS… welcome to the wildly efficient world of cross-browser, cross-platform testing on the same machine!