<br>
<b>Warning</b>:  Undefined array key "HTTP_REFERER" in <b>/home/webhostingchenna/domains/webhostingchennai.co.in/public_html/blog/wp-content/plugins/wp-linkbuilder/plugin/plugin_class.inc.php</b> on line <b>637</b><br>
{"id":753,"date":"2018-03-05T17:15:04","date_gmt":"2018-03-05T11:45:04","guid":{"rendered":"http:\/\/www.webhostingchennai.co.in\/blog\/?p=753"},"modified":"2019-03-12T12:27:09","modified_gmt":"2019-03-12T06:57:09","slug":"domain-already-exists-error","status":"publish","type":"post","link":"https:\/\/www.webhostingchennai.co.in\/blog\/domain-already-exists-error\/","title":{"rendered":"Domain already exists error while adding a subdomain or addon domain in cPanel"},"content":{"rendered":"<h4><strong><span style="">Domain already exists error while adding a subdomain or addon domain in cPanel<\/span><\/strong><\/h4>\n<p>In this blog we are going to see a\u00a0 very common error when adding an addon or parked domain via cpanel. This error we see is usually very generic and doesn\u2019t provide any information such as \u201c<a href="">cannot create domain<\/a>\u201d. This is usually due to the domain name existing anywhere in the cPanel configuration and checking these locations should help you find the domain which is causing the issue.<\/p>\n<p>Reason 1: There is an existing zone file on the server.<\/p>\n</p><p>1) You can use the following command to check whether zone exists or not,<\/p>\n</p><pre># dig @server_ip domain.com<\/pre>\n<p>If there is a zone file exists, this will show the A record of the domain.com.<\/p>\n</p><p>2) If there is a zone file that exists, log into the server that the zone file is pointing to and make sure the domain doesn\u2019t exist:<\/p>\n</p><pre># \/scripts\/whoowns domain.com<\/pre>\n<p>If it does, you would need to remove this prior to adding their new addon domain. If it does not, continue on<\/p>\n</p><p>3) Remove the zone file from the server by running the following command:<\/p>\n</p><pre># \/scripts\/killdns domain.com<\/pre>\n<p>This will remove the DNS zone and will help you add the addon or parked domain again.<\/p>\n</p><p>You can also remove the DNS in WHM using &#8220;Delete a DNS Zone&#8221; option.<\/p>\n</p><p>Reason 2: There are old traces of the domain on the server<\/p>\n</p><p>1) Log into the server where the customer is seeing problems adding the domain and confirm that the domain does not exist on the server.<\/p>\n</p><pre># \/scripts\/whoowns domain.com<\/pre>\n<p>2) Check Cpanel files for traces of the problem domain name<\/p>\n</p><pre># grep domain.com \/var\/cpanel\/users\/*\r\n# grep -R domain.com \/var\/cpanel\/userdata\/*<\/pre>\n<p>3) Edit any files that are found and remove the traces of the domain name the customer is trying to add. You also may need to remove the entire file for the domain in the \/var\/cpanel\/userdata\/USERNAME\/ directory.<\/p>\n</p><p>4) Rebuild the user domains database<\/p>\n</p><pre># \/scripts\/updateuserdomains<\/pre>\n<p>5) Rebuild the Apache configuration and make sure apache is running with all traces of the bad domain removed.<\/p>\n</p><pre># \/scripts\/rebuildhttpdconf \r\n# service httpd restart<\/pre>\n<p>This should have all traces that were left behind from when this domain name was removed in the past and then will no longer cause a conflict when the customer tries to add the domain again.<\/p>\n</p><p>Think, this post help you in resolving. Please share your comments to improve.<\/p>\n</p><p>For securing your cPanel server, please <a href="">click here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":933,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[17,12,20],"tags":[93,96,95,94],"class_list":["post-753","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-whm","category-linux","category-vps","tag-addon-error","tag-dns-exists-error-in-adding-addon-domain","tag-dns-exists-error-in-adding-subdomain","tag-subdomain-error"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/03\/cPanel.jpg?fit=640%2C260&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9NOHH-c9","jetpack-related-posts":[{"id":2040,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/how-to-add-an-a-record-in-cpanel\/","url_meta":{"origin":753,"position":0},"title":"How to Add an A Record in cPanel: A Step-by-Step Guide","author":"Cavin","date":"October 6, 2024","format":false,"excerpt":"Add an A Record in cPanel - As a website owner or administrator, managing DNS (Domain Name System) records is an essential part of ensuring your website\u2019s availability and functionality. One of the most commonly used DNS records is the A Record, which maps your domain or subdomain to a\u2026","rel":"","context":"In &quot;VPS&quot;","block_context":{"text":"VPS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/vps\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/10\/sssd.jpg?fit=761%2C427&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/10\/sssd.jpg?fit=761%2C427&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/10\/sssd.jpg?fit=761%2C427&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/10\/sssd.jpg?fit=761%2C427&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1934,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/redirect-url-using-htaccess-file\/","url_meta":{"origin":753,"position":1},"title":"How to Redirect a URL Using an .htaccess File","author":"Cavin","date":"June 24, 2024","format":false,"excerpt":"What Is an .htaccess File? An .htaccess file is a text file used to configure different aspects of your website. You can use it to redirect URLs, modify URL structure, customize error pages, and more. Using an .htaccess file is a pretty easy way to make important changes to your\u2026","rel":"","context":"In &quot;VPS&quot;","block_context":{"text":"VPS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/vps\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/06\/htaccess-redit.png?fit=300%2C214&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1194,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/cpanel-logs\/","url_meta":{"origin":753,"position":2},"title":"cPanel Logs &#8211; Apache, Access, Email, Error, FTP, MySQL, WHM","author":"Cavin","date":"February 19, 2019","format":false,"excerpt":"cPanel Logs - Apache, Access, Email, Error, FTP, MySQL, WHM cPanel uses a graphical interface to make web hosting super easy, but there are command line tools you could familiarize yourself with for advanced troubleshooting. cPanel logs most activity that happens on a server to log files so you can\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/cpanel\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/cpanel-logs.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/cpanel-logs.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/cpanel-logs.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":2026,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/how-to-use-track-dns-in-cpanel\/","url_meta":{"origin":753,"position":3},"title":"How to Use Track DNS in cPanel","author":"Cavin","date":"September 29, 2024","format":false,"excerpt":"Track DNS in cPanel plays an excellent role in troubleshooting the network problems which might cause downtime for hosted websites. Using the network tool, you can look up any particular domain DNS and traceroute the network path of the server and the computer from which you are accessing the cPanel.\u2026","rel":"","context":"In &quot;VPS&quot;","block_context":{"text":"VPS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/vps\/"},"img":{"alt_text":"Track DNS in cPanel","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/09\/track.jpg?fit=1005%2C552&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/09\/track.jpg?fit=1005%2C552&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/09\/track.jpg?fit=1005%2C552&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/09\/track.jpg?fit=1005%2C552&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":590,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/installing-cwp-on-centos-7\/","url_meta":{"origin":753,"position":4},"title":"Installing CentOS Web Panel on Centos 7","author":"Cavin","date":"August 5, 2017","format":false,"excerpt":"In this tutorial we are going to see, how to install and configure\u00a0CentOS Web Panel on Centos 7 About CentOS Web Panel CentOS Web panel(CWP),\u00a0is a free, Open Source control panel that can be widely used for deploying a Web hosting environment easily. Unlike other Control panels, CWP is automatically\u2026","rel":"","context":"In &quot;VPS&quot;","block_context":{"text":"VPS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/vps\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/08\/CWPmain.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/08\/CWPmain.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/08\/CWPmain.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1877,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/domain-has-exceeded-the-max-defers-and-failures-per-hour\/","url_meta":{"origin":753,"position":5},"title":"Domain (example.com) has exceeded the max defers and failures per hour","author":"Cavin","date":"March 23, 2024","format":false,"excerpt":"If you are receiving an error similar to \"Domain example.com has exceeded the max defers and failures per hour (5\/5 (100%)) allowed\" in an email bounceback, it means that outgoing email from your domain has triggered a rule in the server that will stop any further email from going out\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/cpanel\/"},"img":{"alt_text":"max defers","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/03\/maxdiffer-1024x457.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/03\/maxdiffer-1024x457.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/03\/maxdiffer-1024x457.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/03\/maxdiffer-1024x457.png?resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/comments?post=753"}],"version-history":[{"count":4,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/753\/revisions"}],"predecessor-version":[{"id":1177,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/753\/revisions\/1177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/media\/933"}],"wp:attachment":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/media?parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/categories?post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/tags?post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}</p></a></p></pre></pre></pre></pre></pre></pre></pre></a></p></span></strong></h4>