Hostinger Domain

Hostinger is where you register your domain. Once your site is deployed on Vercel, this guide shows you how to point your Hostinger domain to Vercel, and how to add the DNS records Resend needs to send email from your domain.

Last updated: 2026-03-29

Point Your Domain to Vercel

Add your domain in Vercel first. It gives you the exact DNS records to enter in Hostinger. Then go to Hostinger hPanel and add them.

Terminal
# Step 1 — Vercel Dashboard
# Project → Settings → Domains → Add Domain
# Type: yourdomain.com  →  Add
# Vercel shows you:
#   A      @    76.76.21.21
#   CNAME  www  cname.vercel-dns.com

# Step 2 — Hostinger hPanel → Domains → Manage → DNS Zone
#
# Delete any existing A record for @
# Add:
#   Type   Host  Points to            TTL
#   A      @     76.76.21.21          3600
#   CNAME  www   cname.vercel-dns.com 3600
#
# Also add www in Vercel:
# Project → Settings → Domains → Add  →  www.yourdomain.com
# Vercel auto-redirects www → root (or vice versa)

Add Resend DNS Records for Email

Flux uses Resend to send transactional emails (purchase confirmations, magic links). Resend requires you to verify your domain by adding SPF, DKIM, and DMARC records in Hostinger.

Terminal
# Resend Dashboard → Domains → Add Domain → yourdomain.com
# Resend gives you these records — add all of them in Hostinger DNS Zone:
#
# Type   Host                          Value
# TXT    @                             v=spf1 include:amazonses.com ~all
# TXT    resend._domainkey             p=MIGfMA0G...  (your DKIM key)
# TXT    _dmarc                        v=DMARC1; p=none;
# MX     send                          feedback-smtp.us-east-1.amazonses.com
#
# After adding, click Verify in Resend Dashboard.
# Once verified, set your FROM address in Resend:
#   From: hello@yourdomain.com

// src/pages/api/send-email.js
import { Resend } from 'resend';
const resend = new Resend(import.meta.env.RESEND_API_KEY);

await resend.emails.send({
  from: 'Flux Theme <hello@yourdomain.com>',
  to: customer.email,
  subject: 'Your purchase is confirmed',
  html: '<p>Thanks for buying Flux Theme!</p>',
});

SSL is Automatic

You don't need to configure SSL. Vercel provisions a free Let's Encrypt certificate automatically once DNS propagates and your domain status turns green in the Vercel dashboard.

ServiceDNS record neededWhere to add
Vercel (site)A record → 76.76.21.21Hostinger DNS Zone
Vercel (www)CNAME → cname.vercel-dns.comHostinger DNS Zone
Resend (SPF)TXT @ → v=spf1 include:amazonses.com ~allHostinger DNS Zone
Resend (DKIM)TXT resend._domainkey → your keyHostinger DNS Zone
Resend (DMARC)TXT _dmarc → v=DMARC1; p=none;Hostinger DNS Zone
SSL certNone — Vercel handles automatically