There already exists a very thorough set of instructions to assist you with many different issues of configuration, maintenance and troubleshooting within Direct Admin.
Please visit the following site and select the category relating to your question :
http://admin.site-helper.com