Set Up Domain Email on WordPress DirectAdmin Hosting

Having a professional email address with your own domain — like [email protected] — is essential for building customer trust and brand credibility. When you purchase WordPress hosting on DirectAdmin, domain email is typically included in your plan. However, many new users struggle with the setup process: how to create email accounts, configure DNS records, and connect email to WordPress so it doesn't end up in spam. This comprehensive guide walks you through every step of setting up domain email on DirectAdmin hosting and connecting it seamlessly to your WordPress site.

What is Domain Email and Why Does It Matter?

Domain email (also called professional or business email) uses your website's domain name as part of the email address. Instead of sending from [email protected], you send from [email protected]. This single change transforms how your business looks to customers and email filters alike.

The benefits are substantial: emails from a custom domain are perceived as more trustworthy than generic email providers. Customers remember your brand better when communications come from an address featuring your company name. Your email is less likely to be flagged as spam because you control the sender reputation through proper DNS configuration. Industry-specific communications (customer support, invoices, newsletters) are often expected to come from domain email addresses, not personal Gmail accounts. Furthermore, domain email enables professional brand consistency across all business communications, from customer service to marketing campaigns.

From a technical perspective, using domain email allows you to implement authentication protocols like SPF (Sender Policy Framework), DKIM (DomainKeys Identified Mail), and DMARC (Domain-based Message Authentication, Reporting and Conformance). These protocols are powerful signals to mail servers that your emails are legitimate and should be delivered to the inbox rather than spam folder. This is especially critical when sending emails from WordPress through automated newsletters, password reset notifications, or contact form submissions.

Creating a Domain Email on DirectAdmin

DirectAdmin, the control panel included with AsiaGB hosting, provides a straightforward interface for creating and managing email accounts. The process takes just a few minutes and requires no technical knowledge.

Step-by-Step: Create Your First Email Account

  1. Log into DirectAdmin Control Panel — Access it via https://yourdomain.com:2222 or through your hosting provider's custom URL. Use your DirectAdmin credentials (AsiaGB uses DirectAdmin as its exclusive control panel).
  2. Navigate to E-Mail Manager — Look for the email icon or select "E-Mail Manager" from the control panel menu. This section handles all email accounts associated with your domain.
  3. Click E-Mail Accounts → Create Account — A form appears asking for the email configuration.
  4. Enter the username — This is the part before the @ symbol. For example, if you want [email protected], type "contact". Choose meaningful usernames for your business needs: "support" for customer service, "billing" for accounts, "info" for general inquiries, or "noreply" for automated WordPress emails.
  5. Set a strong password — Do not reuse your DirectAdmin password or any password you use elsewhere. A strong password includes uppercase, lowercase, numbers, and symbols, with at least 12 characters. This password secures your mailbox against unauthorized access.
  6. Set the Quota (mailbox size) — This determines how much email storage the account has. For most small businesses, 500MB–1GB is sufficient. If you expect high email volume or plan to archive emails long-term, increase to 2–5GB. The quota can be adjusted later if needed.
  7. Click Create to finish — DirectAdmin immediately provisions the account. You can now receive and send email from this address.

Once created, the email account is available immediately. You can create multiple accounts per domain following the same process. Most hosting plans allow 10–100 email accounts depending on the tier; contact support if you need more.

Understanding DNS Records for Email Delivery

For email to work reliably, three critical DNS records must be properly configured. These records tell the global email system where your mail server is located and verify that emails claiming to be from your domain are legitimate.

MX Record (Mail eXchange)

The MX record is the gateway for incoming email. It tells other mail servers on the internet: "When someone sends an email to @yourdomain.com, route it to THIS server." When you point your domain to an AsiaGB hosting server, MX records are configured automatically to direct mail to your hosting provider's mail server. You typically do not need to edit the MX record manually unless you're using a third-party email service. You can verify your MX record is set correctly using online MX lookup tools — it should point to mail.yourdomain.com or your hosting provider's mail server hostname.

SPF Record (Sender Policy Framework)

The SPF record is a TXT record that specifies which mail servers are authorized to send emails on behalf of your domain. Without SPF, any server on the internet can claim to send email from your domain — a vulnerability called email spoofing. To create an SPF record, you add a TXT record to your DNS that includes all authorized mail servers. A basic example looks like: v=spf1 include:mail.yourdomain.com ~all. The "~all" at the end is a soft fail, meaning emails from unauthorized servers are marked suspicious but still delivered. If you want stricter enforcement, use "-all" (hard fail), which rejects unauthorized emails entirely.

Setting up SPF is one of the most important steps to ensure deliverability. Mail servers like Gmail, Outlook, and Yahoo check SPF records before delivering your emails. Emails without proper SPF records are significantly more likely to land in spam.

DKIM Record (DomainKeys Identified Mail)

