{"id":206,"date":"2024-10-26T10:43:31","date_gmt":"2024-10-26T10:43:31","guid":{"rendered":"https:\/\/www.popularhosts.in\/blog\/?p=206"},"modified":"2024-10-26T10:55:38","modified_gmt":"2024-10-26T10:55:38","slug":"how-to-add-a-domains-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.popularhosts.in\/blog\/how-to-add-a-domains-in-cpanel\/","title":{"rendered":"How to Add a Domains in cPanel"},"content":{"rendered":"\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#adding-a-domain-in-website\">Adding a domain in website <\/a><ul><li><a href=\"#1-adding-as-an-addon-domain\">1. Adding as an Addon Domain<\/a><\/li><li><a href=\"#2-adding-as-an-alias-parked-domain\">2. Adding as an Alias (Parked Domain)<\/a><\/li><\/ul><\/li><li><a href=\"#adding-website-files-for-addon-domain\">Adding website files for addon domain <\/a><ul><li><a href=\"#1-determine-the-document-root\">1. Determine the Document Root<\/a><\/li><li><a href=\"#2-access-file-manager-or-use-ftp\">2. Access File Manager or Use FTP<\/a><\/li><li><a href=\"#3-verify-the-site\">3. Verify the Site<\/a><\/li><\/ul><\/li><li><a href=\"#maintenance-for-addon-domain-and-website\">Maintenance for addon domain and website <\/a><ul><li><a href=\"#1-maintain-addon-domains\">1. Maintain Addon Domains<\/a><\/li><li><a href=\"#2-managing-email-accounts-for-addon-domains\">2. Managing Email Accounts for Addon Domains<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"475\" height=\"375\" src=\"https:\/\/www.popularhosts.in\/blog\/wp-content\/uploads\/2024\/10\/image-2.png\" alt=\"\" class=\"wp-image-214\" style=\"width:314px;height:auto\" srcset=\"https:\/\/www.popularhosts.in\/blog\/wp-content\/uploads\/2024\/10\/image-2.png 475w, https:\/\/www.popularhosts.in\/blog\/wp-content\/uploads\/2024\/10\/image-2-300x237.png 300w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adding-a-domain-in-website\">Adding a domain in website <\/h2>\n\n\n\n<p>Adding a domains to cPanel can be done easily with either of these options:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-adding-as-an-addon-domain\">1. <strong>Adding as an Addon <a href=\"https:\/\/www.popularhosts.in\/domain-registration.html\" data-type=\"link\" data-id=\"https:\/\/www.popularhosts.in\/domain-registration.html\">Domain<\/a><\/strong><\/h3>\n\n\n\n<p>If you want to host a separate website on the new domain within the same cPanel account, add it as an <strong>Addon Domain<\/strong>. This is common if you want multiple sites on one hosting plan.<\/p>\n\n\n\n<p><strong>Steps:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Log in to<a href=\"https:\/\/cpanel.net\/\" data-type=\"link\" data-id=\"https:\/\/cpanel.net\/\" target=\"_blank\" rel=\"noopener\"> cPanel<\/a><\/strong>.<\/li>\n\n\n\n<li>Go to <strong>Domains<\/strong> > <strong>Addon Domains<\/strong>.<\/li>\n\n\n\n<li>In the <strong>New Domain Name<\/strong> field, enter the domain name you wish to add.<\/li>\n\n\n\n<li>Fill in the <strong>Subdomain<\/strong> and <strong>Document Root<\/strong> (usually filled in automatically).<\/li>\n\n\n\n<li>Click <strong>Add Domain<\/strong>.<\/li>\n\n\n\n<li>Update the new domain\u2019s <strong>DNS records<\/strong> to point to the server\u2019s nameservers, if necessary (check with your host).<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-adding-as-an-alias-parked-domain\">2. <strong>Adding as an Alias (Parked Domain)<\/strong><\/h3>\n\n\n\n<p>If you want the new domain to display the same content as an existing domain, add it as an <strong>Alias<\/strong>.<\/p>\n\n\n\n<p><strong>Steps:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to cPanel.<\/li>\n\n\n\n<li>Go to <strong>Domains<\/strong> > <strong>Aliases<\/strong>.<\/li>\n\n\n\n<li>In the <strong>Domain<\/strong> field, enter the new domain you want to park.<\/li>\n\n\n\n<li>Click <strong>Add Domain<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>Your new domain should now be active in cPanel. Make sure to update its DNS settings to point to your hosting provider if it\u2019s managed externally.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adding-website-files-for-addon-domain\">Adding website files for addon domain <\/h2>\n\n\n\n<p>To add website files for an addon domain in cPanel, follow these steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-determine-the-document-root\">1. <strong>Determine the Document Root<\/strong><\/h3>\n\n\n\n<p>When you add an addon domain, cPanel automatically creates a <strong>Document Root<\/strong> for it, typically under <code>public_html\/addon_domain_name<\/code>. This is the folder where you\u2019ll upload your website files.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-access-file-manager-or-use-ftp\">2. <strong>Access File Manager or Use FTP<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Option 1: Using File Manager<\/strong>\n<ol class=\"wp-block-list\">\n<li><strong>Log in to cPanel<\/strong>.<\/li>\n\n\n\n<li>Go to <strong>File Manager<\/strong>.<\/li>\n\n\n\n<li>Navigate to the <strong>public_html<\/strong> folder and locate the <strong>addon domain folder<\/strong> created (e.g., <code>public_html\/addon_domain_name<\/code>).<\/li>\n\n\n\n<li>Upload your website files to this folder by selecting <strong>Upload<\/strong> from the toolbar.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li><strong>Option 2: Using FTP<\/strong>\n<ol class=\"wp-block-list\">\n<li>Use an FTP client like FileZilla and log in with your cPanel FTP credentials.<\/li>\n\n\n\n<li>Navigate to the <strong>addon domain folder<\/strong> inside the <code>public_html<\/code> directory.<\/li>\n\n\n\n<li>Upload your website files to this folder.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-verify-the-site\">3. <strong>Verify the Site<\/strong><\/h3>\n\n\n\n<p>After uploading, visit your addon domain URL to ensure the website loads correctly. If you don\u2019t see your files, double-check that you uploaded them to the correct document root folder.<\/p>\n\n\n\n<p>This setup allows each addon domain to function independently with its own website content.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"maintenance-for-addon-domain-and-website\">Maintenance for addon domain and website <\/h2>\n\n\n\n<p>Maintaining addon domains and their email accounts in cPanel involves regular checks and organization to keep each domain running smoothly. Here\u2019s how to manage these effectively:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-maintain-addon-domains\">1. <strong>Maintain Addon Domains<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Accessing Addon Domains<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Go to <strong>cPanel<\/strong> > <strong>Domains<\/strong> > <strong>Addon Domains<\/strong> to see a list of all your addon domains.<\/li>\n\n\n\n<li>From here, you can modify the document root, manage redirects, and remove addon domais if needed.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Organizing Files<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Each addon doma has its own <strong>Document Root<\/strong> (usually under <code>public_html\/doma_name<\/code>).<\/li>\n\n\n\n<li>Keep each domai&#8217;s files organized in its designated folder to avoid confusion or accidental overwriting.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Updating DNS and SSL<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Ensure each addon domain&#8217;s <strong>DNS settings<\/strong> point to your hosting provider if managed externally.<\/li>\n\n\n\n<li>Set up <strong>SSL certificates<\/strong> for each addon  through <strong>cPanel<\/strong> > <strong>SSL\/TLS<\/strong>. Many hosting providers offer free SSL via Let\u2019s Encrypt for addon.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-managing-email-accounts-for-addon-domains\">2. <strong>Managing Email Accounts for Addon Domains<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Creating Email Accounts<\/strong>:\n<ol class=\"wp-block-list\">\n<li>In <strong>cPanel<\/strong>, go to <strong>Email<\/strong> > <strong>Email Accounts<\/strong>.<\/li>\n\n\n\n<li>Choose the addon  from the dropdown in the <strong>Domain<\/strong> field.<\/li>\n\n\n\n<li>Enter the email name, create a password, and click <strong>Create<\/strong>.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li><strong>Accessing Email<\/strong>:\n<ul class=\"wp-block-list\">\n<li>You can access email accounts for each domain through <strong>Webmail<\/strong> in cPanel or set them up in an email client (e.g., Outlook or Thunderbird).<\/li>\n\n\n\n<li>To log in to Webmail, use <code>yourdoma.com\/webmail<\/code> and enter your email credentials.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Setting Up Forwarders and Autoresponders<\/strong>:\n<ul class=\"wp-block-list\">\n<li>To forward emails or set up autoresponders, go to <strong>Email<\/strong> > <strong>Forwarders<\/strong> or <strong>Autoresponders<\/strong> in cPanel and follow the setup instructions.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Email Maintenance<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Regularly clear out or archive emails to manage storage limits.<\/li>\n\n\n\n<li>Ensure each email account is secure by regularly updating passwords and enabling <strong>Spam Filters<\/strong> from <strong>cPanel<\/strong> > <strong>Spam Filters<\/strong> to reduce spam.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>Maintaining your addon  and emails with these steps ensures they run smoothly and stay secure.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding a domain in website Adding a domains to cPanel can be done easily with either of these options: 1. Adding as an Addon Domain If you want to host&hellip;<\/p>\n","protected":false},"author":1,"featured_media":212,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/posts\/206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":4,"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions\/215"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/media\/212"}],"wp:attachment":[{"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.popularhosts.in\/blog\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}