I am trying to host 2 name based virtual host web sites.
<a style='text-decoration: underline;' href="http://www.waywegos.com" target="_blank">www.waywegos.com</a> and <a style='text-decoration: underline;' href="http://www.synchronizer.org" target="_blank">www.synchronizer.org</a>
when I enter the names in my web browser all I get is the test page.
Yes I am a newbie so be kind.
I added this to the httpd.conf file:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin ridgerunner DeleteThis @earthlink.net
DocumentRoot "/home/httpd/html/www/waywegos"
ServerName waywegos.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin ridgerunner DeleteThis @earthlink.net
DocumentRoot "/home/httpd/html/www/synchronizer"
ServerName synchronizer.org
</VirtualHost>
I use the command "/usr/sbin/httpd -S" and this is what I get:
> /usr/sbin/httpd -S
httpd: Could not determine the server's fully qualified domain name,
using 127.0.0.1 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:443 127.0.0.1 (/etc/httpd/conf.d/ssl.conf:8
*:80 is a NameVirtualHost
default server waywegos.com (/etc/httpd/conf/httpd.conf:1075)
port 80 namevhost waywegos.com
(/etc/httpd/conf/httpd.conf:1075)
port 80 namevhost synchronizer.org
(/etc/httpd/conf/httpd.conf:1081)
Syntax OK<!-- ~MESSAGE_AFTER~ -->