Reputation: 51
I can access my appache2 server with example.com
from global host(like 4G network etc.),
but not access from local host.
How can I fix it?
Appache2 configuration like this:
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/example
...
</VirtualHost>
Upvotes: 0
Views: 45
Reputation: 146
Did you add your domain with your IP localhost to this C:\Windows\System32\drivers\etc\hosts
yet?
Upvotes: 1