Issue with http and https

Discussion in 'ISPConfig 3 Priority Support' started by anandx, Jul 15, 2014.

  1. anandx

    anandx New Member

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. anandx

    anandx New Member

    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
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. anandx

    anandx New Member

    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.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    do you have the default ssl vhost of the linux distribution activated? if yes, try to disable it.
     
  7. anandx

    anandx New Member

    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
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    These are just the ispconfig vhosts. On centos the default vhost might be in httpd.conf directly.
     
  9. anandx

    anandx New Member

    In the config, there is nothing. The last line includes all vhosts from the directory

    Include /etc/httpd/conf/sites-enabled/

    Any other ideas ?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Does the website use * or the IP address of the server?
     

Share This Page