DKIM adds a cryptographic signature to your emails, proving they were sent by an authorized mail server. It's more sophisticated than SPF and harder to spoof. To set up DKIM, DirectAdmin generates a public/private key pair. The public key is added as a TXT record in your DNS (usually with a selector like "default._domainkey"), while the private key stays on your mail server. When you send an email, the server signs it with the private key. Recipients verify the signature with the public key from DNS, confirming the email is authentic. Most modern mail servers check DKIM signatures, and having valid DKIM significantly boosts email deliverability.

The advantage of DKIM over SPF is that DKIM remains valid even if your email is forwarded, making it more robust for complex email workflows. Implementing both SPF and DKIM together creates a strong authentication framework.

Accessing Your Email via Webmail

DirectAdmin includes Roundcube and Horde — two webmail clients that let you read, send, and manage email from any browser without installing software. This is ideal for accessing email while traveling or on devices where you cannot install email clients.

How to Log In

Webmail is convenient but has limitations compared to desktop email clients — it requires an internet connection and cannot store emails locally. For primary use, consider also setting up email clients (described in the next section) to sync emails to your device.

Setting Up Domain Email on Mobile and Desktop Clients

Email clients like Gmail (Android/iOS), Outlook, Apple Mail, and Thunderbird allow you to manage all your email accounts in one place and access emails offline. To connect your domain email to these clients, you need IMAP/SMTP settings from your hosting provider.

IMAP and SMTP Settings

IMAP is the protocol for receiving and accessing emails. SMTP is for sending emails. Here are the standard settings for AsiaGB hosting with DirectAdmin:

Setting Up Gmail to Receive Domain Email

If you use Gmail and want to receive domain emails there, Gmail's "Add a mail account" feature lets you import from another server. Go to Settings → Accounts and Import → Add a mail account. Enter your domain email address and use the IMAP settings above. Gmail will download all emails from your domain server and archive them in a label called "[youremail]@yourdomain.com". You can now reply from your domain email using Gmail's "Send as" feature, making it appear that emails come from your professional address.

Outlook, Apple Mail, and Thunderbird

Most modern email clients detect IMAP/SMTP settings automatically. Enter your email address and password, and the client queries a discovery service to find the correct settings. If automatic setup fails, manually enter the IMAP and SMTP information above. Thunderbird and Apple Mail both support multiple accounts, so you can keep personal email separate from business domain email.

Connecting Domain Email to WordPress

WordPress can send emails on its own — password resets, admin notifications, contact form submissions — but it uses PHP mail(), which is vulnerable to spam filtering. Most mail servers reject PHP mail() because it lacks proper authentication. The solution is to configure WordPress to send email through your domain's SMTP server using WP Mail SMTP, a popular plugin.

Why WordPress Emails End Up in Spam

PHP mail() sends emails without SPF/DKIM signatures or proper authentication headers. When Gmail, Outlook, or other mail servers receive an email claiming to be from your domain but signed with PHP mail(), they see a mismatch and flag it as spam. Additionally, PHP mail() often reveals the actual server IP in email headers, which is frequently on spam blacklists. This is why even domain email, if sent through PHP mail() instead of SMTP, may not reach the inbox.

Installing and Configuring WP Mail SMTP

  1. Install WP Mail SMTP plugin — Log into WordPress admin → Plugins → Add New. Search for "WP Mail SMTP" by WPForms and click Install. Activate the plugin.
  2. Go to WP Mail SMTP → Settings → General.
  3. Set From Email to a domain email address (e.g., [email protected] or [email protected]). This is the address that will appear in the "From" field of WordPress emails. Many businesses use "noreply" for automated emails and a support email for contact forms.
  4. Set From Name to your business name (e.g., "Your Business Name"). This personalizes emails.
  5. Under Mailer, select "Other SMTP" (not Gmail or Microsoft 365, which have their own flows).
  6. Enter SMTP Host: mail.yourdomain.com
  7. Enter SMTP Port: 465
  8. Select Encryption: SSL
  9. Enter SMTP Username: Your full domain email address (the email you created for WordPress, e.g., [email protected])
  10. Enter SMTP Password: The password for that email account
  11. Check the "Enable Debug" box temporarily while testing. Debug mode shows you what the plugin is doing and helps troubleshoot connection issues.
  12. Click Save Settings.
  13. Use the "Send Test Email" button to verify everything works. Enter a test email address (yours) and send. You should receive the test email within a few seconds. If it fails, check that your domain email password is correct and that your hosting allows SMTP connections on port 465.

Once confirmed, disable Debug mode (uncheck the box) for security. Going forward, all WordPress emails — password resets, contact form submissions, plugin notifications — will be sent through your SMTP server with proper authentication, dramatically improving deliverability.

Creating Multiple Team Email Accounts

