{"id":3397,"date":"2022-01-04T22:32:10","date_gmt":"2022-01-04T17:02:10","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=3397"},"modified":"2022-07-25T10:05:12","modified_gmt":"2022-07-25T04:35:12","slug":"unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/","title":{"rendered":"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows"},"content":{"rendered":"\n<p>For Plesk on Windows<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Connect to the Plesk server via RDP.<\/li><li>Start a command prompt as an Administrator.<\/li><li>Create a database dump of the Plesk database plesk db dump psa &gt; C:\\psa_backup.sql<\/li><li>Access the Plesk database: plesk db<\/li><li>Run these commands to remove orphaned records: delete from dns_recs where dns_zone_id in (select id from dns_zone where id not in (select dns_zone_id from domains) and id not in (select dns_zone_id from domain_aliases)); delete from dns_zone where id not in (select dns_zone_id from domains) and id not in (select dns_zone_id from domain_aliases);<\/li><li>Exit MySQL: mysql&gt; exit<\/li><li>Create the domain\/subdomain\/alias in Plesk \/ Rerun the migration\/restore.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>For Plesk on Windows Connect to the Plesk server via RDP. Start a command prompt as an Administrator. Create a database dump of the Plesk database plesk db dump psa &gt; C:\\psa_backup.sql Access the Plesk database: plesk db Run these commands to remove orphaned records: delete from dns_recs where dns_zone_id in (select id from dns_zone [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[35,37],"tags":[],"class_list":["post-3397","post","type-post","status-publish","format-standard","hentry","category-plesk","category-windows"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows | 24x7serversupport Blog<\/title>\n<meta name=\"description\" content=\"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-04T17:02:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-25T04:35:12+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/\",\"name\":\"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2022-01-04T17:02:10+00:00\",\"dateModified\":\"2022-07-25T04:35:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"description\":\"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows\",\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows | 24x7serversupport Blog","description":"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/","og_locale":"en_US","og_type":"article","og_title":"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows | 24x7serversupport Blog","og_description":"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows","og_url":"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/","og_site_name":"24x7serversupport Blog","article_published_time":"2022-01-04T17:02:10+00:00","article_modified_time":"2022-07-25T04:35:12+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/","url":"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/","name":"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2022-01-04T17:02:10+00:00","dateModified":"2022-07-25T04:35:12+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"description":"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows","breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/unable-to-create-a-new-domain-subdomain-or-migrate-rename-an-existing-domain-subdomain-dns-record-already-exists-plesk-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Unable to create a new domain\/subdomain or migrate\/rename an existing domain\/subdomain: DNS record already exists Plesk Windows"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=3397"}],"version-history":[{"count":2,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3397\/revisions"}],"predecessor-version":[{"id":3435,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3397\/revisions\/3435"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=3397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=3397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=3397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}