Skip to main content

DNS Configuration (Business License)

This guide shows you how to configure DNS records for your WhautoMail deployment so you can use friendly domains and add an extra layer of security.

Why Use Cloudflare?

We strongly recommend using Cloudflare as your DNS provider. Cloudflare adds security controls at the DNS and edge level, can proxy traffic to hide your server's IP, and makes it straightforward to configure rate limiting and Web Application Firewall (WAF) rules. This helps keep malicious traffic away and protects your WhautoMail deployment from common attacks.

  • Enable TLS for DNS-to-internet security. SSL certificates (via Let's Encrypt) will be installed during the application installation step.
  • Highly recommend a WAF between your server and end user for additional protection. Cloudflare makes this easy to configure.

Required DNS Records

Before installing WhautoMail, you must create the following 4 DNS records:

TypeNameValue (Points to)Purpose
Acore.yourcompany.com[Your Server Public IP]Backend core API
Aws.yourcompany.com[Your Server Public IP]Websocket server
Aapp.yourcompany.com[Your Server Public IP]Main app for end users
Alive.yourcompany.com[Your Server Public IP]LiveChat for website visitors
  • Replace [Your Server Public IP] with the actual IP address of your cloud instance.

Step 1: Choose Your Domain

  • Decide on the domain or subdomain (e.g., mail.yourcompany.com) you want to use for your WhautoMail instance.
  • Register your domain with a reputable provider if you haven’t already.

Step 2: Update DNS Records

  • Log in to your DNS provider’s dashboard (e.g., Cloudflare, GoDaddy, Namecheap, AWS Route 53).
  • Create or edit the records listed above so they point to your server.

Step 3: Propagate DNS Changes

  • DNS changes can take up to 24 hours to propagate, but often update within an hour.
  • Use tools like whatsmydns.net to check propagation.
  • Enable TLS at the DNS provider level (e.g., Cloudflare Full SSL).
  • SSL certificates for your domains will be automatically installed using Let's Encrypt during the WhautoMail installation.
  • This ensures all traffic to your WhautoMail instance is encrypted end to end.

Step 5: Security Best Practices

  • Use a reputable DNS provider with DDoS protection (e.g., Cloudflare).
  • Install rate limiting rules and a WAF on your domain.
  • Enable DNSSEC if available.
  • Regularly review and restrict DNS record access.

Optional: Advanced DNS Setup

  • For multi-region or high-availability deployments, consider using DNS load balancing or failover features.
  • Set up SPF, DKIM, and DMARC records if you plan to send emails from your domain.

Need more help? Refer to your DNS provider’s documentation or contact your IT administrator.