Skip to content

Opening an Online Store: Domain and Email Setup Guide

Before the first order, an online store needs a trustworthy domain and working business email. This guide walks through the choices and the DNS setup in order.

10 min readUpdated Nov 23, 2026By XPASS Editorial Team

Opening an Online Store: Domain and Email Setup Guide

An online store looks simple from the outside: products, a cart, a payment page. Behind it sit two quiet pieces of infrastructure that customers judge you on long before they see your catalogue. One is the domain name, which is the address they type or click. The other is the email that arrives from you after they order, and the address they write to when something goes wrong.

Getting these right before you open is far easier than fixing them after the first complaint. This guide goes through the decisions in order: choosing and registering the domain, setting up business email, connecting the DNS records, preparing for HTTPS and testing everything with a mock order. It avoids prices because those are shown on the product pages and change over time.

Why the domain and the email come first

New shop owners often start with the storefront platform and treat the domain as a detail to attach at the end. That order causes avoidable trouble. A store platform can usually give you a temporary address on its own domain, but customers do not trust an unfamiliar address with a long random subdomain, and search engines treat a changed address as a new site if you move later.

Email has the same pattern. A shop that sends receipts from a generic public mailbox looks less established, and replies from customers land in a personal inbox that nobody else on the team can see. If you start with a proper domain and business email, both of these problems disappear.

There is a technical reason for the order too. The domain controls the DNS zone, and the DNS zone is where the store, the email and the HTTPS certificate all attach. Decide the domain first and everything else has a place to hang. The overall naming system is explained in RFC 1034, and it is worth knowing that a domain is just a name that points to other services you choose.

Step 1: Choose the domain name

A good store domain is short, easy to say over the phone and easy to spell after hearing it once. Consider these guidelines:

  • Prefer the brand name itself. If the brand is Mali Candles, malicandles.com is easier to remember than a keyword-heavy variation.
  • Avoid hyphens, numbers and unusual spellings. They get lost when spoken or copied.
  • Check for look-alikes. Search the name to see if another business uses something close, and avoid names that could infringe someone else's trademark.
  • Think about the extension. A .com is familiar worldwide. A country extension may suit a local audience. Both can work; what matters is consistency across your packaging, social profiles and store.
  • Consider registering close variations or common misspellings if the brand matters to you. You can point them to the main domain later.
  • Pick a name that will still fit if you add products. A name tied to one item can become limiting.

When the choice is made, register the domain in your own name or your company's name. The registrant is the legal holder, so do not let a designer, an agency or a relative register it in theirs. Use an email address for the registrant contact that you will still control in several years. You can search and register through the domains page.

Step 2: Plan the mailboxes

Before buying anything, list the addresses the store needs. A small shop usually wants:

Address Purpose
hello@ or shop@ General customer contact and the reply-to on order emails
support@ Delivery problems, returns and complaints
orders@ Optionally, the sender of automated confirmations
accounts@ Invoices, payments and bookkeeping messages
yourname@ The owner's personal business mailbox

Role addresses matter. If support@ belongs to a role rather than a person, you can change who reads it without changing the address printed on your packaging. For a single-person shop you can often route several role addresses into one mailbox, but keep the addresses separate so you can split them later.

You can see how business email works and what a mailbox service includes on the business email page. If you are deciding whether to buy the domain and mailboxes together, the article on whether a domain plus business email bundle is worth it lays out the trade-offs.

Step 3: Set up the DNS records for email

Once the domain exists and the mailboxes are ordered, the DNS zone has to tell the world where your mail lives and who may send it. For an online store, email authentication is not optional, because your messages include receipts and password resets that people must actually receive.

The basic set is:

  1. MX records. These tell other mail servers where to deliver mail for your domain. Copy them exactly as the mailbox provider shows them, including priority values.
  2. SPF. A TXT record that lists who may send mail for your domain. A domain should have only one SPF record, so if the store platform also sends mail for you, merge its include into the existing record instead of adding a second one.
  3. DKIM. A key published in DNS so receivers can verify that a message was signed by an authorised sender. Each sending service usually has its own DKIM record, so expect more than one.
  4. DMARC. A policy record, defined in RFC 7489, that tells receivers what to do with messages that fail SPF and DKIM alignment, and where to send reports. Begin with a monitoring policy so you can see all the legitimate senders before you tighten it.

A common pitfall for stores is forgetting the second sender. The mailboxes you set up for staff are one sender. The store platform, the payment provider and a newsletter tool might each send email in your name too. Each needs to be authorised in SPF and DKIM, or its messages may fail checks and land in spam. Check each tool's documentation for the exact records, and add them one at a time.

Step 4: Connect the store and prepare HTTPS

With DNS in place for email, point the website records at the store platform. Platforms usually ask for either an A record for the main domain, a CNAME for the www hostname or both. Follow the instructions exactly, and keep the email records untouched when you edit the web ones.

Next, make sure the store is served over HTTPS. Shoppers see the padlock on checkout pages and browsers warn about pages that lack it. The ideas behind this are explained in what HTTPS is. Some platforms issue a certificate automatically after the domain is connected. If you need to manage your own, review the options on the SSL page and confirm that the certificate covers every hostname customers will use, usually both the bare domain and www. The article on who a domain plus SSL bundle is for is a helpful companion here.

Then decide on a single preferred version of the address, either with www or without, and redirect the other to it. Mixed addresses confuse analytics and can split search visibility.

Step 5: Test with a mock order

