How to Resolve the Web Server Redirect to the Hostname in WHM

March 29, 2022 / cPanel & WHM

In this post, you’ll learn how to fix WHM’s Web Server redirect to the hostname problem. Here are some easy steps to resolve the issue.

Let us follow the below steps:

1. Log in to WHM.

2. Choose the “Server Configuration” option from the menu on the side.

3. Select the “Tweak Settings” option.

4. Choose the “Redirection” option under “Tweak Settings”.

5. Tick the Off button next to “Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs”. Formerly known as “Always redirect to SSL/TLS”

6. “Non-SSL redirect destination” is already set to “Origin Domain Name”.

7. Set the “Origin Domain Name” as the “SSL redirect destination”.

8. Finally click on the “Save button”.

9. WHM will save your settings and start updating them. 

This way you can fix WHM’s Web Server redirect to the hostname problem. Visit eukhost knowledge base section for more interesting KBs.

Spread the love