Most websites can be forced to use SSL using the instructions provide in our article on forcing your website to use SSL. However, if you use the Premium Website Builder to create your site, that method may cause issues when publishing your site. The builder server will have difficulty communicating with your site if your builder publishing settings are set to use your domain name (instead of the server name). This can result in lost data in the eShop portion of your site when it's published.

Fortunately, the work around for this is quite easy to do in your .htaccess file. Below is the recommended code to put in your .htaccess file to force your site to use SSL but still allow the builder server to publish your site correctly.

Please note, yourdomain.com is just an example domain, be sure to replace that with your actual domain name.

RewriteEngine On
RewriteCond %{REMOTE_ADDR} !=173.205.127.6
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

Did you find this article helpful?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Christi Nickerson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.