InMotion Hosting Support Center

In this article I'm going to show you how you can use a secure SSL certificate on your PHP-Nuke installation to encrypt data transmission between the server and clients.

When you are accepting input on your website that could be of a secure nature, this information is transmitted in clear-text across the Internet. If someone was in a public WiFi area for example, and they were entering in their credit card details, someone also on that same WiFi network could attempt to intercept their network packets and read the non-encrypted data.

When using a SSL (Secure Socket Layer) certificate on your PHP-Nuke site, this allows the server to encrypt data, so that if someone was trying to intercept the network packets, they would only be left with unusable encrypted data and the sensitive data would remain secure.

Using a SSL certificate with PHP-Nuke

PHP-Nuke actually doesn't require any special changes in order to take advantage of an SSL certificate. You just need to either use the shared SSL certificate on your server, or order a dedicated SSL certificate for your domain.

In order to find your shared SSL address for your domain you'll need to find your server name in cPanel. In this example I have my PHP-Nuke installed to a sub-directory /phpnuke, so in order to access my PHP-Nuke installation securely over a SSL certificate, I'd use one of the following formats:

Shared SSL format:

Dedicated SSL format:

Force a SSL certificate with .htaccess

If you want to force all of your visitors to access your PHP-Nuke site only over the SSL connection, you can force a SSL connection using the .htaccess file on your account.

In this example, here is the .htaccess code I used on my site to take advantage of the shared SSL for my PHP-Nuke site:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} phpnuke
RewriteRule ^(.*)$$1 [R,L]

Now when I attempt to go to my PHP-Nuke site un-securely with this:

My web-browser automatically redirects me to the secure version of:

You should now understand how you can take advantage of an SSL certificate providing encyption for your PHP-Nuke website.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!