I am sure this is simple:
I laid out the machine and installed LAMP, and the IP is set to 10.0.0.10.
In my Windows machine, I changed the hosts file and added one entry named "rsywx_remote". Ping from my windows machine to my roaming machine is fine. Downloading "rsywx_remote" in a browser from my windows machine is fine too. Communication is not a problem.
Then I used SSH for my roaming machine and modified /etc/apache2/sites-enabled/000-default.confas follows:
<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 roaming Apache service, and it still points to the default page, not the one I expected.
Any clues?
source
share