• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Website defaced after change of Document Root

Reid

New Pleskian
Hi all,
I had a domain (Domain-A) running perfectly until I decided to buy a VPS and transfered the site into the VPS.
The VPS created the document root as /httpdocs since this ((Domain-A)) is the primary domain.
I bought another domain and added that to the domain (Domain-B). This created the document root for (Domain-B) as /Domain-B
Now out of inexperience I decided to rename the document root of Domain-A from /httpdocs to /Domain-A.

After the rename, my Domain-A site could not be seen so I reverted to /httpdoc.
After the change the Domain-A shows but is completely messed up. I have tried a check on the CSS files and even reloaded the sites files from development PC.. but still mess up.

Can someone help me solve this problem please?
Thanks in advance.
-Reid
 
Maybe it's the Nginx cache? Websites & Domains > Hosting & DNS > Apache & Nginx settings > button "Clear cache".
 
Hi Peter,
Thanks for your help and that of others on this platform.
Now I have much of my site displaying correctly.
I did some search and changes around and now I see the error relating to "Can't load Source Map files" for some of my css and js files when I inspect the errors in Chrome Dev Tools.

Any help on that please?
thanks.
-Reid
 
Back
Top