{"id":11410,"date":"2021-08-28T08:52:01","date_gmt":"2021-08-28T08:52:01","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=11410"},"modified":"2024-04-24T07:32:09","modified_gmt":"2024-04-24T06:32:09","slug":"fix-issue-web-server-redirecting-hostname-whm","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/","title":{"rendered":"How to Fix the Issue of Web Server Redirecting to the Hostname from WHM?"},"content":{"rendered":"<p>Is your web server redirecting to hostname when you access web applications like\u00a0WHM, cPanel or Webmail? One of the reasons causing the issue is the expired SSL\u00a0security on that domain. It keeps redirecting to the hostname due to a default setting for the SSL and Non-SSL redirection.<\/p>\n<h2>To Fix the Issue of Web Server Redirecting to the Hostname<\/h2>\n<p>1. Log on to your root account of the WHM panel.<\/p>\n<p>2. Select the <strong>Server Configuration<\/strong>\u00a0option from the navigation menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11850\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_configuration.png\" alt=\"\" width=\"1919\" height=\"569\" \/><\/p>\n<p>3. Click on <strong>Tweak Settings<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12040\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_tweak_settings.png\" alt=\"\" width=\"1420\" height=\"720\" \/><\/p>\n<p>4. Go to the <strong>Redirection<\/strong> section.<\/p>\n<p>Here, you will find the redirection settings. However, a few of them will not be available for you to configure.<\/p>\n<p>5. Click the <strong>Off\u00a0<\/strong>switch for the<em>\u00a0Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs. Formerly known as \u201cAlways redirect to SSL\/TLS\u201d<\/em> option.<\/p>\n<p>The previously unresponsive settings will become available for configuring. Here, the\u00a0<em>Non-SSL redirect destination<\/em>\u00a0is already set to <strong>Origin Domain Name<\/strong>\u00a0by default.<\/p>\n<p>6. Set the <em>SSL redirect destination<\/em> as <strong>Origin Domain Name<\/strong>. The settings should look like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12640\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_tweak_settings_redirection.png\" alt=\"\" width=\"1355\" height=\"258\" \/><\/p>\n<p>7. Scroll down to the end and click the <strong>Save<\/strong> button.<\/p>\n<p>The WHM will save your configuration and begin the updations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is your web server redirecting to hostname when you access web applications like\u00a0WHM, cPanel or Webmail? One of the reasons causing the issue is the expired SSL\u00a0security on that domain. It keeps redirecting to the hostname due to a default setting for the SSL and Non-SSL redirection. To Fix the Issue of Web Server Redirecting [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,24,229,4],"tags":[2403,1104,2402,175,194],"class_list":["post-11410","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","category-ssl-issues-faq","category-whm","category-web-hosting-faq","tag-fix-web-server-redirection","tag-web-server","tag-web-server-redirecting-to-hostname","tag-whm","tag-whm-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Fix the Issue of Web Server Redirecting to the Hostname from WHM<\/title>\n<meta name=\"description\" content=\"This article will help to fix the issue of your web server redirecting to hostname. There are some minor settings you have to configure from WHM.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fix the Issue of Web Server Redirecting to the Hostname from WHM\" \/>\n<meta property=\"og:description\" content=\"This article will help to fix the issue of your web server redirecting to hostname. There are some minor settings you have to configure from WHM.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-28T08:52:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T06:32:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_configuration.png\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/\",\"name\":\"Fix the Issue of Web Server Redirecting to the Hostname from WHM\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_configuration.png\",\"datePublished\":\"2021-08-28T08:52:01+00:00\",\"dateModified\":\"2024-04-24T06:32:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"This article will help to fix the issue of your web server redirecting to hostname. There are some minor settings you have to configure from WHM.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/10\/da_email_accounts_modify.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/10\/da_email_accounts_modify.jpg\",\"width\":1903,\"height\":503},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix the Issue of Web Server Redirecting to the Hostname from WHM?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fix the Issue of Web Server Redirecting to the Hostname from WHM","description":"This article will help to fix the issue of your web server redirecting to hostname. There are some minor settings you have to configure from WHM.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/","og_locale":"en_GB","og_type":"article","og_title":"Fix the Issue of Web Server Redirecting to the Hostname from WHM","og_description":"This article will help to fix the issue of your web server redirecting to hostname. There are some minor settings you have to configure from WHM.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-08-28T08:52:01+00:00","article_modified_time":"2024-04-24T06:32:09+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_configuration.png","type":"","width":"","height":""}],"author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/","name":"Fix the Issue of Web Server Redirecting to the Hostname from WHM","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_configuration.png","datePublished":"2021-08-28T08:52:01+00:00","dateModified":"2024-04-24T06:32:09+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"This article will help to fix the issue of your web server redirecting to hostname. There are some minor settings you have to configure from WHM.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/10\/da_email_accounts_modify.jpg","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/10\/da_email_accounts_modify.jpg","width":1903,"height":503},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/fix-issue-web-server-redirecting-hostname-whm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Fix the Issue of Web Server Redirecting to the Hostname from WHM?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"views":409,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/11410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=11410"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/11410\/revisions"}],"predecessor-version":[{"id":15600,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/11410\/revisions\/15600"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=11410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=11410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=11410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}