# How do I redirect from http to https?

**URL:** <https://forum.infinityfree.com/t/how-do-i-redirect-from-http-to-https/6174>\
**Category:** Hosting Support\
**Created:** [November 8, 2016, 9:41am UTC](https://forum.infinityfree.com/t/how-do-i-redirect-from-http-to-https/6174 "2016-11-08T09:41:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aminantabli](https://forum.infinityfree.com/letter_avatar/aminantabli/32/6_449c533f586939b6e5f246632a46421f.png) [@aminantabli](https://forum.infinityfree.com/u/aminantabli)\
**Post date:** [November 8, 2016, 9:41am UTC](https://forum.infinityfree.com/t/how-do-i-redirect-from-http-to-https/6174/1 "2016-11-08T09:41:36Z")

</div>

Dear Sir,

I would like to ask how can I redirect my domain from HTTP to HTTPS?  
Suppose I need to redirect the domain from [www.webcodingarea.com](http://www.webcodingarea.com) to [https://www.webcodingarea.com](https://www.webcodingarea.com).  
I am using your cpanel. However, I am pointing the nameservers of cloudflare.  
I tried to use in the cpanel an error occured that the site has too redirects.  
Is their a way to do it on cloudflare?

Regards

---

<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:** [November 8, 2016, 2:17pm UTC](https://forum.infinityfree.com/t/how-do-i-redirect-from-http-to-https/6174/2 "2016-11-08T14:17:39Z")

</div>

Yes, there is a great way to force all traffic to HTTPS with Cloudflare! You can use Cloudflare page rules to force HTTPS. You can view the instructions for Cloudflare page rules as well as all other ways to force all traffic to HTTPS here: [https://infinityfree.net/support/websites/how-to-force-all-traffic-to-https](https://infinityfree.net/support/websites/how-to-force-all-traffic-to-https)

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [January 17, 2019, 7:26pm UTC](https://forum.infinityfree.com/t/how-do-i-redirect-from-http-to-https/6174/3 "2019-01-17T19:26:52Z")

</div>

Closed on January 17, 2019, 7:26pm UTC


