Archives

How to change your DirectAdmin account password

This KB article is for DirectAdmin for shared hosting (end-users).

From time to time it’s a good idea to change your DirectAdmin password. DirectAdmin also offers the possibility to add Security Questions and to enable Two-Step Authentication with the help of Google Authenticator App.

DirectAdmin Change Account Password
DirectAdmin Change Account Password Window

 

How to change your DirectAdmin’s account password:

  1. Login to DirectAdmin installation  accessing yourdomain:2222
  2. Click the Password text+icon from the top menu. 
  3. Enter your current DirectAdmin password and the new password.
  4. Click the Submit button.
  5. You have just changed your DirectAdmin’s account password.
The video tutorial for this post:
Share this post:

Add new domain names to your DirectAdmin hosting account

This KB article is for DirectAdmin for shared hosting (end-users).

Depending on your web hosting plan, you may have the option to host multiple domains names. If you are not sure how many domains you can have with the actual plan, ask your web hosting company. They will let you know.

DirectAdmin Add new domains
DirectAdmin Add new domains Window

To add a new domain to your DirectAdmin web hosting account:

  1. Log in at http://yourdomain.com:2222
  2. Look for Domain Setup and click on the link
  3. Click the Add Another Domain link
  4. Now, you will have to enter the details for the new domain as: domain name, bandwidth, disk space, if you allow secure SSL and PHP access.
  5. Click the Create button.
The video tutorial for this post:
Share this post:

Check DirectAdmin login history

This KB article is for DirectAdmin for shared hosting (end-users).

Learn how to check the login history for your DirectAdmin account.
To check the server login history please check this KB post: Check the login history on your server

 

DirectAdmin Login History
DirectAdmin Login History Window

 

To check the DirectAdmin login history:

  1. Login to your account.
  2. Search the Login History, click on it.
  3. You will see a list of latest logins. The list includes the date, the IP and the number of attempts made.

As a server admin, you can access the login history for users by viewing the files /usr/local/directadmin/data/users/username/login.hist :

[root@web ~]# cd /usr/local/directadmin/data/users/
[root@web users]# ls
admin  admin11  plothost1  plothost24  reseller23
[root@web users]# cd plothost1
[root@web plothost1]# ls
DAdminUsage.bytes  bandwidth.tally.cache  domains       du_breakdown.list  httpd.conf  login_keys   tickets.list  user.usage
bandwidth.tally    crontab.conf           domains.list  ftp.passwd         login.hist  ticket.conf  user.conf     user_ip.list
[root@web plothost1]# cat login.hist
0=attempts=1&lastaccess=Jun 18, 2017 at 07:11&lasthostaccess=192.168.10.103
1=attempts=1&lastaccess=Jun 18, 2017 at 07:08&lasthostaccess=192.168.10.102
2=attempts=1&lastaccess=Jun 18, 2017 at 07:07&lasthostaccess=192.168.10.102
3=attempts=1&lastaccess=Jun 18, 2017 at 07:05&lasthostaccess=192.168.10.102
4=attempts=1&lastaccess=Jun 18, 2017 at 07:00&lasthostaccess=192.168.10.102
5=attempts=1&lastaccess=Jun 18, 2017 at 06:58&lasthostaccess=192.168.10.102
6=attempts=1&lastaccess=Jun 18, 2017 at 06:57&lasthostaccess=192.168.10.102
[root@web plothost1]#

 

 

The video tutorial for this post:
Share this post:

Working with cron jobs in DirectAdmin

This KB article is for DirectAdmin for shared hosting (end-users).

Cron jobs are tasks that will run at fixed time intervals. You can configure them via the DirectAdmin interface.

DirectAdmin Cron Jobs
DirectAdmin Cron Jobs Window

 

To access the DirectAdmin cron jobs interface:

  1. You need to log in to DirectAdmin
  2. Look for Cronjobs link and click on it.
  3. Choose now when the new cron job will run. Select minute, hour, day of month, month, day of week. Notice that the sign means every minute, hour etc. 
  4. Choose the cron job Command. This is usually a path to a file/script that will be executed.
  5. You can also configure an email address to receive details when the cron jobs runs. Just enter the email in the E-mail field. Leave this field blank if you don’t want to receive such emails.
Depending on the server configuration, you may need to change the file permission for the script you want to run via a cron job to 755.

Although, DirectAdmin does not recommend this, cron jobs can also be configured for users by the server admin via SSH. Use the crontab -u username -e command to edit the cron jobs for username :

[root@web ~]# crontab -u plothost1 -e

Use the crontab -u username -l command to see the cron jobs for a specific user:

[root@web ~]# crontab -u plothost1 -l
#DO NOT EDIT THIS FILE. Change through DirectAdmin
* * * * * /home/plothost1/test.php
[root@web ~]#
Notice the DirectAdmin notification: DO NOT EDIT THIS FILE. Change through DirectAdmin.

Video tutorial for this article:

Share this post:

How to create an autoresponder in DirectAdmin

This KB article is for DirectAdmin for shared hosting (end-users).

An autoresponder message is an email message that will be sent automatically to all senders. You can easily set such an message in DirectAdmin. Autoresponders are set per email accounts.

Directadmin Create Autoresponder
Directadmin Create Autoresponder Window

To create an autoresponder message:

  1. Log to your DirectAdmin panel
  2. Look for Autoresponders
  3. You will see the list of the current autoresponders. To create a new one, click the Create New Autoresponder link.
  4. Enter the Responder Address, the Responder Message and choose if you want to Send a CC to a specific email address.
  5. Click the Create button. The new autoresponder will be created and you will see it in the list.
The video tutorial for this post:
Share this post:
Page 3 of 7
1 2 3 4 5 7