Skip to content

Enabling Two-Factor Authentication (2FA)

Two-Factor Authentication (2FA) adds an extra layer of security to your DirectAdmin account by requiring a second verification step when logging in.

How to Enable 2FA in DirectAdmin

  1. Log in to your DirectAdmin control panel.

  2. Navigate to your account settings:

    • Click on your username or profile icon (usually top-right corner).
    • Select "Two-Factor Authentication" or "Security Settings".
  3. Set up 2FA:

    • Choose to enable 2FA.
    • You will be shown a QR code.
  4. Scan the QR code:

    • Use an authenticator app such as Google Authenticator, Authy, or Microsoft Authenticator on your smartphone.
    • Scan the QR code displayed in DirectAdmin.
  5. Enter the verification code:

    • The app will generate a 6-digit code.
    • Enter this code into DirectAdmin to confirm setup.
  6. Save your backup codes:

    • DirectAdmin will provide backup codes.
    • Store these safely in case you lose access to your authenticator app.
  7. Complete the process:

    • 2FA is now enabled.
    • You will be prompted for a code from your authenticator app every time you log in.

Tips

  • Always keep backup codes safe.
  • If you lose access to your authenticator app, use backup codes to regain access.
  • Contact support if you get locked out.

Enabling 2FA greatly improves your account security and helps protect your email and data.