Subject: Please set up a server-level redirect for www.alltoolin.rf.gd (No SSL for www)
Body:
Hello InfinityFree Team,
I hope this message finds you well. I am writing to respectfully request assistance with a URL redirect configuration for my website, alltoolin.rf.gd.
My goal is to ensure all visitors are directed to the single, canonical URL: https://alltoolin.rf.gd.
I have successfully implemented a redirect from http://alltoolin.rf.gd to https://alltoolin.rf.gd using the .htaccess file.
However, I have encountered a limitation with the www subdomain. When users try to access https://www.alltoolin.rf.gd, they receive a browser security warning. I’ve confirmed in my control panel that the free SSL certificate is automatically issued only for alltoolin.rf.gd, and there is no option to add a custom certificate for the www version.
Because the secure connection fails at the server level, a redirect rule in .htaccess cannot be processed for the www domain.
Would it be possible for your team to set up a server-level redirect to forward all traffic from both http://www.alltoolin.rf.gd and https://www.alltoolin.rf.gd to https://alltoolin.rf.gd? This would resolve the security warning and ensure a consistent user experience for all visitors.
I understand the limitations of the free plan and greatly appreciate any assistance you can provide. Thank you for your time and consideration.
Although it won’t stop the warning, you can do this yourself with a .htaccess rule… I’ve not done it recently, but I believe something like this should work
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
You can setup a redirect from www.alltoolin.rf.gd to alltoolin.rf.gd yourself using .htaccess rules. This is a “server level redirect”, you’re instructing the server to do this redirect for your website. But as you noted, this only works for the http:// version, not the https:// version.
This is impossible to get around in any way.
The problem is that to be able to do ANYTHING on a HTTPS URL, you MUST have a valid SSL certificate for the hostname in question. Even if all you want to do is redirect the entire domain name, you still need to have a valid SSL certificate for the domain to be redirected. And there is just no way to get a valid SSL certificate on www.alltoolin.rf.gd.
The only thing you can do is to make sure that http://www.alltoolin.rf.gd redirects to https://alltoolin.rf.gd and not https://www.alltoolin.rf.gd. But there is no way to setup a redirect on https://www.alltoolin.rf.gd, you will always see an SSL error on that page and there is no way to change that.