View Single Post

  #1 (permalink)  
Old 06-21-2004
Andrew
 
Posts: n/a
Default Apache and Default vhost

Help!,
i ahve been struggeling with this problem for hours now, and have
tried everything that i can find and think of!, i have a static ip and
go through a modum/router and i think that i have sucessfuly allowed
the ports to come through.
The problem:-
i have two vhosts, hoping that the first will be the default, when i
ran a Vhost-dump i got:-

VirtualHost configuration:
*.*.*.*:80 is a NameVirtualHost
default server www.MyDefaultServer.com
(/(somewhere)/httpd.conf:724)
port 80 namevhost www.MyDefaultServer.com
(/(somewhere)/httpd.conf:724)
port 80 namevhost www.MyPage.com
(/(somewhere)/httpd.conf:751)
wildcard NameVirtualHosts and _default_ servers:
_default_:443 new.host.name (/(somewhere)/ssl.conf:90)
(98)Address already in use: make_sock: could not bind to address
0.0.0.0:443
no listening sockets available, shutting down

Also, no matter what order i put the two hosts, when i call MyPage.com
it automaticaly goes to the index.html page, when i call the
MyDefaultServer.com page, it displays the index.html page of
MyPage.com, further more when i type in MyDefaultServer.com/index.html
it displays the right page!.
What could i be doing wrong?
Andrew