0

I have designed a website - say dublinisgreat.com I have bought a SSL cert and then enabled it. So if I type https://www.dublinisgreat.com it works. I also went to the Web host manager's .Htaccess folder and set the redirects i.e. the following: If http://www.dublinisgreat.com then it should go to the above https site (I am only allowed to have 2 hyperlinks as a new user) and all the variations.

However, this redirect is not working and when I press dublinisgreat.com it is still not showing the 'lock' in IE and in Chrome it says 'Your connection is not encrypted'. Any suggestions or ideas how I can fix this?

Many thanks, Sandeep

2
  • What webserver software are you using? Aug 21, 2012 at 17:49
  • The problem is related to the redirect then, not to SSL.
    – b0fh
    Aug 21, 2012 at 22:25

1 Answer 1

1

From what you've said it would seem that your web server software is listening on port 80 (default for unencrypted web traffic) and 443 (default for SSL encrypted web traffic) and serving the content on both, which is a pretty common configuration.

The details to fix it would depend on the specific software that you're using but in general there's two options you could go for.

1) close port 80 and only run on 443 with SSL enabled. That way anyone going to your site would need to remember to use https:// at the start of the request or it won't work. So people going to http://www.dublinisgreat.com would just get an error.

That's not massively user friendly so the other option would be

2) automatically redirect any requests for the unencrypted site on port 80 to the encrypted site on port 443. How you do that is down to the specific software that you're using, but for Apache as an example one way to do it would be this

0

You must log in to answer this question.