As your business grows, you may need separate email accounts for different departments or roles. This improves organization and allows team members to manage their own email independently while maintaining your professional brand.

Best Practices for Team Email Structure

Consider creating accounts for specific functions rather than individuals: [email protected] for customer service, [email protected] for the sales team, [email protected] for accounting, and [email protected] for general inquiries. This way, if a team member leaves, the email function continues uninterrupted — new staff can be given access without changing your business email address. You can also implement email forwarding rules so that emails to info@ forward to support@ and billing@ simultaneously, ensuring no inquiries are missed.

Email Forwarders and Mailing Lists

DirectAdmin supports email forwarders, which automatically redirect emails from one address to another. For example, forward all emails from [email protected] to your sales team's individual mailboxes. You can also create a mailing list that forwards to multiple people, ensuring announcements reach everyone. Forwarders are useful for redundancy — if your support person is unavailable, you can temporarily forward support@ to a colleague without changing your public email address.

Setting Up Email Autoresponders

An autoresponder is an automated reply that sends when someone emails you. It's essential for managing customer expectations, especially during weekends, holidays, or when your business is closed.

Configuring Autoresponders in DirectAdmin

Autoresponders reassure customers that their email was received, reducing support inquiries asking "Did you get my message?" and improving perceived responsiveness even when you're unavailable. Most modern mail servers send autoresponders only once per conversation to avoid reply loops.

Spam Filtering and Email Security

Unwanted email is one of the biggest email management challenges. DirectAdmin includes built-in spam filtering and security features to protect your mailbox.

SpamAssassin Configuration

DirectAdmin integrates SpamAssassin, an intelligent spam filter. Emails are scored based on thousands of rules (suspicious links, typical spam phrases, sender reputation, etc.). A higher score indicates likely spam. You can configure a threshold: emails scoring above it are automatically moved to the Spam folder. A threshold of 5–6 catches most spam while minimizing false positives (legitimate emails flagged as spam). Lower thresholds (3–4) are stricter but risk filtering legitimate email. You can adjust the threshold in DirectAdmin → E-Mail Manager → Spam Settings.

Blacklist and Whitelist

Maintain a blacklist of email addresses or domains that consistently send unwanted email. When an email from a blacklisted sender arrives, it is immediately deleted or moved to spam without processing. Conversely, a whitelist ensures emails from important contacts always reach your inbox, bypassing spam filters. This is useful for suppliers, business partners, or services whose emails might otherwise be flagged.

Greylisting

Greylisting is a sophisticated anti-spam technique. When an email arrives from an unknown sender, the mail server temporarily rejects it with a "try again later" message. Legitimate mail servers retry after a delay (usually 5–30 minutes), and the email is accepted. Most spam bots don't retry, so they never deliver. Greylisting is invisible to users but dramatically reduces spam volume. It's often enabled by default on hosting mail servers.

Backing Up Your Email and Disaster Recovery

Email is critical business data. A deleted email or corrupted mailbox can be devastating. Implement a backup strategy to protect your email.

Local Backups with Email Clients

When you configure your domain email in Outlook, Apple Mail, or Thunderbird using IMAP, these clients typically store a local copy of emails. If you accidentally delete an email, you can often retrieve it from your local mailbox or from the server's trash/deleted folder (which retains emails for 30 days by default). For long-term archiving, configure these clients to store emails in a local folder after downloading, creating a permanent archive on your computer.

Hosting Provider Backups

AsiaGB, like most professional hosting providers, backs up all hosted data — including email — daily. If you accidentally delete an important email, contact support and request an email restoration from a backup. While these backups are intended for disaster recovery rather than everyday mishaps, they provide a safety net if you lose critical information. Keep in mind that restoration requests may have a time limit (typically 30–90 days), so report issues promptly.

Third-Party Backup Services

For critical business email, consider services like Backblaze or Veeam that continuously back up your email to the cloud. These services maintain multiple snapshots of your mailbox, allowing you to restore to any previous state. They're especially valuable if you're storing years of important correspondence.

Troubleshooting Common Email Issues

Email Not Sending or Receiving

If WordPress isn't sending emails, enable debug mode in WP Mail SMTP and check the logs. Common issues include: incorrect password, port 465 blocked by firewall, firewall rejecting SMTP connections, or the email account deleted in DirectAdmin. Verify in DirectAdmin that the email account still exists and the password is correct. Test with the webmail client to confirm the account works. For receiving issues, check MX records using an MX lookup tool — they should point to your hosting provider's mail server.

Emails Going to Spam

If WordPress emails land in spam, configure SPF, DKIM, and consider DMARC. Use tools like MXToolbox or Google Admin Toolbox to validate your DNS records. Send test emails to your own Gmail account and check the "Show original" option to see if authentication passed. Avoid sending bulk emails from untrusted accounts (new accounts have lower reputation until they build history).

