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.

WHM

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

Server Configuration

3. Select the “Tweak Settings” option.

Tweak Settings

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

Redirection

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”

Choose the closest

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

SSL redirect

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

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