Step::1 Login to WHM root and go to Server Configuration
Step::2 Open Tweak settings
Step::3 Now click on Redirection tab and click on the following options:
“Always redirect to SSL/TLS” option must be disabled to make changes to the redirect destination
Step::4 Finally, we will select the radio button for “Origin Domain Name” in both the available options
Step::5 Now, just simply click on the “Save” button and your changes will be applied and the server will no longer redirect to the hostname by default
Visit our Blog for more details. You can also watch the video here.