Double authentication (2FA) ensures that no one can access your hosting if, in addition to correct username and password data, they also enter a code generated on your phone.
This way you protect access to your data even if someone steals the access data - without your phone they won't be able to access it.
Here's how to activate two-factor authentication on DirectAdmin hosting
Before you go, install the Google Authenticator app for Android or iPhone on your phone.Step 1: Log in to your DirectAdmin hosting (instructions for accessing the DirectAdmin panel)
Step 2: Look for the "Two-Step Authentication" app and open it, then click the "GENERATE SECRET" button

Step 3: After that, open the Google Authenticator app on your phone and scan the QR code that will be displayed in the panel (if you don't have a camera, you can manually enter the code in the app on your phone) that will connect the app to your access.
After scanning, you will need to enter the access code for the first time in the field below "Check one-time password" and after filling that field, click on the ENABLE TWO-STEEP AUTHENTICATION button.

Step 4: Immediately after activation, you will see that you can copy and download recovery access codes. These codes will help you gain access if you lose your phone or your phone's battery is dead.

After that, log out and test access to your hosting account.
You will see that in addition to the correct username and password, you also need to enter a code from your phone.
Keep in mind that the code on the phone is renewed every 60 seconds, so the code is not the same for each subsequent access, but changes continuously.