SMTP Authentication Errors

If WP Mail SMTP fails to connect, verify username and password are exactly correct (copy/paste from DirectAdmin). Ensure port 465 is not blocked by a firewall. Some hosts block outbound SMTP on port 25 (for mass mail protection) but allow 465 and 587. If 465 fails, try port 587 with STARTTLS encryption instead.

Email Best Practices for WordPress Sites

Create a Dedicated WordPress Email Account

Rather than using your main business email for WordPress notifications, create a separate account like [email protected]. This keeps WordPress notifications separate from critical business email. Set up a filter/rule to automatically file WordPress emails into a folder so they don't clutter your inbox, or forward them to another email if you prefer.

Monitor Email Logs

DirectAdmin logs all email activity. Periodically check the logs in DirectAdmin → E-Mail Manager → Logs to watch for bounce-backs (emails that failed delivery), spam complaints, or unusual activity. This helps catch configuration problems early.

Use Email for Professional Communication Only

Domain email is for business correspondence. Avoid using it for personal matters or unauthorized forwarding, as this affects your domain's reputation. Mail servers track sender reputation — a domain with a history of spam complaints gets lower trust scores, hurting future deliverability.

Integrating Email with E-Commerce and CMS Features

Beyond WordPress core notifications, many plugins and e-commerce platforms need email configuration. WooCommerce (WordPress e-commerce), form builders, membership plugins, and email marketing integrations all benefit from a properly configured SMTP setup. When you install these plugins, they will detect the WP Mail SMTP settings and use them automatically, ensuring all plugin emails are authenticated and deliverable. This unified approach prevents situations where some emails use PHP mail() (and land in spam) while others use SMTP (and reach the inbox).

Pro Tip: Always test new email features after plugin installation. Send yourself a test email and verify it arrives in your inbox, not spam. Use Google Admin Toolbox to inspect the email headers and confirm SPF and DKIM signatures are present.

Frequently Asked Questions

Does WordPress hosting include free domain email?

Yes. AsiaGB Hosting includes domain email in every plan at no additional cost. You can create multiple email accounts directly through DirectAdmin. There are no hidden fees, no limit on email accounts per plan (within reason), and no separate charges for spam filtering or backup.

How is hosting email different from Google Workspace?

Hosting email uses your hosting provider's mail server and is included free with your hosting. Google Workspace is a separate, professional-grade email service that costs USD 6–18 per user per month. Google Workspace offers superior deliverability (Gmail's reputation is excellent), mobile app sync, calendar and contacts, video conferencing, and business-class support. Hosting email is perfectly adequate for small businesses and carries no monthly cost, but doesn't include these additional tools. For teams needing advanced collaboration, Google Workspace is the better choice. For solo entrepreneurs or small teams on a tight budget, hosting email is more economical.

Why do WordPress emails end up in spam?

WordPress uses PHP mail() by default, which lacks strong authentication. Recipient mail servers can't verify the sender, so they treat it as suspicious and route it to spam. Additionally, PHP mail() often exposes your server's real IP in headers, which may be on spam blacklists. The fix is to configure WP Mail SMTP to route email through your domain's authenticated SMTP server, combined with SPF and DKIM records. This signals to mail servers that emails are legitimate.

Can I read domain email in Gmail?

Yes. Go to Gmail Settings → Accounts and Import → Add a mail account. Enter your domain email address and use IMAP settings (mail.yourdomain.com, port 993, SSL). Gmail imports all emails into a label. You can also reply from your domain email using "Send as" in Compose, making it appear your emails originate from your professional address. Gmail effectively becomes a unified inbox for all your email accounts.

What IMAP and SMTP settings do I need for mobile phone email apps?

IMAP Server: mail.yourdomain.com, port 993, SSL/TLS. SMTP Server: mail.yourdomain.com, port 465 (SSL) or 587 (STARTTLS). Username and password: use your full domain email address and the password you set in DirectAdmin. Most modern phone email apps (Gmail App, Outlook, Apple Mail) detect these settings automatically, but you can also enter them manually if auto-discovery fails.

Is domain email encrypted in transit?

Yes. IMAP and SMTP connections use SSL/TLS encryption (ports 993 and 465), which protects email in transit from eavesdropping. However, once email reaches the recipient's mail server, encryption depends on their server's configuration. For end-to-end encryption guaranteeing even the recipient can't read your email without your key, you'd need PGP or S/MIME certificates, which are more complex to implement but offer maximum privacy.

Get Hosting with Free Professional Email

AsiaGB Hosting includes unlimited domain email accounts, free SSL, and DirectAdmin Control Panel in every plan. Build a professional brand from day one. Starting at just 500 THB/year.

View Hosting Plans

View all cheap Thailand web hosting plans →