# Problem with forwarding

**URL:** <https://forum.infinityfree.com/t/problem-with-forwarding/98651>\
**Category:** Hosting Support\
**Created:** [September 9, 2024, 11:12am UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651 "2024-09-09T11:12:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 9, 2024, 11:12am UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/1 "2024-09-09T11:12:28Z")

</div>

I am having problems with my newly created site at InfinityFree.  
My website: [lamaisonenfolie.lovestoblog.com](https://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?

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [September 9, 2024, 12:13pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/2 "2024-09-09T12:13:02Z")

</div>

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

 ![image](https://forum-cdn.infinityfree.net/original/3X/1/7/17232e7c81f64bf8b1ff32d806d766259366f094.png)

---

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 9, 2024, 12:19pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/3 "2024-09-09T12:19:20Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [September 9, 2024, 12:22pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/4 "2024-09-09T12:22:24Z")

</div>

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

> [@anon69722521](#):
>
> because OVH does not offer the option to get a certificate for a domain

Does OVH allow you to use Cloudflare?  
iI yes, then Cloudflare can give you a certificate plus other CDN benefits

---

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 9, 2024, 1:35pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/5 "2024-09-09T13:35:31Z")

</div>

As far as I can tell, OVH should accept Cloudflare.  
I will look into that.

---

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 10, 2024, 2:39pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/6 "2024-09-10T14:39:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![EdwardSkunk](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/edwardskunk/32/66982_2.png) [@EdwardSkunk](https://forum.infinityfree.com/u/EdwardSkunk)\
**Post date:** [September 10, 2024, 4:24pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/7 "2024-09-10T16:24:02Z")

</div>

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.  
 ![image](https://forum-cdn.infinityfree.net/original/3X/7/f/7f94a8ee4900f1b1fa4d4f364ba5c7f072c274c7.png)  
Inspect element suggests you’re using WordPress. [Here’s a guide](https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/) specifically on fixing mixed content errors in WordPress.

> **[How to Fix the Mixed Content Error in WordPress (Easy Way)](https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/)**
>
> Seeing the mixed content error in your WordPress website? Follow this step-by-step tutorial on how to easily fix the mixed content error in WordPress.

---

<div class="post-metadata">

**Author:** ![anon90933456](https://forum.infinityfree.com/letter_avatar/anon90933456/32/6_449c533f586939b6e5f246632a46421f.png) [@anon90933456](https://forum.infinityfree.com/u/anon90933456)\
**Post date:** [September 10, 2024, 4:28pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/8 "2024-09-10T16:28:37Z")

</div>

Adding to what @EdwardSkunk 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:

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/49353):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools. To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…

---

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 10, 2024, 6:32pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/9 "2024-09-10T18:32:05Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [September 10, 2024, 6:53pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/10 "2024-09-10T18:53:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 11, 2024, 12:50pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/11 "2024-09-11T12:50:54Z")

</div>

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?

 ![Screenshot (44)](https://forum-cdn.infinityfree.net/original/3X/5/e/5ee7a1f5871be5e19866e017701bd49732ad092c.png)

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [September 11, 2024, 4:12pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/12 "2024-09-11T16:12:09Z")

</div>

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` to `http://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` to `http://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:
    1. Add the domain name to your hosting account: [How to add your own domain to your account](https://forum.infinityfree.com/t/how-to-add-your-own-domain-to-your-account/49227)
    2. Move your website to the directory of your new domain name: [How to move a website to a different directory](https://forum.infinityfree.com/t/how-to-move-a-website-to-a-different-directory/88900)

  - 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.

---

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 11, 2024, 6:34pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/13 "2024-09-11T18:34:57Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [September 11, 2024, 6:45pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/14 "2024-09-11T18:45:19Z")

</div>

> **[Create rule in the dashboard | Cloudflare Rules docs](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/create-dashboard/)**

Wildcard pattern: you will type this `*.lamaisonenfolie.be/*`

Target URL: `https://lamaisonenfolie.lovestoblog.com`

Status code: Select `301`

All incoming requests

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [September 11, 2024, 8:52pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/15 "2024-09-11T20:52:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 12, 2024, 12:41pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/16 "2024-09-12T12:41:49Z")

</div>

Here is a report concerning my cloudflare setup.  
What is wrong?  
[https://cf.sjr.org.uk/tools/check?7152cc9e11224474a78b75238ee92dd2](https://cf.sjr.org.uk/tools/check?7152cc9e11224474a78b75238ee92dd2)

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [September 12, 2024, 2:44pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/17 "2024-09-12T14:44:38Z")

</div>

lamaisonenfolie.be

 ![Screenshot 2024-09-12 163733](https://forum-cdn.infinityfree.net/original/3X/8/4/8475aa78c3ac4a6afc4b97ebfe762198b555a039.jpeg)

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

---

<div class="post-metadata">

**Author:** ![anon69722521](https://forum.infinityfree.com/letter_avatar/anon69722521/32/6_449c533f586939b6e5f246632a46421f.png) [@anon69722521](https://forum.infinityfree.com/u/anon69722521)\
**Post date:** [September 12, 2024, 2:52pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/18 "2024-09-12T14:52:12Z")

</div>

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](https://cf.sjr.org.uk/tools/check?232d399f905a4f01ae984a8af0ec94e6)

Cloudflare DNS settings

 ![Screenshot (69)](https://forum-cdn.infinityfree.net/original/3X/0/0/00cc2832f4258aec1baad51613a58b4ae563dbaa.png)

OVH DNS settings

 ![Screenshot (71)](https://forum-cdn.infinityfree.net/original/3X/d/0/d0222b6209a8d2a9c71aa091f10feea6e110e419.png)  
 ![Screenshot (72)](https://forum-cdn.infinityfree.net/original/3X/c/f/cfa64be6ff3fc1aa652062ab6607362c98284cd3.png)

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [September 12, 2024, 5:01pm UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/19 "2024-09-12T17:01:49Z")

</div>

> [@anon69722521](#):
>
> I want to redirect

> [@anon69722521](#):
>
> 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)

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.

---

<div class="post-metadata">

**Author:** ![anon21491120](https://forum.infinityfree.com/letter_avatar/anon21491120/32/6_449c533f586939b6e5f246632a46421f.png) [@anon21491120](https://forum.infinityfree.com/u/anon21491120)\
**Post date:** [September 13, 2024, 8:22am UTC](https://forum.infinityfree.com/t/problem-with-forwarding/98651/20 "2024-09-13T08:22:29Z")

</div>

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](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.

[Next page](https://forum.infinityfree.com/t/problem-with-forwarding/98651.md?page=2)
