Bobcares

DNN Https Redirect – How we can do it?

by | Apr 3, 2020

Looking for the steps to redirect Http to Https in DNN? We can help you.

We perform the https redirect to encrypt all the connections to the DNN website.

At Bobcares, users often approach us with queries regarding DNN as a part of our Server Management Services.

Today, let’s see how our Support Engineers help our customers on this.

 

Why we need a Redirect?

By setting a redirection rule, it forwards the visitors and search engines to a different URL than the one they requested. In other words, it redirects a non-secure URL to a secure one.

Redirects are divided into server-side redirects and client-side redirects. Both types of redirects are implemented in various ways.

Redirecting the website from Http to Https is to ensure that the sensitive data is encrypted from a user browser to the web server or the network edge. Also, having SSL on the website give some trust to the visitors that our website is secure.

 

How to setup Https redirect in DNN?

Many of our customers approach us to setup https redirection on the DNN website. Let’s see how our Support Engineers do it for our customers.

Initially, we have to enable the SSL on the DNN website. To enable it, we follow the below steps on the DNN 09.04.03.

1. Login to the DNN site as a host/superuser.

2. Then we select Settings from the Persona Bar.

3. After that, we select Security under the Settings option.

4. Under the Security section, we select the More tab.

DNN https Redirect

5. Also, we enable the SSL Enforced option and we click the Save Button. This SSL section will be accessible only if we log in as a host/superuser.

6. Then we add the below redirection rule in the web.config file to redirect Http to https. The redirection rules are written in the web.config file located in the document root directory of the website.

<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="force http" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{R:1}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

Also, we can use the URL Rewrite module in IIS to redirect the Http to Https.

7. Finally, we save the web.config file and load the DNN website.

 

[Need assistance to set up DNN https Redirect? We’ll help you.]

 

Conclusion

In short, redirecting the website from Http to Https ensures secure traffic to the website. Today we saw how our Support Engineers add Https redirect on the DNN website.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.