I just enabled my free SSL and since enabling my subdomain (https://vex.dog/) isn’t working, I made the php redirect the user to the normal domain if it doesn’t see a .png.jpg extension at the end of the url, now all I get is a white screen.
Note: the subdomain would redirect me to my regular domain before SSL was enabled.
All done through php. The purpose of my subdomain is to allow you to view images as long as you have a .png on the end of the URL, if not it will direct you to my main page.