Hi, I have the following setup centos6.x 64bit ispconfig3 hostname: mail.domain.com When i go to http://mail.domain.com, the roundcube installations i have loads up. But when i go to https://mail.domain.com, then it tries to load content from /var/www/html, instead of the mail.domain.com folder. How do i fix this so http://mail.domain.com and https://mail.domain.com loads the same content from /var/www/mail.domain.com/web/ folder ? Thanks
enable ssl in the website mail.domain.com in ispconfig, then go to the sl tab of this website and create a ssl cert for the website.
Already done that, and it shows up there as well. Having the server hostname and the site I am hosting as same makes any difference ? Thanks
Please check if the vhost file of this site has a ssl section with port 443 inside. If not, then the ssl cert is broken and ispconfig has excluded it from configuration.
There is an SSL section in there and looks alright. One small thing i pointed earlier, my server hostname is mail.domain.com and the site i hosted on it is also called mail.domain.com. When i look at the logs, during https its trying to get data from /var/www/html directory instead of the client1 directory. But when i use http, it works perfectly.
Where do i look for the default ssl vhost ? This what i have in my /etc/httpd/sites-available directory -rw-r--r-- 1 root root 1074 Jul 7 13:28 apps.vhost -rw-r--r-- 1 root root 1913 Jul 15 12:02 ispconfig.conf -rw-r--r-- 1 root root 2071 Jul 6 11:59 ispconfig.vhost -rw-r--r-- 1 root root 5785 Jul 15 11:00 mail.domain.com.vhost
In the config, there is nothing. The last line includes all vhosts from the directory Include /etc/httpd/conf/sites-enabled/ Any other ideas ?