This is my story.
I installed Apache in windows 7 and configured Virtual host. Below is my directory tree.
D:\
Apache/
PHP/
MySQL/
projects/
and virtual host configuration.
<VirtualHost stuff.dev>
DocumentRoot "D:/projects/stuff"
ServerName stuff.dev
ServerAlias stuff.dev
<Directory "D:/projects/stuff">
AllowOverride All
Require all granted
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I also add host name in hosts file. I could accessed stuff.dev in local machine but I can't access from remote machine although I add host name in remote's hosts files.
When I access website from remote machine, It's always access to default host (htdocs/index.html).
How can I access local website from remote machine?
If you can access via
localhost
and not from your other computer, the issue is your Windows Firewall.... try to disable it or configure it to handleport 80
If Windows Firewall is disabled and still not working make sure you don't have any application (like Skype) that is conflicted with Apache
port 80