guglviews.blogg.se

Macos sierra apache not working
Macos sierra apache not working





macos sierra apache not working

NameVirtualHost *:80 has no VirtualHosts

macos sierra apache not working

On the 2nd machine this does not work, both URLS end up pointing to the first app, it's output of the same command is which has additionalĪpache2: apr_sockaddr_info_get() failed for experimental Port * namevhost api.experimental (/etc/apache2/sites-enabled/nf:15) Port * namevhost experimental (/etc/apache2/sites-enabled/nf:3) Wildcard NameVirtualHosts and _default_ servers:ĭefault server experimental (/etc/apache2/sites-enabled/nf:3) On one machine this setup works fine, and apache reports this:Īpache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName This will work and create two sites that can be accessed separately, in your browser, like: Apache2 multiple name-based virtual hosts on one machine with rails/rackĪm stuck on configuring apache to serve up two different sites with Name based virtual hosts at:

macos sierra apache not working

#Macos sierra apache not working windows

Sample windows path: if it's missing, just create the hosts file there and save it (I don't use windows so I don't know if this has changed). You didn't say what operating system you are using, in OSX and Unix/Linux, it's /etc/hosts (not positive about osx since I never use it, but I assume that's the same) Why are you not using 127.0.01 for the local machine? The only time you need the static machine IP is if you are accessing the sites from outside your dev server, ie, a machine elsewhere in your network, or outside it, assuming port forwarding etc in the router.īy the way, I realized it's also possible you are simply unaware that you can use your local machine etc/hosts file to send requests based on the site name.







Macos sierra apache not working