DirectAdmin + SSL = Strange redirections

webaltern

Verified User
Joined
Feb 10, 2008
Messages
175
Location
Québec, Canada
Hello,

I have setup my DA installation to use SSL (SSL=1 and force_hostname=server.xxxxx.com)

Since then, when a use type www.user_domain.xxx:2222 they supposed to be redirected to server.xxxxx.com:2222 as configured in the directadmin.conf.

But it's not what happen. The user is redirected to the server IP and then to the hostname server.xxxxx.com

http://www.user_domain.xxx:2222 >> https://SERVER_ip:2222 >> https://server.xxxxx.com


Why the user is not redirected directly to server.xxxxx.com? Since the SSL certificate is installed on that hostname and it give us a certificated error when the redirection to the server_ip occur....

I hope I was clear enough in my explanation since English is not my primary language...

Regards,
 
Hi Martynas,

thank you for your quick awnser. I did not add this variable to the file directadmin.conf.... It's work perfectly now...


Thank you again!

Regards,
 
Back
Top