digignosis
Verified User
- Joined
- May 15, 2023
- Messages
- 6
When I set up an Account Manager > Site Redirection redirect for a domain, it is protocol agnostic, there is no option to choose which incoming connection type to redirect, so I assume it covers both http and https incoming connections.
However, when a domain is requested via https, the redirect does nothing, and directadmin just serves the private_html directory instead of redirecting.
(This happens on a freshly created domain, with the default public_html and private_html, so no modifications to any configs or htaccess.)
Is there a setting I am missing? Or is this just a bug. (using DA 1.649)
For example:
- Set up a directadmin 301 Site Redirection from mysite.com/ to http://othersite.com/
- result:
http://mysite.com > redirects to othersite.com
https://mysite.com (with valid ssl certificate) > does not redirect for some reason, just shows private_html
For context: This issue/bug could previously be mitigated by setting the private_html to be a symlink to public_html in Domain Management, but this option has now been removed with 1.649
However, when a domain is requested via https, the redirect does nothing, and directadmin just serves the private_html directory instead of redirecting.
(This happens on a freshly created domain, with the default public_html and private_html, so no modifications to any configs or htaccess.)
Is there a setting I am missing? Or is this just a bug. (using DA 1.649)
For example:
- Set up a directadmin 301 Site Redirection from mysite.com/ to http://othersite.com/
- result:
http://mysite.com > redirects to othersite.com
https://mysite.com (with valid ssl certificate) > does not redirect for some reason, just shows private_html
For context: This issue/bug could previously be mitigated by setting the private_html to be a symlink to public_html in Domain Management, but this option has now been removed with 1.649