Jump to content

Recommended Posts

Posted

I have an SSL certificate installed on my domain (both example.heliohost.org and example.tk, and variants), and would like to make it so that users going to http://example.tk are redirected to https://example.tk. I am currently using mod_rewrite inside .htaccess to make this work, but every post I can find on this online says this is a last resort and that using apache virtualhosts is much better. The problem is, I have no idea where the necessary apache configuration files are located, if I need to create them, or if I even have access to them. Or, should I use cPanel's redirects along with a wildcard instead? Some other method? Thanks for any help.

 

Edit: Also, I'm on Ricky, if that helps.

Posted

Just use .htaccess. Even I don't really have access to virtualhosts. Cpanel gets very angry at me when I mess with httpd.conf. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...