{"id":1958,"date":"2026-01-28T04:06:21","date_gmt":"2026-01-28T04:06:21","guid":{"rendered":"https:\/\/veerhost.com\/docs\/domains\/how-to-add-a-domain-in-cpanel-primary-vs-addon-domain\/"},"modified":"2026-04-01T23:44:18","modified_gmt":"2026-04-01T23:44:18","slug":"how-to-add-a-domain-in-cpanel-primary-vs-addon-domain","status":"publish","type":"docs","link":"https:\/\/veerhost.com\/de\/docs\/domains\/how-to-add-a-domain-in-cpanel-primary-vs-addon-domain\/","title":{"rendered":"How to Add a Domain in cPanel (Primary vs Addon Domain)"},"content":{"rendered":"<p class=\"wp-block-paragraph\">DNS sends visitors to the server, but cPanel must also be configured to serve the domain from a folder. This step is required for the site to load correctly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Primary domain<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Your primary domain is the main domain for the hosting account, usually served from:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>public_html<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Addon domain (additional website)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">An addon domain is a separate website hosted under the same account. When you add it, cPanel creates a <strong>document root<\/strong> folder like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>public_html\/example.com\/<\/code> (varies by setup)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Steps to add a domain<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In cPanel:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open <strong>Domains<\/strong><\/li>\n\n\n\n<li>Choose <strong>Create A New Domain<\/strong><\/li>\n\n\n\n<li>Enter your domain name<\/li>\n\n\n\n<li>Set the document root folder<\/li>\n\n\n\n<li>Save<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">After adding the domain<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Upload your website files to the document root folder. If you upload files to the wrong folder, you may see a blank page or default page.<\/p>","protected":false},"excerpt":{"rendered":"<p>DNS sends visitors to the server, but cPanel must also be configured to serve the domain from a folder. This step is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1947,"menu_order":5,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1958","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs\/1958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/comments?post=1958"}],"version-history":[{"count":2,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs\/1958\/revisions"}],"predecessor-version":[{"id":1960,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs\/1958\/revisions\/1960"}],"up":[{"embeddable":true,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/docs\/1947"}],"wp:attachment":[{"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/media?parent=1958"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/veerhost.com\/de\/wp-json\/wp\/v2\/doc_tag?post=1958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}