wildcard redirect and SSL redirect

Discussion in 'Installation/Configuration' started by chris weinhaupl, May 31, 2018.

Tags:
  1. chris weinhaupl

    chris weinhaupl New Member

    *.domain.tld => domain.tld with ht tp=>ht tps

    I would expect ht tp://*.domain.tld to go to ht tps://domain.tld but it actually lands on the default web page for the apache install.

    I added the following to the vhost file and things worked fine.
    The ServerAlias option was missing from the vhost file.

    <VirtualHost *:80>
    ...
    ...
    ServerAlias *.domain.tld sdomain.tld​
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you missed selecting auto subdomain * then in the website settings.
     
    ahrasis likes this.

Share This Page