UK web hosting · 24/7 live chat Open a ticket Client login

Guide

Two-factor authentication for websites: why and how

By Limitless Hosting. Published 8 November 2026. Last updated 8 November 2026.

Two-factor authentication (2FA) asks for a second proof of identity, such as a code from an app, in addition to your password, so a stolen password alone cannot get anyone in. Turn it on for your hosting account, your website admin login and your email, in that order of importance. An authenticator app is the best balance of safety and convenience for most small businesses.

See the plans

How it works

What happens at a 2FA login

  1. Enter passwordSomething you know
  2. Site asks for a codeOnly if the password is right
  3. Open your appSomething you have: your phone
  4. Type the codeIt changes every 30 seconds or so
  5. You are inA thief with only the password is stopped

The problem

Why passwords alone are not enough

Passwords fail in predictable ways. People reuse them across sites, so a leak from one unrelated service gives attackers a list of working combinations to try everywhere else. People choose guessable ones. Phishing emails trick people into typing them into fake login pages. Malware on a computer records them as they are typed.

Automated attacks make this worse. Bots try thousands of leaked username and password pairs against login pages every day, which is called credential stuffing, and bots also try common passwords on every account name they can find. You do not need to be a target for your login page to be tried thousands of times.

Two-factor authentication changes the maths. Even with the correct password, the attacker still needs the second factor, which lives on your phone or in a physical key. For a website owner, that turns a catastrophic event, such as a stolen admin password, into an annoyance.

Methods

The common kinds of second factor

Authenticator app

An app generates a six-digit code that refreshes every half a minute. It works offline, costs nothing and is difficult to intercept. The usual recommendation.

Text message code

A code is sent to your phone number. Better than nothing, but SIM swap fraud and message interception make it the weakest option.

Security key or passkey

A physical key or a device-based passkey proves you are present. Very strong and resistant to phishing, where the site supports it.

Email code

A code is emailed to you. Only as safe as your mailbox, so protect the email account first.

A host that takes security seriously

Firewall, malware scanning and DDoS protection are included on every plan.

See the plans

Compare

Methods side by side

MethodProtectionEaseCostWatch out for
Authenticator appHighEasyFreeLosing the phone without recovery codes
Security key or passkeyVery highEasy once set upKey costs money, passkeys freeKeep a spare key
Text messageMediumVery easyFreeSIM swap and weak coverage
Email codeMediumEasyFreeDepends on mailbox security
Backup codesEmergency onlyManualFreeMust be stored safely

Priorities

Where to turn on two-factor first

Start with your email. Almost every other account can be reset by email, so whoever controls your mailbox can take over everything else. Next, the account where you manage hosting and domains. A stolen hosting login can lead to deleted sites, redirected email and a changed domain, and a domain account compromise is among the worst things that can happen to a business online.

Then your website admin login. For WordPress, this protects the dashboard that attackers target most. After that, add it to anything holding customer data, payments or social media accounts. Do the most valuable accounts first and work down the list.

Each service has its own settings page, usually called security or sign-in, and enabling two-factor takes only a couple of minutes. The effort is tiny compared with the protection.

WordPress

Adding two-factor to WordPress

Back up first

Take a copy of the site before you install anything, as good practice.

Choose a reputable plugin

Pick a well-reviewed, recently updated two-factor plugin from the official directory. Check the last update date.

Install and activate it

Add it from the Plugins page and open its settings.

Enrol your own account first

Scan the QR code with an authenticator app and enter the code to confirm.

Save recovery codes

Store them in a password manager or printed in a safe place.

Require it for administrators and editors

Then test logging in from a private window before closing your current session.

Teams

Rolling it out to staff and contractors without friction

Do

  • Explain the reason in two sentences
  • Pick one app and standardise on it
  • Hand out recovery steps in advance
  • Enforce it for admin and editor roles first
  • Remove accounts of people who have left

Avoid

  • Sharing one login between several people
  • Texting codes to a shared phone
  • Skipping the people who say they are too busy
  • Storing recovery codes in a plain email
  • Making it optional for administrators

Recovery

What if you lose your phone?

This is the common fear, and the answer is to prepare. When you enable two-factor, the service shows a list of one-time recovery codes. Save them in a password manager or print them and keep them somewhere safe. Each code works once and lets you back in without your phone.

Many authenticator apps now offer encrypted backup or sync to a new device. Switching on that feature, or moving your accounts to the new phone before you retire the old one, removes most of the pain. If you are locked out of your hosting account with us, contact live chat (open 24/7) and we will take you through identity checks before changing anything. Expect questions, because the checks are there to protect you.

Phishing

Two-factor is not magic

Two-factor authentication stops the majority of password-only attacks, but a determined phishing site can ask for your code as well and pass it to the real site in real time. Always check the address bar before typing a password, and treat any message that urges you to log in urgently with suspicion. Security keys and passkeys are better here because they refuse to work on a fake address.

Keep your devices updated too. An infected phone or computer can capture codes. Two-factor is one layer, not the whole wall, and it works best alongside updates, backups and a good security checklist.

Today

A 20 minute two-factor action list

  • Turn on 2FA for your email account
  • Turn on 2FA for your hosting client area
  • Turn on 2FA for your domain registrar
  • Add 2FA to your website admin login
  • Save recovery codes in a password manager
  • Enable encrypted backup in your authenticator app
  • Check who still has admin access
  • Remove accounts for people who left

Choosing an app

Choosing and looking after an authenticator app

Any mainstream authenticator app follows the same open standard, so a code from one will work with any service that supports it. Pick one that offers encrypted backup, a lock with a PIN or fingerprint, and the ability to move accounts to a new phone. Many password managers also include a built-in authenticator, which is convenient, though keeping your passwords and your codes in separate places means one breach does not give away both.

Treat the app like a key. Lock the phone, keep the operating system updated, and do not let codes be screenshotted or read out over the phone. No genuine support agent will ever ask you for a code. If someone does, hang up and contact the company through its official channels.

FAQ

Common questions

Is two-factor authentication really necessary?

For admin, hosting, domain and email accounts, yes. It is the single most effective extra step against stolen passwords.

Which method is best?

An authenticator app suits most people. Security keys and passkeys are stronger where supported. Text messages are better than nothing but weakest.

Will 2FA slow down my visitors?

No. It only applies to people logging in, such as administrators, not to visitors reading your site.

What if I lose my phone?

Use your saved recovery codes. Keep them somewhere other than the phone itself.

Does 2FA replace strong passwords?

No. Use both. A strong unique password plus a second factor is the combination that works.

Build on a secure foundation

Free SSL, a firewall and malware scanning on every plan.

See the plans .co.uk and .uk domains £9.99

From 84p a month, billed yearly
15-day money back
Get started