I recently updated my work machine to macOS Sierra and now none of my virtual host configurations are working. I need to reconfigure all of these which is a huge pain.
I am wondering - is it normal for this to happen? Is there a way to prevent this from happening in the future when I update my operating system?
Additionally, it appears that my virtual host configuration is not working. Please see below.
I have edited /etc/apache2/extra/httpd-vhosts.conf
to include:
<VirtualHost *:80>
ServerAdmin lbanach@splashworldwide.com
DocumentRoot "/Users/splashnw/Sites/tm-charts"
ServerName tm-charts.dev
ErrorLog "/private/var/log/apache2/tm-charts.dev-error_log"
CustomLog "/private/var/log/apache2/tm-charts.dev-access_log" common
</VirtualHost>
And, my /etc/hosts
file has:
127.0.0.1 tm-charts.dev
When I navigate to tm-charts.dev in my browser, there is simply a message: "It works!" Not my project that I originally saw at that URL prior to installing macOS Sierra.
Can you tell me what is going wrong here? Thank you!