Security
SSL/TLS certificates and HTTPS, blocking visitor IP addresses, SSH login with keys, image hotlinking, password-protected folders and the virus scanner.
These tools protect your websites and your account: certificates so that visitors connect securely, ways to keep unwanted visitors and other websites out, SSH keys for secure command-line access, and a virus scanner.
In the modern look they are under Security in the menu (tabs SSL Certificates, Virus Scanner and Password and sign-in). In the classic look they are in the Security group on the Tools page.
The Security overview#
The Overview tab under Security (Security) gives a quick picture of how well your account is protected.
- Security Score: a number up to 100 with Good, Fair or Needs attention. It rises with the share of your websites that have a certificate, the share that always open over HTTPS, and two-step sign-in being on.
- SSL Status: how many websites are secured. Manage SSL opens SSL/TLS.
- HTTPS Redirect: whether every secured website always opens over HTTPS. Enable opens SSL/TLS.
- Two-Factor Sign-in: whether a code from your phone is asked at sign-in. Set Up opens Password and sign-in.
Below, SSL certificates lists each website with its certificate type (Domain verified for a free certificate, Own certificate for one you installed, or No certificate), when it expires and whether the HTTPS redirect is on.
To raise the score: get certificates for all websites, switch on Always use HTTPS for each, and switch on two-step sign-in.
SSL/TLS Certificates: free certificates#
A certificate lets visitors open your website over https://, with the padlock in the browser. Open SSL/TLS Certificates (the SSL Certificates tab under Security).
The Certificates list shows each website as Secured or Not secured.
To get a free certificate:
- Make sure the domain's DNS points at this server.
- Choose Get free certificate next to the website.
- Wait up to a minute and keep the page open.
Certificates are free, issued by Let's Encrypt, and valid for the domain and, when they point here too, its www and mail names and its aliases. They renew automatically before they expire; the list shows the date. With the mail name covered, mail programs get a valid certificate from mail.yourdomain.
Issue again gets a new certificate that also covers names pointed here later, for example a new alias or the mail name. Remove certificate removes it.
Good to know:
- If issuing fails, the reason is shown. The usual cause is DNS that does not point here yet; wait until it does and try again.
- Your hosting provider may also issue certificates for your websites automatically (Automatic SSL). You can get an email when that succeeds or fails; see Notification Settings.
SSL/TLS Certificates: always use HTTPS#
Once a website has a certificate, you can make it always open securely. Open SSL/TLS Certificates.
- Always use HTTPS next to a secured website sends visitors who open the
http://address tohttps://. The list then shows HTTPS only. - Stop forcing HTTPS turns that off again.
To switch it on or off for several websites at once, tick them in the Websites list on Domains and choose Force HTTPS Redirect on or off.
Good to know:
- The redirect needs a certificate; a website without one cannot be forced to HTTPS.
- Certificate renewal keeps working with the redirect on.
- After switching it on, make sure your website software (for example WordPress's "Site Address") also uses
https://, so pages do not mix secure and insecure content.
SSL/TLS Certificates: a certificate you bought#
You can also install a certificate you bought from a certificate seller. Open SSL/TLS Certificates and find A certificate you bought.
1. Make a signing request (CSR) if the seller asks for one:
- Open Make a signing request (CSR) for a certificate you are about to buy.
- Choose the Website and fill in Country code (two letters), State or province, City and Organization.
- Choose Make signing request and give the text shown to the seller.
The request covers the domain and its www name. Its private key is made and kept on the server. Making a new request replaces the key of an earlier, unused one.
2. Install the certificate when it arrives:
- Choose the Website.
- Paste the certificate, followed by the certificates of its issuer (the "CA bundle"), into the first box.
- Paste the Private key, or leave it empty if you made the signing request here.
- Choose Install certificate.
The list then shows Your own certificate with its end date. It does not renew automatically: renew it with its seller before then and install the new one.
Block Visitor IPs#
You can keep visitors from certain internet addresses out of a website, for example an address that attacks it or copies its content. Open Block Visitor IPs (the Blocked addresses box on Website settings) and pick the website at the top.
- Enter an IP address, such as
203.0.113.5, or a whole network, such as203.0.113.0/24. - Choose Block.
Visitors from a blocked address get "Forbidden" (403) for every page of that website. The list shows the blocked addresses; Unblock lets one in again.
Good to know:
- Blocking applies to one website. Repeat it for other websites if needed.
- A website can block up to 500 addresses or networks.
- Find addresses to block under Busiest addresses in the Visitor Log.
- Addresses change: an attacker can come back from a new one, and a blocked address may later belong to someone else. Blocking at the server's firewall is done by your hosting provider.
SSH Login#
SSH lets you sign in to your account from a terminal, and SFTP lets file programs use the same secure connection. Sign-in is with keys only, not with a password. Open SSH Login.
To add a key:
- On your computer, make a key pair with
ssh-keygen -t ed25519. - Open the file ending in
.pub(the public key), copy its contents and paste it under Your public key. - Choose Add the key.
Then connect with ssh youraccount@server, as the page shows. The other file of the pair is the private key: it stays on your computer and is never uploaded.
Keys that may sign in lists each key with its name, kind and fingerprint; Remove takes one away.
Good to know:
- SSH needs shell access in your hosting package. If the connection is refused although your key is listed, ask your hosting provider to switch shell access on for your account.
- The keys are stored in
.ssh/authorized_keysin your home folder. Lines there with extra options are kept as they are and can be changed in the File Manager. - The same keys are used for Git clone addresses (see Files).
Block Image Hotlinking#
Hotlinking is when another website shows your images or files directly from your website, using your data transfer. Open Block Image Hotlinking (the Block image hotlinking box on Website settings) and pick the website at the top.
- Tick Switch on.
- Under File endings to protect, list the endings separated by commas. The default is
jpg,jpeg,png,gif,webp,svg,mp4,pdf. - Under Other websites allowed to embed, list other domains that may still show your files, such as
partner.com, cdn.example.net. - Choose Save.
Other websites then get "Forbidden" for those files. Your own website, its subdomains and its aliases can always show them.
Good to know:
- Opening a file directly (typing its address, or a visitor whose browser sends no referring page) still works.
- Search engines' image searches may stop showing the images. Add their domains to the allowed list if you want them to.
- Right-clicking a folder in the File Manager offers Block Image Hotlinking for that folder's website.
Password-Protected Folders#
A password-protected folder asks visitors for a user name and password before it opens, for example for a members area or a site under construction. Open Password-Protected Folders (the Password-protected folders box on Website settings) and pick the website at the top.
- Under Folder inside the website, enter the folder, such as
members. Leave it empty to protect the whole website. - Under Title shown when asking, enter a short title, such as "Protected area".
- Enter a User name and a Password of at least 10 characters.
- Choose Protect / add user.
To add more users, repeat with the same folder and a new user name. Using the same folder and user name again changes that user's password.
The list shows each protected folder with its users. Remove next to a user removes that user; Stop protecting removes the protection.
Good to know:
- The browser asks for the password once and remembers it until it is closed.
- Use it together with HTTPS, so the password is sent encrypted.
- A website can protect up to 50 folders, each with up to 50 users.
- Right-clicking a folder in the File Manager offers Password-Protect Folder, which fills in that folder.
Virus Scanner#
The virus scanner (ClamAV) looks through your files for known viruses and malicious scripts. Open Virus Scanner (the Virus Scanner tab under Security).
To scan:
- Choose what to Scan: The website files (public_html), The mail or Everything in the account.
- Choose Start scan. The page says what is being scanned and reloads itself; a scan takes from a minute to much longer, depending on how many files there are.
Last scan shows what was found: each infected file with the name of what was found. Tick files and choose Delete the ticked files to delete them. If nothing was found, it says so.
Good to know:
- Look at a file in the File Manager first if you are not sure; deleting cannot be undone.
- One scan runs at a time on the server. If another is running, wait until it has finished.
- An infected website usually got that way through an outdated plugin, theme or a weak password. Update everything (see the WordPress Manager) and change the passwords too.
Something missing? Ask in the community or open a ticket.