PDA

View Full Version : Ssl


exposed
08-03-2003, 01:05 PM
When a user is creating a subdomain it is HTTP and HTTPS but what if a user wants a subdomain that is only reachable by HTTPS or reversed???? why does create directadmin both HTTP and HTTPS ???, why cant a user choose what kinda sites he wants to add??

DirectAdmin Support
08-03-2003, 05:40 PM
Disabling a site isn't too difficult. You can just manually add a redirect from the type you don't want to use to the one you do.

Example, if you want to only allow https for redirect.domain.com, you can edit:
/home/username/domains/domain.com/public_html/redirect/.htaccess
and add the line:
Redirect / https://redirect.domain.com

This will forward all traffic to https.

Hope this helps. Hopefully we'll add more control over things such as these in the future.

John