• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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