I had a site up and running and then decide to add an SSL cert to the site. After going through the process the website now only displays the “It Works” page. It does however display the correct website if I enter the IP address but not the domain name. It appears that the apache default page is the page I see while requesting the www.domain.tld but it gets that correct site when entering the IP address. A dig at the host name server gives the correct IP to domain name translation. Thoughts?
Please make sure that you selected the correct IP address in the website settings in ispconfig and not *, as * can not be used together with SSL certificates with the apache webserver.
Thanks Till Yes, It was a unique IP. I have since dropped the cert and am just trying to get it running again. sites-available is correct. if I run apache2ctl restart I get [warn] VirtualHost 10.0.0.121:80 overlaps with VirtualHost 10.0.0.121:80, the first has precedence, perhaps you need a NameVirtualHost directive If I run a2ensite domain.tld I get ERROR: Site domain.tld does not exist! It reolves to the IP but I get the apache default index.html if I try the www.domain.tld itself. As stated this was working before I tried to add a cert on a website with a static exclusive IP address. Thoughts?
[Tue May 19 18:59:02 2009] [warn] NameVirtualHost 10.0.0.120:443 has no VirtualHosts /usr/share/getmail4/getmailcore/baseclasses.py:26: DeprecationWarning: the sets module is deprecated import sets Error: configuration file /etc/getmail/*.conf does not exist
Oh man its getting worse root@glue:/etc/apache2/sites-available# apache2ctl restart [Tue May 19 19:20:05 2009] [warn] NameVirtualHost 10.0.0.120:80 has no VirtualHosts [Tue May 19 19:20:05 2009] [warn] NameVirtualHost 10.0.0.120:443 has no VirtualHosts [Tue May 19 19:20:05 2009] [warn] NameVirtualHost 10.0.0.121:443 has no VirtualHosts
Well thats it...now it completely does not work. I deleted all ips but two one for ispconfig and one for my domain my site will resolve to the IP only All because I tried to add an SSL Cert.
Not sure what you did because adding a ssl cert does not cuse any problems on my servers, I'am doing that frequently. I use it in production for over a year without any problems.
Looks like I am not alone...Read down on this link...same issue http://www.howtoforge.com/forums/showthread.php?t=35207