{"id":356,"date":"2024-07-11T23:31:43","date_gmt":"2024-07-11T23:31:43","guid":{"rendered":"https:\/\/www.erodewebhosting.com\/knowledgebase\/?p=356"},"modified":"2024-07-11T23:34:55","modified_gmt":"2024-07-11T23:34:55","slug":"domain-already-exists-error-while-adding-addon-domain-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.erodewebhosting.com\/knowledgebase\/domain-already-exists-error-while-adding-addon-domain-in-cpanel\/","title":{"rendered":"Domain already exists error while adding addon domain in cpanel"},"content":{"rendered":"\n<p>Domain already exists error when adding an addon domain in cPanel typically indicates that the domain you are trying to add is already present in the server\u2019s configuration files or DNS records. This can happen due to various reasons such as the domain being previously added and not completely removed, or it being used in another account or service within the same server.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/05\/The-domain-already-exists-in-the-Apache-configuration.png\" alt=\"Domain already exists error\" class=\"wp-image-458\"\/><\/figure>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#1-check-for-existing-domain\">1. Check for Existing Domain<\/a><\/li><li><a href=\"#2-remove-the-domain-to-resolve-domain-already-exists-error\">2. Remove the Domain to resolve Domain already exists error<\/a><\/li><li><a href=\"#3-dns-zone-file\">3. DNS Zone File<\/a><\/li><li><a href=\"#4-apache-configuration\">4. Apache Configuration<\/a><\/li><li><a href=\"#5-whm-web-host-manager-checks\">5. WHM (Web Host Manager) Checks<\/a><\/li><li><a href=\"#6-email-accounts\">6. Email Accounts<\/a><\/li><li><a href=\"#7-restart-services\">7. Restart Services<\/a><\/li><li><a href=\"#8-contact-support\">8. Contact Support<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-check-for-existing-domain\">1. Check for Existing Domain<\/h3>\n\n\n\n<p>First, ensure that the domain isn\u2019t already added as a main domain, parked domain, or subdomain in your cPanel account or another account on the same <a href=\"https:\/\/www.erodewebhosting.com\/shared-web-hosting\/\">server<\/a> may cause Domain already exists error.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Addon Domains<\/strong>: Go to\u00a0<code>cPanel > Domains > Addon Domains<\/code>\u00a0and see if the domain is listed there.<\/li>\n\n\n\n<li><strong>Subdomains<\/strong>: Check\u00a0<code>cPanel > Domains > Subdomains<\/code>.<\/li>\n\n\n\n<li><strong>Parked Domains<\/strong>: Check\u00a0<code>cPanel > Domains > Aliases<\/code>\u00a0(or Parked Domains).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/05\/Domains-Listing.png\" alt=\"\" class=\"wp-image-456\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-remove-the-domain-to-resolve-domain-already-exists-error\">2. Remove the Domain to resolve Domain already exists error<\/h3>\n\n\n\n<p>If the domain exists in any of the above sections, remove it from there. This will free it up to be added as an addon domain.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/05\/images.png\" alt=\"\" class=\"wp-image-457\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-dns-zone-file\">3. DNS Zone File<\/h3>\n\n\n\n<p>Sometimes, the DNS zone files for the domain may still exist, which can cause conflicts. You can check and delete the zone file if it is not needed anymore.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Advanced Zone Editor<\/strong>: In cPanel, go to\u00a0<code>cPanel > Domains > Zone Editor<\/code>\u00a0and look for the domain. If it exists, you can remove the DNS records.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/05\/Screen-Shot-2023-01-23-at-11.51.45-AM.png\" alt=\"\" class=\"wp-image-459\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-apache-configuration\">4. Apache Configuration<\/h3>\n\n\n\n<p>The domain might still be present in the Apache configuration files. This requires root access to the server.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>SSH Access<\/strong>: Use SSH to log in to your server and check the Apache configuration files, usually located at\u00a0<code>\/etc\/httpd\/conf\/httpd.conf<\/code>\u00a0or\u00a0<code>\/etc\/apache2\/sites-available\/<\/code>.<\/li>\n\n\n\n<li><strong>Remove Entries<\/strong>: Look for entries related to the domain and remove them if they are not supposed to be there.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-whm-web-host-manager-checks\">5. WHM (Web Host Manager) Checks<\/h3>\n\n\n\n<p>If you have access to WHM, you can perform additional checks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>List Accounts<\/strong>: Go to\u00a0<code>WHM > Account Information > List Accounts<\/code>\u00a0and see if the domain is associated with any account.<\/li>\n\n\n\n<li><strong>DNS Zone Manager<\/strong>: Go to\u00a0<code>WHM > DNS Functions > Edit DNS Zone<\/code>\u00a0and check if the domain has an associated zone file.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-email-accounts\">6. Email Accounts<\/h3>\n\n\n\n<p>Check if there are any email accounts associated with the domain that might be causing the conflict.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Email Accounts<\/strong>: Go to\u00a0<code>cPanel > Email > Email Accounts<\/code>\u00a0and check for any email addresses using the domain.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/05\/Email-Accounts-in-cPanel-1024x415.png\" alt=\"\" class=\"wp-image-460\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"7-restart-services\">7. Restart Services<\/h3>\n\n\n\n<p>After making changes, you might need to restart certain services to apply the changes.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Restart Apache<\/strong>: Use SSH to log in and run\u00a0<code>service httpd restart<\/code>\u00a0or\u00a0<code>service apache2 restart<\/code>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/05\/images-1.png\" alt=\"\" class=\"wp-image-461\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Restart DNS<\/strong>: Restart the DNS service if necessary with\u00a0<code>service named restart<\/code>\u00a0or\u00a0<code>service bind9 restart<\/code>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"8-contact-support\">8. Contact Support<\/h3>\n\n\n\n<p>If you have gone through all the steps and the issue persists, it might be best to contact your\u00a0<a href=\"https:\/\/www.squarebrothers.com\/web-hosting-india\/\" target=\"_blank\" rel=\"noopener\">hosting provider\u2019s<\/a>\u00a0support team. They can help identify if the domain is stuck in the server\u2019s configuration or if there are any other underlying issues.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/05\/images-2.png\" alt=\"\" class=\"wp-image-464\"\/><\/figure>\n\n\n\n<p>By following these steps, you should be able to identify and resolve the Domain already exists error when adding an addon domain in cPanel.<\/p>\n\n\n\n<p>Domain already exists error when adding an addon domain in cPanel can occur for several common reasons. Understanding these can help you troubleshoot the issue more effectively. Here are some of the most frequent causes:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Domain Already Added as an Addon, Parked, or Subdomain<br>Addon Domain: The domain might already be added as an addon domain in the current or another cPanel account on the same server may cause Domain already exists error.<br>Parked Domain: The domain could be parked (also known as an alias) on another domain.<br>Subdomain: The domain might be set up as a subdomain within the same or another account.<\/li>\n\n\n\n<li>Incomplete Removal of the Domain<br>If the domain was previously added and then removed, some residual entries might still exist in the server\u2019s configuration files or DNS records cause Domain already exists error.<\/li>\n\n\n\n<li>DNS Zone File Exists<br>The DNS zone file for the domain may still exist on the server, causing a conflict when trying to add the domain again cause Domain already exists error.<\/li>\n\n\n\n<li>Email Accounts Associated with the Domain<br>Existing email accounts using the domain can sometimes cause conflicts cause Domain already exists error.<\/li>\n\n\n\n<li>Apache Configuration Entries<br>The domain might still be listed in Apache\u2019s configuration files, which can cause conflicts when re-adding the domain cause Domain already exists error.<\/li>\n\n\n\n<li>WHM (Web Host Manager) Entries<br>If you\u2019re using a WHM-managed server, the domain might be associated with another account or listed in WHM\u2019s DNS zones cause Domain already exists error.<\/li>\n\n\n\n<li>Incorrect Domain Spelling or Typo<br>A simple typo or incorrect spelling when adding the domain can cause cPanel to think the domain already exists cause Domain already exists error.<\/li>\n\n\n\n<li>Temporary Server or cPanel Glitches<br>Occasionally, server or cPanel software glitches can result in this error. Restarting the relevant services or the server might help resolve the issue cause Domain already exists error.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Domain already exists error when adding an addon domain in cPanel typically indicates that the domain you are trying to add is already present in the server\u2019s configuration files or&hellip;<\/p>\n","protected":false},"author":1,"featured_media":359,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[],"class_list":["post-356","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domain-already-exist-error"],"_links":{"self":[{"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":1,"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":358,"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/356\/revisions\/358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/media\/359"}],"wp:attachment":[{"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.erodewebhosting.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}