brew apache localhost not pointing to custom file path
Hello,
I am currently using OS 10.12.5 and have installed brew. I then used brew to install apache, php, and MySQL in order to get a local dev environment up and running. When running which httpd the path points to '/usr/local/bin/httpd'. I have updated the httpd.conf file in '/usr/local/etc/apache2/2.4/httpd.conf' and not '/etc/apache2/httpd.conf' to include the vhost, and enable php and the appropriate modules to allow for the vhost to work. I have also changed the file '/usr/local/etc/apache2/2.4/extra/httpd-vhost.conf' to reflect the new file path </Users/username/Documents/point to rest of path/> (DocumentRoot and Directory). I also made sure that I had an index.php file in the custom path.
Then after making all the changes I felt I needed to make, I edited the '/etc/hosts' file to point to the localhost address I am making Alcyeonnero.local.com (as an example). After, I started the apache service ('brew services start httpd') and when navigating to Alcyeonnero.local.com or localhost I get 'It Works!' instead of the local dev environment I was expecting to see.
This is what my http-vhost file looks like:
<VirtualHost *:80>
ServerName alcyeonnero.lcl.com
DocumentRoot "/Users/username/Documents/point to rest of path"
DirectoryIndex index.php index.html
<Directory "/Users/username/Documents/point to rest of path">
AllowOverride all
Require all granted
</Directory>
</VirtualHost>
My question is what am I missing?
MacBook Pro TouchBar and Touch ID, macOS Sierra (10.12.5)