You'll understand in this post how to fix WHM’s web server redirect to the hostname problem.
There are the following easy steps to resolve the issue:.
Let us follow the below steps:
1. Log in to WHM.
2. Select the “Server Configuration” option from the menu side option
3. Select the “Tweak Settings” option.
4. Select the “Redirection” option under “Tweak Settings”.
5. Click the Off button and go to next option “Choose the closest matched domain for which that the system has a valid certificate when redirect from non-SSL to SSL URLs”. Previously known as “Always redirect to SSL/TLS”
6. “Non-SSL redirect destination” is already fix to the option “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 all your settings and start updating them.