Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th May 2009, 19:01
ago2guy ago2guy is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default Website disappers when SSL is added

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?

Last edited by ago2guy; 19th May 2009 at 22:30.
Reply With Quote
Sponsored Links
  #2  
Old 19th May 2009, 23:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th May 2009, 23:32
ago2guy ago2guy is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

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?
Reply With Quote
  #4  
Old 19th May 2009, 23:55
ago2guy ago2guy is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

Oh No...I think I upset till in the gerneal fourm ... sorry.
Reply With Quote
  #5  
Old 20th May 2009, 01:02
ago2guy ago2guy is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

[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
Reply With Quote
  #6  
Old 20th May 2009, 01:21
ago2guy ago2guy is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
  #7  
Old 20th May 2009, 01:45
ago2guy ago2guy is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #8  
Old 20th May 2009, 02:18
ago2guy ago2guy is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

Delete and reinstall

bummer...not ready for production for sure.

Thanks
Reply With Quote
  #9  
Old 20th May 2009, 09:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 22nd May 2009, 00:32
ago2guy ago2guy is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Looks like I am not alone...Read down on this link...same issue

http://www.howtoforge.com/forums/showthread.php?t=35207


Quote:
Originally Posted by bryand1 View Post
Thank you for your response Falko, but now I have a more serious problem.

I am using ISPConfig 3. When enter my State, Locality, Organization, Organizational Unit, and Country information, I then hit "Create Certificate" but nothing generates...

I tried to do this a couple of times, and then I lost connection to my server and something went wrong? All of the sites on my server went down. Now I cannot get apache to work.

I tried to reboot the server and I am getting an error when I try to start the httpd.

What happened and how can I get my sites back up?

Last edited by ago2guy; 27th May 2009 at 15:14.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18
php script injections Grizzly General 21 18th July 2006 08:55


All times are GMT +2. The time now is 01:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.