Hi,
I have create port443 and port80 but our site is not open with https://prisonbodyworkout.com but without https site is working properly.
So please guide what will have to do for https://
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I have setup as you given files in same directory sites-availabe but still problems are same our site is not redirecting to https://
This comment has been deleted
This comment has been deleted
Have you reloaded Apache2 after changing your config files? If you don’t reload/restart apache2, the changes won’t appear.
Also, have you made sure that the https file is going to the same directory as your http config? That’s something major to consider.
It’s odd that it isn’t working for you. From what I can see, your site is being pulled up correctly using http, but I’m getting a 403 Forbidden error when I attempt to pull up the site using SSL.
I’m assuming you’re using Apache2, what does your site config look like for the ssl site? Are you sure both configs are going to the same directory? As an example, the config I have for one of my sites looks like this: Non-SSL http://ladner.biohazard35.com/help/sample.txt SSL: http://ladner.biohazard35.com/help/sample-ssl.txt
Also, as a side note, you’re going to want to get a valid SSL certificate when you make it public. If you can’t afford to pay for one, StartCom SSL has free certificates that are valid with pretty much every browser. They are who I use for all of my SSL certificates.
https://prisonbodyworkout.com
is loading just fine for me (though I am getting an “untrusted connection” error because you are using a self-signed certificate), are you getting any errors or does it simply not load at all?