Apache Virtual Host setup not working?
- by user214243
I had follow this link to setup my first virtual host with apache2 under ubuntu 12.x.
Looks easy but is not working.
[How to][1]
My internal dns can resolv the name, but my browsers is not showing me my webpage.
from my lan, Im using ubuntu server no GUI.
Every time I point to my virtual host name, I receive apache default page, I cannot see my custom page.
My docs are under /home/mydomain/public_html
This is my settings:
ServerAdmin webmaster@localhost
ServerName example.com
DocumentRoot /home/example.com/public_html
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
The rest of the file is the same.
No, I even try to change the port from *:80 to *:81, restart and don't see apache listen to port 81.
My localDNS running in other machine works.
What I forget?