DEV Community

Sharjeel520
Sharjeel520

Posted on

How to Use cPanel: A Beginner's Guide to Managing Your Website Hosting

How to Use cPanel: A Beginner's Guide to Managing Your Website Hosting

When you buy web hosting, you get access to a control panel. For most shared hosting plans, that panel is cPanel, and it is where almost everything about your website happens: installing WordPress, creating email accounts, managing files, checking backups, and installing an SSL certificate.

If you have never opened cPanel before, it can look busy. Dozens of icons, sections with names like "Domains" and "Databases", and settings you are afraid to touch. This guide walks through the parts you will actually use, in plain language, so you can manage your own website without calling support for every small task.

What cPanel actually is

cPanel is a web-based dashboard for your hosting account. Instead of typing commands on a server, you click icons in a browser. Your hosting provider gives you a login (usually a username, a password, and a URL like yourdomain.com/cpanel), and once you are in, everything about your site is a few clicks away.

Most shared and WordPress hosting plans include cPanel for free. If your plan includes it, you do not pay extra, and you do not need to install anything. You just log in.

Logging in for the first time

You will normally get your cPanel login details in the welcome email your host sends after you buy a plan. Keep that email safe. There are two common ways to log in:

  • Through your domain: go to yourdomain.com/cpanel in your browser and enter your username and password.
  • Through your host's client area: most hosts have a "Login to cPanel" button in the client dashboard, which signs you in without typing the password again.

If the login page does not load, check that your domain's DNS has finished pointing to your host. A brand new domain can take a few hours to propagate. If it still fails after that, ask your host's support team, because a wrong nameserver is the most common cause.

Once you are in, take a minute to look around. cPanel organises everything into sections: Files, Databases, Domains, Email, Metrics, Security, Software, and Advanced. You will use about a third of them regularly. The rest can wait until you need them.

Installing WordPress in one click

For most people, the first job in cPanel is installing WordPress, and it is the easiest one. Look in the Software section for "WordPress Manager" or "Softaculous Apps Installer" (the name varies by host). Click it, choose WordPress, and fill in a short form:

  • Choose domain: pick the domain where the site should live.
  • Directory: leave this blank to install on the main domain, or type a folder name like blog if you want the site at yourdomain.com/blog.
  • Site name and description: you can change these later.
  • Admin username and password: choose a strong password and store it somewhere safe. Do not use "admin" as the username.
  • Admin email: use an address you actually check, because password resets go here.

Click Install and wait a minute or two. When it finishes, you get a link to your new site and a link to the WordPress dashboard. That is it. No files to upload, no database to create by hand.

Managing files with File Manager

The File Manager, in the Files section, is a file browser for your website. Your site's files live in a folder called public_html. That is the folder visitors see when they open your domain.

Things you will do here:

  • Upload a file: for example, a logo, a PDF, or a verification file for Google Search Console. Open public_html, click Upload, and pick the file.
  • Edit a small text file: right-click a file like .htaccess and choose Edit. Be careful here, a typo in .htaccess can break your site, so download a copy first.
  • Create a folder: useful for keeping uploads organised, or for a separate test site.
  • Check what is taking up space: if your hosting plan has a storage limit, sorting folders by size shows you what is using it.

For everyday work, WordPress itself handles uploads, so you will only open File Manager when something needs fixing or checking by hand.

Creating professional email accounts

One of the best reasons to have hosting is email on your own domain. An address like hello@yourdomain.com looks far more professional than a free inbox, and customers trust it more.

In the Email section, open "Email Accounts" and click Create. Choose the domain, type the name before the @, set a strong password, and set a mailbox size. Then you can read that email in two ways: through your host's webmail (usually at yourdomain.com/webmail), or by adding the account to Gmail or your phone's mail app using the settings cPanel shows you after creating the account.

If you want email to reach Gmail but send from your domain address, most hosts also offer an email forwarder, which sends a copy of incoming mail to another inbox. Forwarders are quick to set up but they are not a full mailbox, so use a real account for anything important.

Installing a free SSL certificate

