Skip navigation
wyclef
Currently Being Moderated

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

Jan 7, 2012 4:15 PM

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?

 
Replies
  • Dave Watts
    747 posts
    Mar 11, 2003
    Currently Being Moderated
    Jan 7, 2012 8:15 PM   in reply to wyclef

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points