Skip to main content
Participating Frequently
January 8, 2012
Question

Viewing ColdFusion 9 Mac localhost sites that are rerouted via virtual host on VMWare Fusion PC

  • January 8, 2012
  • 1 reply
  • 763 views

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?

This topic has been closed for replies.

1 reply

Community Expert
January 8, 2012

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

Dave Watts, Eidolon LLC