not open but without https:// site is working properly.

October 9, 2014 975 views


I have create port443 and port80 but our site is not open with but without https site is working properly.

So please guide what will have to do for https://

  • 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?

  • 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:

    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.

  • 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.

3 Answers

I have setup as you given files in same directory sites-availabe but still problems are same our site is not redirecting to https://

Have another answer? Share your knowledge.