# Automatic forwarding from http: // to https: //

**URL:** <https://talk.jekyllrb.com/t/automatic-forwarding-from-http-to-https/2286>\
**Category:** Help\
**Created:** [October 20, 2018, 11:28am UTC](https://talk.jekyllrb.com/t/automatic-forwarding-from-http-to-https/2286 "2018-10-20T11:28:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustavmega](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@gustavmega](https://talk.jekyllrb.com/u/gustavmega)\
**Post date:** [October 20, 2018, 11:28am UTC](https://talk.jekyllrb.com/t/automatic-forwarding-from-http-to-https/2286/1 "2018-10-20T11:28:01Z")

</div>

Hi,

now everything works well with the SSL:  
_sudo jekyll serve --ssl-key ssl/test.key --ssl-cert ssl/test.pem_

Now wanted to ask if there is also an option for automatic forwarding from http: // to https: //?

Thanks again for your support!!!

---

<div class="post-metadata">

**Author:** ![andy5995](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/andy5995/32/1372_2.png) [@andy5995](https://talk.jekyllrb.com/u/andy5995)\
**Post date:** [December 7, 2018, 4:39pm UTC](https://talk.jekyllrb.com/t/automatic-forwarding-from-http-to-https/2286/2 "2018-12-07T16:39:27Z")

</div>

@gustavmega I believe that primarily depends on your host. Many people do it with GitHub Pages. You may want to start by reviewing [this](https://blog.github.com/2018-05-01-github-pages-custom-domains-https/) and [this](https://help.github.com/articles/securing-your-github-pages-site-with-https/).
