only secure "https://" possible?

basic

Active Member
Nov 10, 2004
41
0
156
Hello All:

A simple question:
Is it possible (in WHM) to set a domain hosting account up, so that it is ONLY accessible via https://.... and not http://... Someone trying to access http://domain.com would then be forwarded to https://domain.com -- is that possible, can this be set up? If so, how?

Thanks for your input.


John
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hello All:

A simple question:
Is it possible (in WHM) to set a domain hosting account up, so that it is ONLY accessible via https://.... and not http://... Someone trying to access http://domain.com would then be forwarded to https://domain.com -- is that possible, can this be set up? If so, how?

Thanks for your input.


John
You could set up a redirect rule to direct traffic going to http:// to go to https://. This can be done by using mod_rewrite directives in .htaccess. You can find information on how to do this at:

http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html