For almost every cPanel account, the shared IP is the right answer and a dedicated IP is a recurring line item that buys nothing. SNI ended the SSL argument more than a decade ago, search engines do not rank by IP, and mail reputation is judged domain-first. A dedicated IP earns its cost in four situations: one account sends real outbound mail volume and needs its own PTR, a third party allowlists your source address, you expose an inbound service on a port other than 80 or 443, or a contract names a non-shared address in writing. Everything below is how to tell which case you are in, with the commands to check rather than guess.
What you’ll accomplish
- Find which IP each cPanel account is bound to today, and which addresses the server has spare.
- Prove that SNI is serving the correct certificate on the shared IP, so you can retire the “SSL needs its own IP” argument with evidence.
- Identify the source IP that outbound mail actually leaves on, and whether its PTR matches the HELO the server announces.
- Run one decision table instead of relitigating the question per customer.
- Assign a dedicated IP and pin mail, HELO and rDNS to it — or decide not to, and reclaim the address.
Prerequisites
Root shell access on a cPanel/WHM server, or at minimum a WHM reseller account with the Change Site’s IP Address privilege. You need to be able to read /etc/ips, /var/cpanel/mainip and /var/cpanel/users/<user>, and to restart Exim. You need authority over the DNS zone for the domains involved, because an IP change rewrites A records and forces AutoSSL to revalidate. And you need to know who controls reverse DNS for the address block: PTR records live in the in-addr.arpa zone delegated to whoever owns the /24, which is your hosting provider or your upstream network — not cPanel, and not the domain’s registrar. Examples below use shopco as the account and the 198.51.100.0/24 documentation range; substitute your own.
How it works
Three separate mechanisms get conflated into one “dedicated IP” question, and they have different answers.
TLS and SNI. Before Server Name Indication, a TLS client opened a connection to an IP and the server had to present a certificate before it knew which site was wanted. One certificate per IP, therefore one IP per site. SNI, specified in RFC 6066, puts the hostname in the ClientHello — the very first message, in cleartext — so the server reads server_name, looks it up in the vhost table, and answers with that vhost’s certificate. Every browser, mail client and HTTP library shipped since roughly 2014 sends SNI. Apache, LiteSpeed and Nginx have all supported it far longer.
How WHM binds IPs to accounts. The server’s primary address is in /var/cpanel/mainip and is the shared IP that new accounts inherit. Additional addresses live in /etc/ips, and the ones not yet assigned to anybody are tracked in /etc/ipaddrpool. Each account’s current address is the IP= line in /var/cpanel/users/<user>, mirrored into /etc/domainips per domain and into the Apache or LiteSpeed vhost. Assigning a dedicated IP means moving that binding and rewriting the A records; it does not create a new network interface configuration on its own.
How outbound mail picks a source IP. This is the part that is genuinely IP-dependent. Exim on cPanel chooses a source address from /etc/mailips and a HELO name from /etc/mailhelo, both keyed by domain with a * wildcard fallback. The receiving side then does a reverse lookup on whatever address the connection came from. If the PTR for that address says mail.your-hosting-provider.net while the server announces mail.shop.example.ca in HELO and signs as shop.example.ca, you have a forward-confirmed reverse DNS mismatch — survivable, but one of the few remaining places where the IP itself carries reputation.
Step-by-step
1. Find out which IP the account is on right now. The user file is the authority; the WHM screen is a rendering of it.
grep -E '^(DNS|IP)=' /var/cpanel/users/shopco
cat /var/cpanel/mainip
DNS=shop.example.ca
IP=198.51.100.24
198.51.100.24
When the account’s IP= value equals the contents of /var/cpanel/mainip, the account is on the shared IP. A different value means it already has a dedicated address.
2. See what the server owns and what is free. /etc/ips holds the additional addresses; /etc/ipaddrpool holds the subset not yet handed out.
cat /etc/ips
cat /etc/ipaddrpool
198.51.100.55:255.255.255.0:198.51.100.255
198.51.100.56:255.255.255.0:198.51.100.255
198.51.100.55
198.51.100.56
The main IP is deliberately absent from /etc/ips. If the pool file looks stale after manual edits, /scripts/rebuildippool regenerates it from the account bindings.
3. Prove SNI is doing its job. Ask the shared IP for a specific hostname, then ask it for nothing at all.
openssl s_client -connect 198.51.100.24:443 -servername blog.example.net </dev/null 2>/dev/null | openssl x509 -noout -subject -dates
openssl s_client -connect 198.51.100.24:443 -noservername </dev/null 2>/dev/null | openssl x509 -noout -subject
subject=CN = blog.example.net
notBefore=Aug 12 04:11:07 2026 GMT
notAfter=Nov 10 04:11:06 2026 GMT
subject=CN = server.example-host.net
The first command gets the right certificate on a shared IP — that is the whole SSL argument answered. The second shows what a client with no SNI support receives: the fallback vhost’s certificate, which will not match the requested hostname. -noservername requires OpenSSL 1.1.1 or newer.
4. Find the outbound mail source IP and its PTR. Read the mapping files, then confirm against a real delivery.
cat /etc/mailips
cat /etc/mailhelo
dig +short -x 198.51.100.24
*: 198.51.100.24
*: mail.example-host.net
mail.example-host.net.
A bare * wildcard in both files means every domain on the box shares one source address and one HELO name, and the PTR announces the hosting provider rather than the customer. That is normal on a shared IP and fine for low volume.
To see the source address on actual deliveries, Exim has to be told to log it. On cPanel the selector lives in /etc/exim.conf.localopts:
grep '^logselector=' /etc/exim.conf.localopts
grep ' => ' /var/log/exim_mainlog | tail -2
logselector=+arguments +received_recipients +subject
2026-09-03 09:14:02 1skQfT-0003Jd-2A => client@example.com R=dkim_lookuphost T=dkim_remote_smtp H=mx.example.com [203.0.113.10]
Add +outgoing_interface to the selector in WHM » Service Configuration » Exim Configuration Manager, and delivery lines gain an I=[198.51.100.24] field naming the local address the connection left on. Without it you are inferring the source IP from configuration instead of observing it.
5. Run the decision table, not the folklore. Most of the arguments people bring to this question were retired years ago.
| Argument for a dedicated IP | Still true? | What actually settles it |
|---|---|---|
| Needed for SSL/HTTPS | No | SNI carries the hostname in the ClientHello; step 3 proves it on your own server |
| Improves search rankings | No | Search engines have crawled shared hosting for two decades and do not rank by IP |
| Makes the site faster | No | The address does not change routing, TLS cost or origin performance |
| Required by PCI DSS | No | The standard has no such control; auditors sometimes ask, the document does not |
| Own outbound mail reputation | Yes, above real volume | A sender large enough for receivers to build a per-IP history, not a contact form |
| PTR that matches your own HELO | Yes | Only one PTR exists per address, so it can only name one customer |
| Third-party IP allowlisting | Yes | A payment gateway, ERP or partner API that pins your source address |
| Inbound service on its own port | Yes | Anything binding a port the other tenants also want, or needing per-IP firewall rules |
| Written into a contract or audit | Yes | A requirement in writing is a requirement, whether or not it is technically justified |
6. Assign the address when the answer is yes. The CLI path is the same one the WHM Change Site’s IP Address screen calls.
/usr/local/cpanel/bin/setsiteip -u shopco 198.51.100.55
grep -E '^IP=' /var/cpanel/users/shopco
Changing IP for shopco from 198.51.100.24 to 198.51.100.55
IP=198.51.100.55
Expect a short progress trace as it rewrites the vhost, the zone file and /etc/domainips. The exact wording varies by cPanel version; the IP= line is the check that matters. The full WHM walkthrough, including the reseller-permission variant, is in assigning a dedicated IP per cPanel account.
7. Pin mail, HELO and rDNS to the new address. Web traffic follows DNS on its own; mail does not.
printf 'shop.example.ca: 198.51.100.55\n' >> /etc/mailips
printf 'shop.example.ca: mail.shop.example.ca\n' >> /etc/mailhelo
/scripts/restartsrv_exim
Waiting for exim to restart ... finished.
Then request the PTR for 198.51.100.55 from whoever controls the address block, pointing it at mail.shop.example.ca, and publish an A record for that name pointing back at the same address. HELO name, forward record and PTR all agreeing is the state receivers check for.
Validate it works
Check the certificate, the HTTP path and the reverse lookup independently, so a stale DNS cache cannot make a broken change look fine.
openssl s_client -connect 198.51.100.55:443 -servername shop.example.ca </dev/null 2>/dev/null | openssl x509 -noout -subject
curl -sI --resolve shop.example.ca:443:198.51.100.55 https://shop.example.ca/ | head -1
dig +short -x 198.51.100.55
dig +short mail.shop.example.ca A
subject=CN = shop.example.ca
HTTP/2 200
mail.shop.example.ca.
198.51.100.55
curl --resolve forces the connection to the new address regardless of what DNS currently returns, which separates “the vhost is wrong” from “the record has not updated yet”. The last two commands together confirm forward-confirmed reverse DNS.
Then confirm mail is genuinely leaving on the new address, once +outgoing_interface is in the log selector:
grep 'I=\[198.51.100.55\]' /var/log/exim_mainlog | tail -1
2026-09-03 11:02:44 1skSrM-0007Kp-9C => client@example.com R=dkim_lookuphost T=dkim_remote_smtp H=mx.example.com [203.0.113.10] I=[198.51.100.55]
Troubleshooting
The PTR was set in the wrong place. Adding a PTR record in the cPanel Zone Editor, or in the domain’s zone at the registrar, does nothing. Reverse DNS is served from the in-addr.arpa zone for the address block, which is delegated to the network that owns it. cPanel’s /etc/mail_reverse_dns is a local override for what the server believes its reverse name is — useful for HELO selection, invisible to the outside world. The request has to go to the provider that owns the block; the coordination sequence is in reverse DNS and PTR coordination with your provider.
Mail still leaves on the shared IP after assignment. Three usual causes. The * wildcard in /etc/mailips is still winning because your domain-specific line was added below it with a typo in the domain, or with the account username instead of the domain. The WHM Tweak Setting Send mail from account’s dedicated IP address is off, so Exim ignores the account binding. Or the account relays through a smarthost, in which case the relay’s IPs are the ones receivers see and yours is irrelevant. Check /etc/mailips first, the tweak setting second, exim -bP | grep -i smarthost third.
A very old client fails the TLS handshake or reports a name mismatch. This is the real SNI exception. Reproduce it with the -noservername command from step 3: if the certificate that comes back is the server’s own hostname rather than the customer’s, that client is not sending SNI. Options are to update the client, or to give that hostname its own IP so the fallback certificate is the correct one. Embedded devices, old point-of-sale terminals and long-abandoned mail clients are where this still shows up.
The dedicated IP arrives with someone else’s reputation. Recycled addresses carry history. Before you move a sender onto a new address, look it up on the major blocklists and check whether it already has a Spamhaus or Barracuda listing. A previously-clean shared IP is better than a listed dedicated one, and moving a high-volume sender onto a cold address means warming it gradually — receivers treat a sudden volume spike from an unknown address as a spam signal, not as a promotion.
AutoSSL fails right after the IP change. The A record now points at the new address but resolvers are still serving the old one for the remainder of the TTL, so HTTP-01 domain control validation reaches the old vhost and fails. Lower the TTL on the affected records before the change, wait out the old TTL, then move. If you are already stuck, wait for propagation and re-run AutoSSL rather than reissuing certificates by hand.
When this is the wrong approach
A dedicated IP is money spent on nothing when the problem is not addressed by an address. If mail is going to spam and SPF, DKIM or DMARC alignment is broken, fixing the IP fixes nothing — receivers evaluate authentication before they weigh IP reputation, and a dedicated address with a failing DMARC policy is worse off than a shared one that passes. If the account sends a handful of contact-form notifications a week, a fresh IP with no sending history is a downgrade: there is not enough volume to build a reputation, so the address stays permanently unknown to receivers, while the shared IP already has one.
It is also the wrong purchase when traffic never touches the address. Behind a CDN or a proxy, visitors connect to the edge, so a dedicated origin address changes nothing anyone can observe. And if the plan is to relay mail through a transactional provider, their sending IPs are the ones that matter — buying your own and then not sending from it is the most common way this line item outlives its reason.
Finally, treat “our auditor asked for it” as a requirement to satisfy, not a technical fact to defend. PCI DSS does not mandate a non-shared IP, but arguing that during an audit is rarely cheaper. Buy the address, document why, and put a review date on it — the reason goes stale more often than the IP does.
If this is the kind of work you’d rather never own again, it’s the daily job of Managed Cloud Ops — book an infrastructure review.