I'm running OS X Yosemite and I'm trying to setup Apache so I can access files over my WiFi for my Chromecast application (runs using NodeJS).
So I followed some tutorials online (http://www.glenscott.co.uk/blog/re-enable-apache-php-web-sharing-on-os-x-yosemite/) and I can access my websites at:
I can also access something at:
One thing that's confusing me is where does just localhost and cameron.local point? I can't find the file I see anywhere! I tried
/Library/WebServer/Documents but it's NOT the index.php file there... Any ideas where I can find it? Or find out? A spotlight search for the contents doesn't return anything!
Anyway when trying to access the contents of an example site on say my iPhone, etc, I can't do it! Because of my use of
localhost so it would try and find the localhost of the device rather than my Mac.
I thought I could just replace
localhost with my ip address... but when I enter my ip address nothing happens... I just get an endless loading.
How do I solve this? Do you have to do anything special to get ip addresses working?
Shouldn't just be able to do: