instruct your isp to redirect all http traffic to https. this is a fairly common procedure.
Main Topics
Browse All TopicsI have recently purchased an SSL certificate for my website from Network Solutions. I also host the site with them, so they have installed the certificate for me. It seems to be working fine -- if I go to my site using https instead of http, I see the little padlock icon which shows that my site is secure. However, I am also still able to access my site by using http, and then the padlock icon does not appear.
So... here is my question: how do I make sure all visitors who come to my site will see https and the padlock icon? Is there something I must do to make that happen? Is this a matter of setting some kind of special properties or permissions on individual site files or directories?
In answering, please keep in mind that I am hosting with Network Solutions, so I don't have too much direct control over the web server. As part of my hosting package, they give me a hosting control panel with a file manager and some other tools for managing my site, but I'm not very sophisticated about using those. I originally created and published the site using Dreamweaver, which I am still using to update the content (connecting to Network Solutions' server via Dreamweaver FTP).
In other words, I am not very knowledgeable about web server admin/configuration. I do know that my site is hosted on an NT server, but that's about the extent of my server-related knowledge, so please dumb down your answer accordingly. Thanks for your patience with my stoopidity.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The hosting company can set it up via IIS - just ask them.
Also if it is ASP, add this before the <html> element:
<%
dim servPro
servPro = Request.ServerVariables("H
if servPro = "off" then
response.redirect "https://www.example.com/"
response.end
end if
%>
And this will redirect http://www.example.com to https://www.example.com
-Corey
Hi, Corey,
I tried your code, but got into an infinite loop where my page just kept redirecting to itself over and over and over, and never actually displayed.
To try to get a better idea of what was happening, I commented out the conditional containing the redirect and I just put Response.Write(servPro) so that I could see what the value of that variable was.
I found that the value was always "off" whether I tried coming to the page with http at the beginning of the URL or with https at the beginning of the URL. Either way, servPro is "off". What does this mean, do you think? I am mystified.
I guess maybe I just have to contact Network Solutions, my web host, and ask them to do whatever it takes to make this work. I assume this is what you mean by having my hosting company do it via IIS.
Thank you, and thanks to everyone else, for trying to help me. I have designed/published about 30 websites over the past five years without a hitch, but none of them were secure sites. This is my first attempt at making a site secure and I'm finding it pretty baffling.
Every online tutorial/how-to I read about this subject seems to assume that the reader already has considerable expertise/knowledge of server configuration/administrati
Thanks for all your help so far.
Teresa
>>>I tried your code, but got into an infinite loop where my page just kept redirecting to itself over and over and over, and never actually displayed
That's odd, we use that on a number of sites without any problems. Let me copy and past it again from the code without changing anything
<%
dim servPro
servPro = Request.ServerVariables("H
if servPro = "off" then
response.redirect "https://www.loudcommerce.
response.end
end if
%>
I wonder if you should redirect it to a page? like https://www.example.com/de
>>I guess maybe I just have to contact Network Solutions, my web host, and ask them to do whatever it takes to make this work. I assume this is what you mean by having my hosting company do it via IIS
Yes that is what we have done a few websites for the connection on 443
-Corey
Business Accounts
Answer for Membership
by: thenonePosted on 2007-08-01 at 14:04:22ID: 19612887
Here is what I would do. I would setup a landing page letting people know that they will be entering a secure site and then have a button with the https url in it. Or you can have them setup the site to require 128bit encryption.