Your site needs HTTPS, the padlock in the browser, and Google treats it as a ranking factor. Most hosts now include a free SSL certificate with every plan, and cPanel can install it for you.

In the Security section, open "SSL/TLS Status". You will see a list of your domains and whether each one has a certificate. If one is missing, select it and run "AutoSSL". The certificate usually appears within minutes.

After that, check your site loads with https:// in front. If WordPress still shows the old http:// address, change the WordPress Address and Site Address in Settings, General to the https:// version. There are also free plugins that force HTTPS across the whole site, which is the simplest way to make sure no page slips through.

Domains: addons, subdomains, and redirects

The Domains section handles the names attached to your account:

  • Addon domain: a second, separate website on the same hosting plan. Point the domain's nameservers at your host first, then add it here.
  • Subdomain: a section of your domain, like shop.yourdomain.com or blog.yourdomain.com. Create it here and it gets its own folder inside public_html.
  • Redirects: send visitors from one address to another, for example from an old page to a new one, or from the non-www version to the www version. Use a permanent (301) redirect so search engines update their records.

A common mistake is adding a domain in cPanel before changing its nameservers. Do the nameserver change first, wait for it to propagate, then add the domain.

Backups: the one habit that saves websites

Backups are the difference between a bad day and a disaster. In the Files section, open "Backup" and you will see options to download a full backup of your home directory, your databases, and your email settings. Download one after any major change, and keep a copy on your own computer, not only on the server.

Many hosts also take automatic backups. Check your plan details to see how often: daily, weekly, or on request. Automatic backups are a safety net, but they are not a reason to skip your own copy. If the server itself has a problem, a backup stored on the same server does not help.

If you ever need to restore, your host's support team can usually do it from their own backup system, but a backup file you hold yourself gives you the freedom to move to a different host without asking anyone.

Checking how your site is doing

The Metrics section tells you what is happening on your account. The two tools worth knowing are:

  • Visitors: shows recent visits, which pages people open, and where they come from. It is basic, but it is enough to spot a sudden spike or a broken link getting hammered.
  • Errors: a log of the errors your site has produced, which is the first place to look when a page returns a 500 error or a white screen.
  • Disk Usage and Bandwidth: show how close you are to your plan's limits. If disk usage is high, old backups and unused images are usually the cause.

You do not need to check these daily. A quick look once a week is enough for a small site.

The settings you should not touch yet

cPanel has an Advanced section with tools like Cron Jobs, the Terminal, and PHP settings. These are powerful, and a wrong change can take your site down. Leave them alone until a specific guide tells you to change one, and when it does, note down the original value first so you can put it back.

The same applies to the DNS Zone Editor in the Domains section. Changing DNS records is how you point email to Google Workspace or connect a third-party service, and it is also how you break your email by accident. Only change a DNS record when you know exactly which record and which value you need, and write down the old value before you touch it.

Common first-week problems

  • "This site can't be reached" after buying hosting: DNS is still propagating, or the nameservers are wrong. Wait a few hours, then double check the nameservers with your domain registrar.
  • WordPress shows a white screen: usually a plugin conflict. Rename the plugins folder inside wp-content using File Manager, which disables all plugins at once, then rename it back and reactivate plugins one by one.
  • Email goes to spam: make sure your domain has SPF and DKIM records set. Many hosts add these automatically; if your mail still lands in spam, your host's support can check the records.
  • SSL warning after installing WordPress: the site address is still http://. Change it to https:// in WordPress settings, or use a plugin to force HTTPS.

The bottom line

You do not need to learn all of cPanel. For a normal website, the routine is: install WordPress with one click, create your email accounts, make sure SSL is on, and download a backup after big changes. Everything else is there for the day you need it, and by then you will know exactly which icon to click.

The control panel is not something to be afraid of. It is the reason you can run a website without knowing server administration, and once you have used the same five or six tools a few times, it stops feeling complicated at all.


Disclosure: I work with ZedgeHost, a web hosting company in Pakistan. The prices in this guide are from https://zedgehost.com, checked at the time of writing.

Top comments (0)