Copy link to clipboard
Copied
Hey, I've got some localhost CF9 stuff running on my mac that are rerouted via virtual host and etc/host file to be like local.myprojectname.dev and I'm trying to set things up in VMWare Fusion PC so I can view in a browser. I've gotten as far as being able to add an IP to the PCs host file, and then pull up the root directory of the localhost but can't seem to figure out how to get the virtual host domain to work. This make any sense?
Copy link to clipboard
Copied
You will need to configure Host header support in your web server software. Both IIS and Apache support Host headers, but they're configured differently of course.
Then, if you want those Host headers to route on your Mac host OS, you'll need to map them in /etc/hosts to your VM's IP address.
Dave Watts, CTO, Fig Leaf Software