Do not wait for a real customer to find the problems. Run a dry rehearsal.

  1. Place a test order using the store's test mode or a low-risk order you can cancel.
  2. Confirm the order confirmation email arrives, and check whether it landed in the inbox or the spam folder at more than one outside mail service.
  3. Open the message source or details and look for SPF, DKIM and DMARC results. Most mail services can show whether each passed.
  4. Reply to the message and confirm the reply reaches the shop mailbox.
  5. Trigger a password reset and a contact form submission and check both emails arrive.
  6. Visit the store from a phone on mobile data, not only your home Wi-Fi, and confirm HTTPS works without warnings.
  7. Send a message from the shop mailbox to an address that you do not own and ask the recipient what name and address they see.

Fix problems one at a time. Each DNS change can take time to propagate, so re-test after waiting rather than changing several things at once.

A plain example

Suppose Anan opens a store for handmade leather wallets under the name Anan Leather. The sequence might look like this.

  • Anan registers ananleather.com in his own name, using a personal email address he has had for years as the registrant contact.
  • He orders three mailboxes: hello@, support@ and anan@. The first two are forwarded into one shared inbox so a helper can answer them.
  • He adds the MX, SPF and DKIM records provided by the mailbox service and a DMARC record in monitoring mode.
  • He connects the store platform. The platform asks him to add its sending domain to SPF and a DKIM record. He merges the SPF include into his existing record and adds the DKIM record as instructed.
  • He places a mock order, checks that the confirmation arrives in an inbox at two outside mail services and that DMARC reports a pass.
  • Two weeks after launch he reads the DMARC reports, sees only his own services as senders and moves the policy to a stricter setting.

Nothing here required advanced skills. It required doing the steps in order and checking each result.

Limits and what to watch for

A few realities are worth keeping in mind as you prepare.

  • Renewal is on you. A domain that expires takes the store and the email down at once. Turn on auto-renew where you can, and keep the registrant email current.
  • DNS changes are not instant. Changes can take from minutes to many hours to be seen everywhere, depending on cached values. Do not panic if a test fails right after a change.
  • Email deliverability is shared work. Your records are one input, along with the reputation of your sending services, the content of your messages and how recipients react. Perfect records still do not promise inbox placement.
  • Do not use your store mailbox for bulk marketing without consent. Unwanted mail damages the reputation that your order confirmations rely on, and local rules may apply to marketing messages.
  • Avoid putting customer personal data into email more than needed. Use the store platform for order details and keep mailbox contents tidy.
  • Protect the accounts. Turn on two-step verification for the registrar, the mailbox service and the store platform. Losing control of the domain account means losing everything attached to it.
  • Keep a record. Note where the domain is registered, who has access and where the DNS is hosted, so that a change of staff or helper does not strand you.

Common mistakes new stores make

  • Letting a freelancer register the domain in the freelancer's own name.
  • Using a personal email as the shop's only address, then losing mail when that person leaves.
  • Adding a second SPF record instead of merging, which can make SPF fail.
  • Forgetting to authorise the store platform that sends order emails.
  • Pointing only the bare domain at the store and leaving www broken, or the reverse.
  • Launching without testing a real order confirmation from an outside account.
  • Skipping domain renewal reminders, then discovering the lapse from a customer.

Summary

For an online store, the domain and the email are part of the product. Choose a short, clear domain and register it in your own name. Plan role-based mailboxes. Set up MX, SPF, DKIM and DMARC, remembering to authorise every service that sends mail for you. Connect the store, make sure HTTPS covers every address customers use, and rehearse with a mock order before opening. Keep renewals and account security under control afterwards. When you are ready to look at the options, the product pages are the place to start, and the breakdown of company website costs helps you see where these items fit in the wider budget.

Frequently asked questions

What should I set up first, the domain or the email?

Register the domain first, because the email address depends on it. Then add the mailboxes and the DNS records for email, and only after that connect the store platform and the HTTPS certificate.

Do I need business email for an online store?

It is strongly advisable. Order confirmations, receipts, support replies and supplier messages all look more trustworthy from an address on your own domain, and you keep control of the address if you change store platforms.

Should the store and the email use the same domain?

Usually yes, for a small shop. A consistent name builds recognition. Larger shops sometimes send automated order emails from a subdomain so that bulk mail does not affect the reputation of staff mailboxes.

Which DNS records does an online store need for email?

At least MX records for receiving, an SPF record, DKIM signing and a DMARC policy. If the store platform sends order emails for you, it will usually ask you to add its own SPF include and DKIM records as well.

Do customers care about HTTPS?

Yes. Browsers warn about pages without HTTPS, and shoppers expect the padlock at checkout. Make sure the certificate covers the exact hostnames your store uses.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Start your website the right way

Register a domain, add SSL and set up business email from one place.

.com registration from $18.81 for the first year

Start with a domain

Keep reading

Website Guides

Is a Domain + Business Email Bundle Worth It?

A domain plus business email bundle saves setup effort, but it is not right for everyone. Learn when it helps, what to check and how DNS ties the two together.

10 min read

Website Guides

Who Is a Domain Plus SSL Package For?

A Domain plus SSL package puts a name and its HTTPS certificate in one purchase. Learn who it suits, who should buy separately and what to verify first.

9 min read

Website Guides

What a Company Website Costs: A Line-by-Line Breakdown

A company website is more than a design fee. Learn the one-off and recurring cost lines, how to budget for them and where surprises usually appear.

10 min read