Your Guide to Domains & Servers for selfhostedSMTP

Everything you need to know about choosing the right domain and server providers for your SMTP setup.

Choosing Your Domain Provider

Your domain is your identity. For the fastest, fully automated setup with selfhostedSMTP, we highly recommend using Cloudflare due to its robust API support, which allows us to configure all DNS records for you instantly.

ProviderKey FeatureBest ForAPI Support
☁️ Cloudflare
Security & PerformanceAutomated Setup with selfhostedSMTP
Full API Support (Recommended)
GoDaddyLargest MarketplaceBeginners, Bundled ServicesManual Setup
NamecheapCompetitive PricingValue-Conscious UsersManual Setup
HostingerAll-in-One SolutionsUsers wanting domain+hostingManual Setup

Important: While all providers work with selfhostedSMTP, Cloudflare is the only one that enables a completely hands-off DNS experience with our automation.

Choosing Your VPS Server

selfhostedSMTP is engineered for efficiency. It runs flawlessly on even the most affordable VPS plans, requiring less than 1GB of RAM. This means you can get a powerful email server for as little as $3-$5 per month.

You don't need a powerful machine. You need a reliable one. Any provider offering a basic Ubuntu VPS will work.

ProviderStarting PriceKey FeatureOur Note
Hostwinds~$5.99/moGood US-based supportSolid all-rounder
Hetzner~€4.51/moExcellent price/performanceGreat in Europe
OVH~$4.20/moLarge global infrastructureBudget-friendly
Contabo~$6.99/moHigh resource allocationMore RAM/CPU for the price
Vultr~$6.00/moHigh-performance & simple UIVery reliable
Clouding.io~€4.45/moStrong European presenceGood performance

Remember: Cost does not equate to quality for this use case. A cheap VPS is perfect for selfhostedSMTP - you're paying for reliability, not raw power.

Unlock Fully Automated Setup with Cloudflare API

This is the magic key. By providing a Cloudflare API token, you give selfhostedSMTP limited permission to manage DNS only for your domain. This allows us to automatically create all the necessary A, MX, and TXT records (for DKIM, DMARC, etc.), making your setup complete in minutes without you ever touching a DNS panel.

Security Note

The token uses the principle of least privilege, meaning it can only do what we explicitly tell it to do (manage DNS), and nothing else. It cannot access your account settings, billing, or other zones.

How to Create Your Cloudflare API Token

1

Access Your Cloudflare Profile

Click on your avatar at the top right corner of your Cloudflare dashboard and select "My Profile."

2

Navigate to API Tokens

Go to the "API Tokens" section in the left navigation menu.

3

Create Custom Token

Click "Create Token" and select "Custom token" for precise control over permissions.

4

Configure Token Permissions

Set the following permissions:
Permissions:
• Zone:DNS:Edit
• Zone:Zone:Read
Zone Resources:
• Include: Specific zone → [your domain]
5

Generate and Copy Token

Click "Continue to summary" then "Create Token". Copy the generated token immediately.

CRITICAL: You will not be able to see this token again after leaving this page. Copy it now and paste it directly into selfhostedSMTP.

Ready to Set Up Your SMTP Server?

Now that you know how to get a domain and server, let's get your SMTP configured in minutes.

Get Your SMTP Now