Author Topic: Subdomain folder delete issue  (Read 7942 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Subdomain folder delete issue
« on: April 13, 2015, 06:26:20 PM »
One of our customer created a subdomain of his domain.

He deleted subdomain folder via ftp or file manager then apache wont restart.

It has an folder not found error. So all sites down.

What is the exact solution for this situation how can we restrict deletion of subdomain folders or kind of exception to apache still work.

Re: Subdomain folder delete issue
« Reply #1 on: April 15, 2015, 12:16:42 PM »
Well actually deleting subfolder for subdomains will not make Apache to fail. When you restart it will actually give out error something like "file doesnt exist/path" but Apache will start.

Offline
*
Re: Subdomain folder delete issue
« Reply #2 on: April 15, 2015, 08:32:02 PM »
But in our case, restart apache, start apache and reboot not solve apaches shut down.

Re: Subdomain folder delete issue
« Reply #3 on: April 15, 2015, 09:09:05 PM »
check out of below command for any errors

service httpd fullstatus