Deleting folders from public_html without crashing sites

Hello All,

I have hosted some sites in the past that are no longer on my Linode. Their folders still remain in;

/home/sites/public_html

I want to delete those folders for unused sites, but when I go into webmin or cyberduck to delete them, after deleting a folder of an old site, all my other sites stop working.

Is there a proper way to delete this folders without crashing my other sites?

I hope that is enough information, if not, please ask. I really appreciate everyone's help.

Thanks

2 Replies

I don't know about webmin or cyberduck, but every site need "webserver config + files".

You should need to delete/disable virtualhosts in your webserver config too, so your webserver won't try to find the files/folder you've deleted.

Someone else suggested that, turned out nginx was looking for those files, it worked out.

Thanks!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct