Email & Productivity

How to Set Up Custom Domain Email in Outlook & iPhone

H
HTMLtoPHP TeamMay 15, 2026 โ€ข 8 min read

You just registered your brand's domain name and created a professional business email address like [email protected] in cPanel or your hosting dashboard. But logging into clunky webmail through a browser tab every 10 minutes is frustrating and slows down your business.

You want your emails arriving seamlessly inside your favorite appsโ€”Microsoft Outlook on your desktop, the Gmail app on Android, or Apple Mail on your iPhone. In this step-by-step tutorial, we will walk you through the exact incoming and outgoing server settings, port numbers, and SSL configurations you need to get your email working smoothly on any device in under 5 minutes.

"Having a custom domain email builds instant trust with clients. Configuring it on your mobile devices ensures you never miss a critical sales lead or client request."


1. The Universal Email Server Settings & Ports Cheatsheet

Regardless of which app you use (Outlook, Apple Mail, Thunderbird, or Gmail), all email apps require two server connections: one for receiving incoming mail and one for sending outgoing mail. Save this reference table before starting:

Connection TypeServer HostnamePort NumberEncryption / Security
Incoming (IMAP) - Recommendedmail.yourdomain.com993SSL / TLS (Encrypted)
Incoming (POP3)mail.yourdomain.com995SSL / TLS (Encrypted)
Outgoing (SMTP)mail.yourdomain.com465 or 587SSL / TLS or STARTTLS
UsernameYour full email address (e.g., [email protected], NOT just "john").
AuthenticationRequired for both Incoming and Outgoing SMTP (check "My outgoing server requires authentication").

2. IMAP vs. POP3: Which One Should You Choose?

Recommended for 99% of Users

IMAP (Internet Message Access Protocol)

Keeps all messages and folders synchronized live on the server. If you read or delete an email on your phone, it automatically reflects as read or deleted on your laptop Outlook app.

Best for using email across multiple devices
Legacy Storage

POP3 (Post Office Protocol)

Downloads messages off the server directly to one physical device and usually deletes them from the server. Changes made on one device do not sync to other devices.

Only used if your server mailbox quota is tiny

3. Step-by-Step: Microsoft Outlook Setup

  1. Open Outlook and click File → Add Account.
  2. Enter your full email address (e.g. [email protected]), click Advanced Options, check "Let me set up my account manually", and click Connect.
  3. Select IMAP as the account type.
  4. Enter the server details:
    • Incoming Mail Server: mail.yourdomain.com | Port: 993 | Encryption: SSL/TLS
    • Outgoing Mail Server (SMTP): mail.yourdomain.com | Port: 465 (or 587) | Encryption: SSL/TLS
  5. Enter your email password and click Connect. Outlook will send a test message and complete the sync.

4. Step-by-Step: Apple iPhone & iPad Mail Setup

  1. Go to Settings → Mail → Accounts → Add Account.
  2. Tap Other → Add Mail Account.
  3. Fill in your Name, Email, Password, and Description, then tap Next.
  4. Select IMAP at the top.
  5. Under both Incoming Mail Server and Outgoing Mail Server:
    • Host Name: mail.yourdomain.com
    • User Name: Your full email address (mandatory on both sections).
    • Password: Your email account password.
  6. Tap Save. Your iPhone will verify the certificates and connect immediately.

5. Step-by-Step: Gmail Mobile App Setup

  1. Open the Gmail app on your Android phone or iPhone and tap your profile icon → Add another account.
  2. Choose Other.
  3. Type your full email address and choose Personal (IMAP).
  4. Enter your password, set Incoming Server to mail.yourdomain.com with Port 993 and Security Type SSL/TLS.
  5. Set Outgoing Server (SMTP) to mail.yourdomain.com with Port 465 and check Require sign-in.
  6. Tap Next to finish.

6. Troubleshooting Common Email Connection Errors

Error: "Cannot verify server identity" or "SSL Certificate Mismatch"

If your domain does not have a free SSL installed on the mail.yourdomain.com subdomain, your app will trigger a security warning. Use our free SSL Checker to verify your mail subdomain's certificate.

Error: "Cannot send mail (SMTP authentication failure)"

In 95% of cases, this happens because the user left the Outgoing Server Username blank on iPhone. Always type your full email address and password into the outgoing fields, even if the OS marks them as "optional".


Frequently Asked Questions

What is the difference between Port 465 and Port 587 for SMTP?
Port 465 uses direct SSL/TLS encryption right from the initial handshake. Port 587 starts as a clear connection and immediately upgrades to encrypted transport using STARTTLS. Both are industry standards. If your ISP blocks port 465, switch to 587.
How do I generate a secure password for my mailbox?
Email accounts are targeted by automated brute-force bots daily. Use our client-side Password Generator to build high-entropy 20+ character passwords.

Conclusion

Connecting your custom domain email to Microsoft Outlook, Apple Mail, and Gmail gives your business a professional touch while ensuring you stay connected everywhere.

Audit your server network and security setup.

Verify your SSL certificates, check server headers, and generate secure passwords for free.

Explore Network Tools โ†’

More Guides (20)

View All โ†’
โœ‰๏ธ
Email & ProductivityReading

How to Set Up Custom Domain Email in Outlook, Gmail & iPhone

8 min read
โ˜๏ธ
Networking & DNS

How to Set Up Cloudflare Free CDN & DNS: Speed, SSL & Protection

8 min read
๐Ÿ“ฌ
Security & Authentication

Why Are My Emails Going to Spam? How to Fix SPF, DKIM & DMARC

8 min read
๐Ÿ”“
Security & Authentication

How to Fix "Not Secure" Warning & SSL Mixed Content Errors

7 min read
๐Ÿš€
Networking & DNS

How to Connect a Custom Domain to GitHub Pages, Vercel & Netlify

8 min read
๐ŸŒ
Networking & DNS

The Ultimate Guide to DNS Records: A, AAAA, CNAME, MX, TXT & PTR

8 min read
๐Ÿ“ก
Networking & DNS

What Is an IP Address? Public vs. Private IPv4, IPv6 & Subnetting

7 min read
๐Ÿšฆ
Networking & DNS

HTTP Status Codes Explained: 200, 301, 404, 500 & 502 Bad Gateway

7 min read
๐Ÿ›ก๏ธ
Security & Authentication

JSON Web Tokens (JWT) Demystified: Header, Payload & Signatures

8 min read
โšก
Web Performance & SEO

Mastering Core Web Vitals in 2026: Optimize LCP, INP & CLS for SEO

8 min read
๐Ÿ”’
Security & Authentication

Is Your Website Actually Secure? 3 Network Checks You Must Run

6 min read
๐ŸŽจ
Developer & Data Tools

The CSS Color Nightmare: How to Manage HEX, RGB, and Gradients

6 min read
๐Ÿงน
Developer & Data Tools

Data Cleaning Guide: How to Clean JSON, CSV & Text Like a Pro

7 min read
๐Ÿ”—
Content & Social

Stop Sharing Ugly Links: The Complete Guide to Open Graph & Twitter Cards

4 min read
๐Ÿ“‰
Web Performance & SEO

Why You Must Minify HTML, CSS, and JS Before Every Deployment

4 min read
๐Ÿ–ผ๏ธ
Web Performance & SEO

Stop Using PNGs for Everything: The Developer Guide to Image Formats

5 min read
๐Ÿš€
Web Performance & SEO

5 Essential Steps to Optimize Your Website Before Launch

4 min read
๐ŸŽฏ
Web Performance & SEO

Why Your Website is Invisible on Google: The Ultimate Meta Tag Checklist

5 min read
๐Ÿ”—
Developer & Data Tools

Stop Breaking Your Links: The Developer Guide to URL Encoding and Base64

5 min read
๐Ÿ“
Content & Social

Stop Writing HTML by Hand: The Ultimate Guide to Markdown and Text Tools

5 min read
โšก

Explore 70+ Free Tools

Instant client-side developer, networking, SEO & formatting utilities.

Browse All Tools โ†’