I am having problems with my newly created site at InfinityFree.
My website: lamaisonenfolie.lovestoblog.com
I purchased a domain name ([lamaisonenfolie.be]www.lamaisonenfolie.be)) several years ago that forwarded to my old website.
I tried to change the forward to my new site here. But I cannot get it to work.
I am getting “Secure Connection Failed”.
Does anyone know what I am doing wrong?
Hi and welcome to the forum
lamaisonenfolie.be redirects to HTTPS
but the site does not have a certificate.
Fix - install the certificate or remove forced HTTPS and let it be plain HTTP
Hello, thanks for your answer.
I’m not sure I understand your answer.
My site at infinityfree has a certificate, lamaisonenfolie.be does not because OVH does not offer the option to get a certificate for a domain.
Does that mean that the only solution is to remove https from my website?
That’s right
The problem is that http://lamaisonenfolie.be
cannot be visited because it redirects to https://lamaisonenfolie.be
and there is no certificate.
Therefore, whatever redirection you have, it fails to even be launched
There is no website code (HTML) and the like that would do the redirection
because this communication about the certificate takes place before that
Does OVH allow you to use Cloudflare?
iI yes, then Cloudflare can give you a certificate plus other CDN benefits
As far as I can tell, OVH should accept Cloudflare.
I will look into that.
Created a Cloudfare account… But a new problem…
If I choose “full” ssl mode in Cloudflare, I get a “SSL handshake failed Error code 525”.
If I choose “flexible” ssl mode, the site is accessible but my theme is broken and images don’t show.
The former is caused by you not having an SSL certificate installed on your account/server. Thankfully Cloudflare allows self-signed certificates for that. If that isn’t an option then using the flexible option in Cloudflare is the way to go. The latter is likely a mixed content error caused by elements of your site not being served over HTTPS. Sure enough, going to your site with the developer console open confirms just that.
Inspect element suggests you’re using WordPress. Here’s a guide specifically on fixing mixed content errors in WordPress.
Adding to what @EdwardHamHam said, you’ll also have to change your website URL on your WordPress settings as the requests your website is making for your website files come from the old domain and this won’t work due to our security system:
That is strange, because I have a certificate on Cloudflare
(" Universal Certificate for lamaisonenfolie.be, *.lamaisonenfolie.be"
ECDSA SHA256 2024-12-09(Managed by Cloudflare)).
OVH doesn’t allow me to generate a certificate for my domain name.
Isn’t this a correct one?
You can use flex (it doesn’t matter at all) because your old domain anyway only serves as a MENU and then leads to the new address
so don’t worry too much about those things
it is important that HTTPS works and that’s the end of the story
Used the guide to fix mixed content. No idea if it worked.
Cloudflare encryption mode set to flexible…
No go. Still the same.
I feel stupid now.
No idea what I’m doing wrong.
Are these settings correct in the Cloudflare dashboard?
I can quite clearly tell that what you have setup right now will not work. As for how to fix it, that depends on what the intended goal is, which is not entirely clear to me.
So far, what we have been doing is helping you get HTTPS on your domain so you can redirect it to your website. With a redirect, if someone were to visit http://lamaisonenfolie.be
, the URL in their address bar would change to http://lamaisonenfolie.lovestoblog.com
, and they will then continue to browse your website on the free subdomain.
But now, you have it setup with Cloudflare, and are pointing it to your website domain with us with a CNAME record. However, it’s important to understand that a CNAME record has nothing to do with a website redirect, so this won’t work.
At this point, I can see two options:
- You want to redirect
http://lamaisonenfolie.be
tohttp://lamaisonenfolie.lovestoblog.com
. To do this, you could either:- Change the DNS records in Cloudflare so your domain points to the IP address it was using at OVH. Perhaps you can retrieve the settings to use from OVH’s panel.
- Create a Redirect Rule in Cloudflare to handle the redirect. If you do this, it doesn’t really matter where the domain name points to in Cloudflare’s DNS, because Cloudflare will just redirect everyone and not send any traffic to the configured hosting behind it.
- You want to migrate your website entirely from
http://lamaisonenfolie.lovestoblog.com
tohttp://lamaisonenfolie.be
. People will not be redirected to the free subdomain, and your website will be hosted directly on your .be domain.- To do this, you’ll need to:
- Add the domain name to your hosting account: How to add your own domain to your account
- Move your website to the directory of your new domain name: How to move a website to a different directory
- Note that you do not need Cloudflare for this. You can just setup SSL on our hosting, so no need to use Cloudflare. You can keep using Cloudflare if you want to, but it’s not necessary.
- To do this, you’ll need to:
I want to redirect https://lamaisonenfolie.be
to https://lamaisonenfolie.lovestoblog.com
.
So use https everywhere.
My website on Infinityfree is using SSL. I have a Google Trust certificate installed.
I want to use an invisible redirect (so that my visitors only see the domain name in the adress bar and not the website true address). Therefore I need my domain name also to use SSL, but OVH (where I purchased my domain name) does not allow me to install a certificate.
That is the reason to use Cloudflare.
However, if I understand you correctly, I do not need to do all that to achieve what I want?
I can simply have my free website here and use my domain name purchased at OVH without having to redirect anything by using the second option?
Wildcard pattern: you will type this *.lamaisonenfolie.be/*
Target URL: https://lamaisonenfolie.lovestoblog.com
Status code: Select 301
All incoming requests
if this is all about Cloudflare settings too much for you
then on OVH create a .htaccess
file on the root of your domain with this content
Redirect 301 / https://lamaisonenfolie.lovestoblog.com
I assume that OVH does not have any restrictions regarding such a thing and that it should work
Note: if you already have some content in the existing .htaccess (assume from WP) then just put that code at the top and let it be the first line of code and leave the rest of the content intact.
Here is a report concerning my cloudflare setup.
What is wrong?
https://cf.sjr.org.uk/tools/check?7152cc9e11224474a78b75238ee92dd2
lamaisonenfolie.be
Your domain no longer uses Cloudflare (and then neither https - no CF stuff in headers).
I think you didn’t read the instructions, but tried all kinds of things
I also have a feeling that you added it here to the hosting
Tell us everything you did so we can get the full picture
so we can give you the final answer (under the condition that you don’t do 5 other things along the way).
Let’s finally finish this problem once and for all
Reactivated Cloudflare. I deactivated it temporarily because I read somewhere that deactivating the proxy temporarily would solve issues…
Current report: Cloudflare works, no https (error 521 and 525)
https://cf.sjr.org.uk/tools/check?232d399f905a4f01ae984a8af0ec94e6
Cloudflare DNS settings
OVH DNS settings
There is no technical definition for an “invisible redirect”. A redirect works by telling the visitor browser that they should look for the page elsewhere. So by definition, a redirect is visible.
Some providers offer an “invisible redirect” using URL frames, but that’s a very hacky solution with a lot of downsides and I suggest only using it as a very last resort.
But this is not the time for last resorts. You can just host your .be domain with us and setup the website on it. As I understand it, that will do exactly what you want. But it’s not a redirect, and it’s not called a redirect, because you don’t want a redirect.
So please let go of the idea that you need a redirect, because from your description, you don’t want a redirect.
Hello there , , I am trying to provide some resolve her for you .
Yes as the admin stated , you would likely need too get a SSL certificate instead of a redirect , especially if your going to take the site seriously.
Infinity free gave me free SSL’s for all of my sites , and taught me a LOT about how too set it up , through reading through their forums.
Here is the link , if your using any of infinity frees services
https://dash.infinityfree.com/sslCertificates
If you are hosting through somewhere else , and having trouble , I would just make a starter site here on infinity free , and keep going over the steps until I get my SSL on the site you have through OVH.
There are a lot of free services and infinity free offeres a lot of docs on how to set it up.
Your hosting provider should be of assistance , as this hosting provider is free and they provide it.
Hope that helps.