Apache Virtual Host setup not working?
Posted
by
user214243
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user214243
Published on 2013-11-10T03:18:33Z
Indexed on
2013/11/10
4:12 UTC
Read the original article
Hit count: 171
apache2
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?
© Ask Ubuntu or respective owner