Site icon Hip-Hop Website Design and Development

I get "too many redirects" problem when migrating localhost site

So, I have a website working properly on my localhost but when I migrate it to hosted server I get too many redirects error. I’ve done migrations before and this never happend but this time. Difference is that the server has SSL certificate activated to my domain. Can this problem occur because I developed site on localhost with no SSL certificate and on HTTP protocol instead of HTTPS? How can I fix this or what is the proper way for deployment in this scenario? Thank you in advance.