How to Set Up Email on Shared Hosting in cPanel

Start with the right mailbox plan
If you need to set up email on shared hosting in cPanel, start with the account structure, not the mail app. Decide who needs a full mailbox, who only needs forwarding, and who does not need email access at all. That choice affects storage, deliverability, and how much support you will need later.
For most small businesses, a shared hosting plan is enough for 1-10 mailboxes, basic webmail access, and a domain-based address like hello@yourcompany.co.nz. If you expect heavier sending, multiple staff accounts, or mailbox archives for client work, compare shared hosting with a VPS before you commit.
Hostperl customers often reach out after the website is live but the inboxes are still missing. That is the right time to fix the basics: the domain, DNS records, and SSL certificate should all be ready before the first login test.
Set up email on shared hosting in cPanel
Open cPanel and go to Email Accounts. Create the mailbox first, then note the full email address and password. Use a clear naming pattern such as accounts@, support@, and sales@ so your team can route messages without confusion.
- In cPanel, open Email Accounts.
- Click Create and choose the domain you want to use.
- Set a strong password and save it in your password manager.
- Choose a mailbox quota that matches real usage. A 1 GB inbox is often too small for a busy business inbox.
- Confirm the mailbox exists under Check Email or Manage.
Once the mailbox exists, test webmail before moving to Outlook, Apple Mail, or Thunderbird. If webmail works but the mail app does not, the problem is usually the port, hostname, or authentication settings, not the mailbox itself.
Check DNS before you send your first message
Email will not work properly until DNS is set up correctly. You need MX records that point to your mail server, plus SPF, DKIM, and DMARC so receiving servers trust your messages. If your domain points somewhere else, the mailbox can still exist, but mail will not arrive where it should.
Use this quick checklist for a new domain or migration:
- MX records point to the correct mail host.
- SPF includes the server that sends your mail.
- DKIM is enabled in cPanel and published in DNS.
- DMARC exists, even if it starts in monitoring mode.
- The mail hostname resolves cleanly to the hosting server.
If you want a tighter walkthrough, Hostperl’s SSL, DNS, and Email Setup Checklist for Hosting Customers covers the order that avoids most setup mistakes. That checklist saves time during launches because you can verify DNS once instead of chasing separate issues one by one.
Turn on SSL for webmail and mail clients
Mail login traffic should use TLS, not plain text. In cPanel, check that the server has a valid certificate for the hostname used by email clients, such as mail.yourdomain.co.nz or the server hostname. Without that, some apps will warn users or refuse to connect.
For cPanel customers, this usually means verifying AutoSSL first. Then confirm that IMAP, POP3, and SMTP use encrypted ports. The common settings are simple:
- IMAP SSL: port 993
- POP3 SSL: port 995
- SMTP TLS: port 587
In webmail, test Roundcube and send a message to a Gmail or Microsoft 365 account. If the message lands in spam, the issue may be authentication or sender reputation, not the mailbox password.
Use the correct settings in Outlook, Apple Mail, or mobile
This is where many customers lose time. The mailbox exists, DNS is correct, and webmail works, but the phone still asks for credentials every few minutes. Usually the app is using the wrong server name or unencrypted ports.
Use these settings as your starting point:
- Username: full email address
- Password: the mailbox password from cPanel
- Incoming server: mail.yourdomain.co.nz or the server hostname
- Outgoing server: same as incoming, with SMTP authentication enabled
- Encryption: SSL/TLS
If you manage multiple devices for a small team, set the same mailbox on desktop and mobile with IMAP. That keeps messages synced and avoids the “someone deleted it on their phone” problem that shared businesses know too well.
Troubleshoot the three failures we see most often
When email setup fails, the cause is usually one of three things: DNS, certificate mismatch, or port blocking. You do not need to guess. Test them in order.
1. Mail never arrives. Check MX records and confirm the domain is not still pointing to an old host. If the domain changed recently, wait for propagation, but do not assume that delay is the only issue.
2. Mail sends, but recipients mark it as suspicious. Check SPF, DKIM, and DMARC. Missing DKIM is a common reason messages from a new hosting account look untrusted.
3. The app will not connect. Confirm the hostname, ports, and encryption type. A certificate for the wrong name can trigger repeated login prompts even when the mailbox is valid.
For deeper mailbox reputation issues, Hostperl also publishes guidance on shared hosting vs VPS for email deliverability in 2026. That comparison helps when a business has outgrown a basic shared plan and needs more control over sending patterns.
Know when to stay on shared hosting and when to move
Shared hosting works well for standard business mail, especially when the mailbox count is modest and sending volume stays low. It is also the simplest option for owners who want one support team to handle the website and mail together.
You should start planning a move if you notice any of these signs:
- Mail queues build up during normal business hours.
- Your team needs separate mail policies or advanced archiving.
- Outbound messages land in spam even after proper DNS setup.
- You need more control over server reputation or custom mail routing.
At that point, a VPS can give you more tuning room, and a dedicated server may be the cleaner choice for heavier or multi-brand sending. If you are weighing those options, see VPS vs Dedicated Servers: How to Choose in 2026 before you commit to a larger plan.
Quick migration notes for existing mailboxes
If you are moving from another host, migrate mail before you switch MX records. That keeps old and new inboxes aligned and reduces the chance of lost messages. Exporting web content is not enough; you need the actual mail history if the account is used for invoicing or customer support.
A practical migration order is: create mailboxes, copy messages, update DNS, verify SPF and DKIM, then test send and receive from outside the domain. Hostperl’s how to move a hosting site to a new server safely in 2026 article is useful if you are handling a wider site move at the same time.
If you want a clean email setup without trial and error, Hostperl can help you launch on shared hosting and check the DNS, SSL, and mailbox settings with you. For a business inbox that needs more room later, our shared hosting and Hostperl VPS plans give you a simple path forward.
FAQ
What is the best hostname for cPanel email?
Use the domain’s mail hostname, such as mail.yourdomain.co.nz, if it has a valid certificate and resolves correctly. If not, use the server hostname provided by Hostperl support.
Should I use POP3 or IMAP?
Use IMAP for most businesses. It keeps messages synced across desktop, mobile, and webmail.
Why does my email go to spam after setup?
Check SPF, DKIM, and DMARC first. Then test with a message to Gmail and Microsoft accounts to see whether the problem is authentication or sender reputation.
Can I host website and email on the same shared plan?
Yes, if your mailbox volume is modest. If your business depends on email delivery, review growth early and consider a VPS before problems start.
