SSL for a subdomain, but not www

Discussion in 'Installation/Configuration' started by benoit.lallemand, Apr 27, 2011.

  1. benoit.lallemand

    benoit.lallemand New Member

    Hi Community,

    I have create a (main) domain "xxxxx.be"

    I need to install an ssl certificate on a subdomain "shop.xxxxx.be" via the interface ISPConfig.

    I have create a subdomain via menu /site/subdomain/...

    But on ssl interface of (main) domain xxxxx.be (/site/domain/ssl) I can choose only ssl for "www" subdomain. I dont's see subdomain "shop".

    An idea ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Delete the subdomain.
    2) Edit the website settings and change: xxxxx.be to shop.xxxxx.be
     
  3. benoit.lallemand

    benoit.lallemand New Member

    Ok, I know that if I create a domain directly with "shop.xxxxx.be" it'works.

    But I need the "www.xxxxx.be" and for parts of this website I need SSL via an other domain name or subdomain.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    A SSL certificate in a apache webserver needs a vhost. The "domain" form in ispconfig represenjts a vhost while a "subdomain" record is a apache vhost alias. So if you need a ssl cert for a domain, then you have to create it as domain and not as subdomain or aliasdomain.

    If you need a alias for www.xxxxx.be too, then add www.xxxxx.be as aliasdomain to the website shop.xxxxx.be
     
  5. benoit.lallemand

    benoit.lallemand New Member

    Ok Thanks, I try this way immediatly
     

Share This Page