Disable domain failed

I have two domains on one server, and one of them was just for testing so I don’t use it at the moment and would like to disable it. When I enter the command:

ee site disable test.example.com

it comes back with:

Disable domain test.example.com [Failed]

What can I do to disable the domain?


You must check the logs in order to find the actual cause of error when disabling the domain.

ee site disable text.example.com
cat /var/log/ee/ee.log

You gotta interpret what you find in the logs, of course.