{"id":84,"date":"2012-03-03T05:41:54","date_gmt":"2012-03-03T05:41:54","guid":{"rendered":"http:\/\/www.nettigritty.com\/faq\/?p=84"},"modified":"2012-03-03T05:45:39","modified_gmt":"2012-03-03T05:45:39","slug":"dns-zone-of-a-domain-alias-cannot-be-edited-because-the-domain-alias-is-turned-off","status":"publish","type":"post","link":"https:\/\/www.nettigritty.com\/kb\/windows\/dns-zone-of-a-domain-alias-cannot-be-edited-because-the-domain-alias-is-turned-off\/","title":{"rendered":"DNS zone of a domain alias cannot be edited because the domain alias is turned off"},"content":{"rendered":"<p>Sometimes activating the DNS zone of a domain can give the error &#8220;DNS zone of a domain alias cannot be edited because the domain alias is turned off&#8221;. To correct this, open up command prompt in Remote Desktop and type the command<\/p>\n<blockquote><p><code>cd %plesk_bin%<\/code><\/p><\/blockquote>\n<p>Next, enter the command below (in one line) replacing domain.com with the affected domain<\/p>\n<blockquote><p><code>dbclient.exe --direct-sql --sql=\"update dns_zone set status=0 where name='domain.com';<\/code><\/p><\/blockquote>\n<p>You can then switch off and on the DNS and  it should resolving fine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes activating the DNS zone of a domain can give the error &#8220;DNS zone of a domain alias cannot be edited because the domain alias is turned off&#8221;. To correct this, open up command prompt in Remote Desktop and type the command cd %plesk_bin% Next, enter the command below (in one line) replacing domain.com with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":6,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":90,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/84\/revisions\/90"}],"wp:attachment":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}