﻿{"id":471,"date":"2024-07-26T23:32:09","date_gmt":"2024-07-26T21:32:09","guid":{"rendered":"http:\/\/www.nemerko.org\/?p=471"},"modified":"2024-09-09T21:56:52","modified_gmt":"2024-09-09T19:56:52","slug":"english-how-to-fix-domain_name-directory-problem-after-import-a-website","status":"publish","type":"post","link":"http:\/\/www.nemerko.org\/en\/english-how-to-fix-domain_name-directory-problem-after-import-a-website\/","title":{"rendered":"How to fix &#8220;[DOMAIN_NAME]&#8221; directory problem after import a website"},"content":{"rendered":"<p><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">SolidCP is a successful, useful and user-friendly hosting panel.<\/span><\/span> <span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">The best part is that it is a free open-source software.<\/span><\/span> <span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">I am currently using version 1.4.9 of this software. Due to a disk problem, we experienced on the server where it was installed, it was giving an error when I wanted to change the file\/directory writing permissions of a user&#8217;s website.<\/span><\/span><\/p>\n<p><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">Thereupon, after the necessary disk change, while repairing the account of this corrupted user, I had to create a new space and move the existing assets to this new space.<\/span><\/span><span class=\"jCAhz\"><span class=\"ryNqvb\"> On my first attempt, all the sites got mixed up and crashed.<\/span><\/span> <span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">Because strangely, all the imported sites had created a directory called <em>[DOMAIN_NAME]<\/em> under the directory where the space belonging to the user was defined and gathered the <em>\/data, \/logs<\/em> and <em>\/wwwroot<\/em> directories under it.<\/span><\/span> <span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">For this reason, I completely deleted the space and recreated it, and after importing the other assets, I decided to import the websites one by one.<\/span><\/span><\/p>\n<p>After that, when I imported the first site, it created a folder named <em>[DOMAIN_NAME]<\/em> and copied the site to this folder. After trying a few methods, I solved the problem as follows:<\/p>\n<p>&nbsp;<\/p>\n<p>1- First, stop the website and application pool via the SolidCP panel and do not close or change to this page.<\/p>\n<p><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-185900.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-475 alignnone\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-185900.png\" alt=\"\" width=\"547\" height=\"308\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>2- Then change the name of the physical folder on the web server with the website name.<\/p>\n<p><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-190511.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-476\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-190511.png\" alt=\"\" width=\"556\" height=\"391\" \/><\/a><\/p>\n<p>3- Then change the folder path on the website&#8217;s basic settings page on IIS.<\/p>\n<p><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-190357.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-477\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-190357.png\" alt=\"\" width=\"564\" height=\"371\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>4- Then change the folder path on the website&#8217;s log settings page on IIS.<\/p>\n<p><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-235043.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-478\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-235043.png\" alt=\"\" width=\"346\" height=\"338\" \/><\/a><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-27-000218.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-480\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-27-000218.png\" alt=\"\" width=\"448\" height=\"353\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>5- Then update the Path information on the website properties page in SolidCP and click the <em>Save Changes<\/em> button:<\/p>\n<p><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/SolidCP_Website-manager1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-483\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/SolidCP_Website-manager1.png\" alt=\"\" width=\"490\" height=\"271\" \/><\/a><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-195307.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-486\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-195307.png\" alt=\"\" width=\"674\" height=\"444\" \/><\/a><\/p>\n<p>*If the above page does not allow you to change the path text, go to the relevant hosting plan settings and enable the &#8220;Change Site\/VirtDir Home Folder&#8221; option.<\/p>\n<p>&nbsp;<\/p>\n<p>6- After you see the text <em>Website updated successfully<\/em> in the green band, start the website and application pool in order.<\/p>\n<p><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-195704.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-490\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-195704.png\" alt=\"\" width=\"653\" height=\"421\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>If you are using an SSL on the site, you will see the image below on the SSL tab of the website properties page. Click the <em>Import Existing Certificate<\/em>\u00a0button here.<\/p>\n<p><a href=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-195907.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-491\" src=\"http:\/\/www.nemerko.org\/wp-content\/uploads\/2024\/07\/Ekran-goruntusu-2024-07-26-195907.png\" alt=\"\" width=\"922\" height=\"502\" \/><\/a><\/p>\n<p>This method worked in my case. I wanted to share my experience in case anyone needs the same information.<\/p>\n<div style='text-align:left' class='yasr-auto-insert-visitor'><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_366cb062061a1' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-471\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-366cb062061a1'\r\n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-366cb062061a1'\r\n                                      class='yasr-rater-stars-vv'\r\n                                      data-rater-postid='471'\r\n                                      data-rating='0'\r\n                                      data-rater-starsize='24'\r\n                                      data-rater-readonly='false'\r\n                                      data-rater-nonce='be42f966e1'\r\n                                      data-issingular='false'\r\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-366cb062061a1\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\"\r\n                                   class=\"yasr-dashicons-visitor-stats\"\r\n                                   data-postid=\"471\"\r\n                                   id=\"yasr-stats-dashicon-366cb062061a1\">\r\n                                   <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\r\n                               <\/svg><span id=\"yasr-vv-text-container-366cb062061a1\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-366cb062061a1\">0<\/span>  Average: <span id=\"yasr-vv-average-container-366cb062061a1\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-366cb062061a1' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-366cb062061a1'\r\n                              class='yasr-vv-bottom-container'\r\n                              style='display:none'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>SolidCP is a successful, useful and user-friendly hosting panel. The best part is that it is a free open-source software. I am currently using version 1.4.9 of this software. Due to a disk problem, we experienced on the server where it was installed, it was giving an error when I wanted to change the file\/directory [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":474,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[1,13,6],"tags":[115,114,117,116],"class_list":["post-471","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genel","category-writing","category-knoweldge","tag-import-website","tag-solidcp","tag-website-panel","tag-domain_name"],"aioseo_notices":[],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"_links":{"self":[{"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/posts\/471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/comments?post=471"}],"version-history":[{"count":0,"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/posts\/471\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/media\/474"}],"wp:attachment":[{"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/media?parent=471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/categories?post=471"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nemerko.org\/en\/wp-json\/wp\/v2\/tags?post=471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}