Support article
How to Recover Access to Your Hosting or WordPress Account
Recover access to your cPanel, WordPress or FTP account if you've lost your password: email recovery, database and support.
Introduction
Losing access to your hosting, WordPress or FTP account is more common than you think. The good news: there’s almost always a way to recover it. In this article you’ll see how to recover access to each account type.
Recover access to cPanel
Method 1: Email recovery
- Go to the cPanel login page.
- Click Forgot your password?.
- Enter your email.
- You’ll receive a link to reset your password.
Method 2: From miHosting’s client area
- Log in to your miHosting client panel.
- Go to Services → My Services.
- Select your hosting plan.
- Look for the change password or reset access option.
Method 3: Contact support
If you don’t have access to email or the client area:
- Open a support ticket.
- Verify your identity (with your account details).
- Our technicians reset access.
At miHosting, we can always help you recover access. Open a ticket and we verify your identity.
Recover access to WordPress
Method 1: Email recovery
- Go to
yourdomain.com/wp-login.php. - Click Forgot your password?.
- Enter your email or username.
- You’ll receive a link to reset.
If you don’t receive the email, it may be a WordPress email configuration problem.
Method 2: Change password from the database
If you can’t use email recovery:
- Log in to cPanel → phpMyAdmin.
- Select the WordPress database.
- Find the
wp_userstable. - Edit your user.
- In the
user_passfield, select the MD5 function. - Type your new password.
- Save.
This method works as long as you have access to cPanel and the database.
Method 3: Add an admin user via functions.php
If you have FTP access but not database access:
- Connect via FTP.
- Edit the
wp-content/themes/yourtheme/functions.phpfile. - Add at the end:
wp_create_user('newadmin', 'your_password', 'your@email.com');
$user = get_user_by('login', 'newadmin');
$user->set_role('administrator');
- Log in to WordPress with the new user.
- Delete this code from
functions.phpafter logging in (for security).
Method 4: Recover with WP-CLI
If you have SSH access and WP-CLI:
wp user update 1 --user_pass=your_new_password
Recover access to FTP
From cPanel
- Log in to cPanel → FTP Accounts.
- Find your FTP account.
- Click Change Password.
- Define a new one.
If you don’t have access to cPanel
Contact support. We verify your identity and reset the FTP password.
Recover access to email
From cPanel
- Log in to cPanel → Email Accounts.
- Find your account.
- Click Change Password.
- Define a new one.
Prevention: how not to lose access
- Use a password manager. To not forget any.
- Enable 2FA but save backup codes.
- Keep your recovery email updated. It’s the main way to recover access.
- Write down your access details in a secure place. Not on a post-it.
- Don’t use passwords you can forget. Use a manager.
Useful tips
- Don’t panic. Almost everything has recovery.
- Verify your identity. If you contact support, we’ll ask for details to confirm it’s you.
- Change the password after recovering. And enable 2FA if available.
- Check if someone has logged in. If you lost access due to an attack, review logs.
- Always have a recovery email. It’s your lifeline.
Frequently asked questions
Can I recover my account without email access?
Yes, by contacting support and verifying your identity with other details.
How long does recovery take?
If you have access to email or cPanel, it’s immediate. If you need support help, it depends on response time (at miHosting, under 15 minutes).
Can I lose my website if I lose access?
No, if you have backups. Your website is on the server; you only lose access, not data.
Can my miHosting hosting reset my access?
Yes, always. Open a ticket and we verify your identity.
Is email recovery secure?
Yes, as long as your email is protected with a strong password and 2FA. If someone accesses your email, they can reset your accounts.
Recover your access without losing your head
Losing access to an account is frustrating, but it almost always has a solution. If you have access to email or cPanel, recovery is immediate. If not, miHosting’s support is here to help.
If you need to recover access to your miHosting account, open a ticket from your client panel. Our technicians help you in under 15 minutes.