Skip to main content

Access to site via HTTPS but not HTTP?

Comments

4 comments

  • The Web Servant
    The problem is I can access my site through HTTPS but not HTTP. If I access it via normal URL, it says ... This site can"t be reached www_mysite_dot_com refused to connect.
    • Search Google for www_mysite_dot_com
    ERR_CONNECTION_REFUSED What settings in the WHM can I correct this issue? Thanks in advance.
    0
  • cPanelMichael
    Hello, Could you let us know the contents of the .htaccess file within the document root of the website? Ensure to replace real domain names with examples. Thank you.
    0
  • The Web Servant
    Thanks for your response, sir. Below is the content of the .htaccess under /public_html/ Options -MultiViews -Indexes RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule (.*) to
    0
  • cPanelMichael
    Hello, Do you have any additional redirects configured on the domain name (e.g. through a PHP script's configuration settings, or in additional .htaccess files in other directories)? If not, feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.
    0

Please sign in to leave a comment.