{"id":314,"date":"2021-07-23T12:27:39","date_gmt":"2021-07-23T12:27:39","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/service-subdomains-use-the-cpanel-service-ssl\/"},"modified":"2021-07-23T12:27:39","modified_gmt":"2021-07-23T12:27:39","slug":"service-subdomains-use-the-cpanel-service-ssl","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/service-subdomains-use-the-cpanel-service-ssl\/","title":{"rendered":"Service Subdomains Use the cPanel Service SSL"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>In cPanel &#038; WHM version 11.40 and earlier, visitors who accessed a website via <code>https<\/code> without an SSL configuration saw a connection error.<\/p>\n<p>In cPanel &#038; WHM version 11.42 and later, we modified Apache\u2019s configuration to properly use service subdomains (proxy subdomains) with SSL.<\/p>\n<ul>\n<li>\n<p>Service subdomain (proxy subdomain) virtualhosts now handle SSL and non-SSL connections separately.<\/p>\n<\/li>\n<li>\n<p>Each service subdomain\u2019s (proxy subdomain\u2019s) virtualhost explicitly binds to all of the assigned IP addresses on a server.<\/p>\n<\/li>\n<li>\n<p>SSL virtualhost configurations \u2014 such as the <code>cpanel<\/code>, <code>whm<\/code>, <code>webdisk<\/code>, and <code>webmail<\/code> service subdomains (proxy subdomains) \u2014 use the cPanel service SSL certificate.<\/p>\n<\/li>\n<\/ul>\n<p>In cPanel &#038; WHM version 62 and later, cPanel &#038; WHM enables SNI functionality by default for SSL certificates on service subdomains (proxy subdomains). SNI allows multiple SSL certificates to use a single IP address and port number.<\/p>\n<p>Due to these changes, Apache uses cPanel\u2019s service SSL certificate to secure websites that do not have an SSL certificate. Visitors to sites without an SSL certificate may see an SSL warning, because Apache used cPanel\u2019s service SSL certificate to secure the site.<\/p>\n<h2 id=\"how-to-bypass-the-use-of-service-subdomains-proxy-subdomains-and-the-cpanel-service-ssl-certificate\">How to bypass the use of service subdomains (proxy subdomains) and the cPanel service SSL certificate<\/h2>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        We recommend that you do <strong>not<\/strong> bypass your server\u2019s service subdomain (proxy subdomain) configuration.\n    <\/div>\n<\/div>\n<p>To prevent the use of the cPanel service SSL certificate for the <code>cpanel<\/code>, <code>whm<\/code>, <code>webdisk<\/code>, and <code>webmail<\/code> subdomains, you <strong>must<\/strong> perform the following steps:<\/p>\n<ol>\n<li>\n<p>Disable the <em>Service subdomains<\/em> setting in the <em>Domains<\/em> section of WHM\u2019s <em>Tweak Settings<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Server Configuration &gt;&gt; Tweak Settings<\/em>). <\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        In cPanel &#038; WHM version 76, we renamed the <em>Proxy Subdomains<\/em> setting to <em>Service Subdomains<\/em>.\n    <\/div>\n<\/div>\n<\/li>\n<li>\n<p>Use cPanel\u2019s <em>Subdomains<\/em> interface (<em>cPanel &gt;&gt; Home &gt;&gt; Domains &gt;&gt; Subdomains<\/em>) to manually create each service\u2019s subdomain (for example, <code>cpanel<\/code>, <code>whm<\/code>, <code>webdisk<\/code>, and <code>webmail<\/code>).<\/p>\n<\/li>\n<li>\n<p>Redirect each service\u2019s subdomain to the appropriate secure URL and port as follows:<\/p>\n<ul>\n<li>\n<p><strong>cPanel<\/strong>: <code>cpanel.example.com<\/code> to <code>https:\/\/example.com:2083<\/code><\/p>\n<\/li>\n<li>\n<p><strong>WHM<\/strong>:    <code>whm.example.com<\/code> to <code>https:\/\/example.com:2087<\/code><\/p>\n<\/li>\n<li>\n<p><strong>Web Disk<\/strong>:   <code>webdisk.example.com<\/code> to <code>https:\/\/example.com:2078<\/code><\/p>\n<\/li>\n<li>\n<p><strong>Webmail<\/strong>: <code>webmail.example.com<\/code> to   <code>https:\/\/example.com:2096<\/code><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>When you navigate to <code>webmail.example.com<\/code>, the server redirects you to <code>https:\/\/example.com:2096<\/code> and uses the <code>example.com<\/code> domain\u2019s SSL certificate to secure the connection.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview In cPanel &#038; WHM version 11.40 and earlier, visitors who accessed a website via https without an SSL configuration saw a connection error. In cPanel &#038; WHM version 11.42 and later, we modified Apache\u2019s configuration to properly use service subdomains (proxy subdomains) with SSL. Service subdomain (proxy subdomain) virtualhosts now handle SSL and non-SSL &hellip;<\/p>\n","protected":false},"author":1,"featured_media":315,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/314"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/314\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/315"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}