Reputation: 4013
I am sure this is a simple one:
I have vagranted up a machine and setup the LAMP, and the IP is configured to 10.0.0.10.
In my Windows machine, I have modified the hosts file and added one entry named as "rsywx_remote". The ping from my Windows machine to my vagrant machine is OK. Load the "rsywx_remote" in browser from my Windows machine is also fine. The connectivity is of no problem.
I then SSH to my vagrant machine and modified the /etc/apache2/sites-enabled/000-default.conf
like this:
<VirtualHost 127.0.0.1>
DocumentRoot "/www/rsywx/web"
ServerName rsywx_remote
ServerAlias rsywx_remote
<Directory "/www/rsywx/web">
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
Allow from 127.0.0.1
Deny from all
Require all granted
</Directory>
</VirtualHost>
Restarted my vagrant Apache service, and it still points to the default page, not the one I expected.
Any hints?
Upvotes: 6
Views: 19048