# Can't log in to cPanel? Troubleshooting cPanel access

> Fix the most common cPanel login errors, from invalid passwords and DNS issues to blocked ports and IP blocks.

Source: https://helpcenter.ruachost.com/cpanel/getting-started/i-cant-access-cpanel-what-should-i-do-troubleshooting-cpanel-login/

If you can't open or log in to cPanel, the error message you see usually points to the cause. Find your error below, then follow the matching fix.

| Error you see | Likely cause |
| --- | --- |
| *The login is invalid* | Wrong username or password |
| *Connection refused* or *Connection reset* | Blocked port, server maintenance, or your domain doesn't point to our server yet |
| *Connection timed out* | Your IP address is blocked, a blocked port, or DNS changes still spreading |
| *Name not resolved* / *DNS address could not be found* | Your domain doesn't point to our server yet, or DNS changes still spreading |
| *Your IP address has changed. Please log in again* | Your internet provider gives you a changing (dynamic) IP address |
| cPanel loads without icons, or logs you out | Cloudflare is proxying your cPanel address |

## The easiest way in: your client area

You don't need to remember a separate cPanel password. Log in to the [Ruachost client area](https://dashboard.ruachost.com), open **Services → My Services**, select your hosting plan, and click **Log in to cPanel**. This works even when your domain isn't pointed to us yet.

You can also log in directly at [cpanel.ruachost.com](https://cpanel.ruachost.com) with the cPanel username and password from your hosting welcome email.

## "The login is invalid"

1. Check the cPanel username and password in your hosting welcome email. Make sure you haven't copied any extra spaces.
2. If it still fails, reset your cPanel password from your hosting plan's page in the [client area](https://dashboard.ruachost.com).
3. If the new password doesn't work either, our server may have temporarily blocked your IP address after several failed attempts. [Open a support ticket](https://dashboard.ruachost.com/submitticket.php) and we'll check.

## Your domain doesn't point to our server

Addresses such as `example.com/cpanel` or `cpanel.example.com` only work once your domain points to your Ruachost server.

- **Using our nameservers:** your domain should use `nsa.ruachost.com` and `nsb.ruachost.com`. If your domain is registered with another company, ask them to change the nameservers, or update them in their control panel.
- **Using an A record:** make sure the A record points to the IP address in your hosting welcome email. You can also find it in cPanel under **General Information → Server Information**.

Until then, use the [client area](https://dashboard.ruachost.com) or [cpanel.ruachost.com](https://cpanel.ruachost.com).

## DNS changes still spreading (propagation)

After you change nameservers, it can take up to 24 hours (occasionally longer) for internet providers around the world to update. This can't be sped up. During this time, addresses based on your domain may not work, so use the [client area](https://dashboard.ruachost.com) or [cpanel.ruachost.com](https://cpanel.ruachost.com) instead.

## A blocked port

cPanel uses port **2083** (secure) and webmail uses port **2096**. Some office networks, internet providers, firewalls and antivirus programs block these ports.

If `example.com:2083` won't load but other websites do, use `cpanel.example.com` or `webmail.example.com` instead. These go through the standard web port, which is almost never blocked. You can also try a different network, such as your mobile data.

## Your IP address is blocked

If every address times out, our firewall may have blocked your IP address, usually after repeated failed logins. [Open a support ticket](https://dashboard.ruachost.com/submitticket.php) and include your IP address. You can find it by searching "what is my IP" on Google. We'll unblock it.

## Server maintenance

If none of the above applies, the server may be under maintenance. [Contact our support team](https://dashboard.ruachost.com/submitticket.php) to confirm.

## "Your IP address has changed. Please log in again"

This happens when your internet provider changes your IP address while you're logged in. To fix it:

- Log in through `cpanel.example.com` (replace `example.com` with your domain).
- Use a VPN, which keeps your IP address steady.
- Ask your internet provider for a static IP address.

**On a Managed VPS**, you can also relax this check in WHM:

1. Log in to WHM and go to **Server Configuration → Tweak Settings**.
2. Open the **Security** tab.
3. Set **Cookie IP validation** to **loose**, then click **Save**.

## cPanel and Cloudflare

If your domain uses Cloudflare, cPanel may load without icons or log you out when you open a menu. This happens because cPanel checks that every request comes from the same IP address, and Cloudflare sends requests from many different IP addresses.

To fix it, do one of the following:

- In Cloudflare, make sure the `cpanel` DNS record for your domain is set to **DNS only** (grey cloud), not proxied (orange cloud). Then log in at `cpanel.example.com`.
- Log in through the [client area](https://dashboard.ruachost.com) or [cpanel.ruachost.com](https://cpanel.ruachost.com) instead.

> **Still stuck?:**
[Open a support ticket](https://dashboard.ruachost.com/submitticket.php) and tell us the exact error message and the address you're using. Our team will get you back in.
