- Vagrnat up
- See your apache site!
- Go to IP listed in the Vagrant file listed under "private address"
- Go to your http://localhost/[port in Vagrant file]
- Mimic what a DNS would do and and the IP address from the Vagrant file to your /etc/hosts file. Then use that website name as your reference. NOTE: you can make multiple named websites in the /etc/hosts file and sort them in your apache .conf file.
- Your local VM and Vagrant file
- github test-centos-apache
- your local machine
- Your website files
- located on the centOS VM --> vagrant ssh
- /var/www/ and /var/www/html/ and /var/www/www.example.com/public
- apache files
- /etc/httpd/
- apache configuration files
- /etc/httpd/conf/httpd.conf