Set up DNS records at your domain provider

A DNS record tells the internet where your domain points. For your domain to open your store, you add the two records that EcomWeb gives you where you bought the domain, or wherever your domain's DNS is managed. The CNAME record points the domain at your store, and the TXT record proves the domain is yours.

Every provider has its own screens, but the steps are the same. This article uses generic names for the boxes, so look for the matching box at your provider.

Get the record values from EcomWeb

You need to save your domain in EcomWeb first. If you haven’t, follow Connect your own domain.

  1. Go to Settings › Domain.
  2. Find the suggested DNS record box under the Custom Domain (optional) box. If you don’t see it yet, click Refresh.
  3. The box has two rows: a CNAME row and a TXT row. For each row, write down the values in the Type, Name/Host and Value/IP columns.

You can click the copy icon Copy next to each value to copy it instead of typing it.

On a phone, tap the menu icon in the top left corner, choose Settings, then tap the list icon next to Settings and choose Domain.

Add the records

  1. Sign in to the domain management page at your provider, for example PA Vietnam, Mắt Bão or iNET.
  2. Open the DNS record management page for your domain.
  3. Add a new record and choose the record type CNAME.
  4. In the record name box, usually called Name, Host or Tên, enter the value from the Name/Host column of the CNAME row. If your provider adds the domain after this box by itself, enter only the first part, for example www.
  5. In the value box, usually called Value, Target or Giá trị, enter the value from the Value/IP column.
  6. If your provider asks for a TTL, keep the default value, then save the record.
  7. Add another record, this time of type TXT, with the name and value from the TXT row. The name starts with _ecomweb-verify. If your provider wants the full name, the box under the table shows it.
  8. Save the record.

If your domain uses Cloudflare

When Cloudflare manages your domain’s DNS, the DNS record box on the Domain page shows a Quick setup with Cloudflare box.

  1. Click Open DNS in Cloudflare and sign in to Cloudflare. If you have several accounts, choose the one that holds your domain.
  2. Cloudflare opens the DNS records page for your domain. Click Add record.
  3. Copy in the Type, Name and Value of the CNAME row. In Cloudflare, the value box is called Target.
  4. Turn Proxy status off so it shows DNS only (grey cloud), then click Save.
  5. Click Add record again and copy in the TXT row. In Cloudflare, the value box is called Content. Click Save.
  6. Go back to EcomWeb and click Refresh.

Redirect the root domain to www

EcomWeb only accepts a domain with a first part such as www.myshop.vn. To let customers who type myshop.vn still reach your store, set up a redirect at your domain provider.

  1. At your provider, open the domain redirect feature. Some call it forwarding or URL forwarding.
  2. Choose the root domain, for example myshop.vn.
  3. Enter the full destination address, for example https://www.myshop.vn.
  4. Save the redirect.

If you can’t find this feature, ask your provider’s support team.

Check again in EcomWeb

  1. Go to Settings › Domain.
  2. Click Refresh.
  3. Look at the label under the domain box.

When the label is Configured, the domain opens your store. The box below then lists the records to keep: don’t delete them at your provider, or the domain stops opening your store. If the label is still Not configured after the waiting time, see Your domain isn’t working.

Frequently asked questions

Why do I need a TXT record?

The TXT record proves that you own the domain, so no other store can connect it. Your domain only opens your store once EcomWeb finds both the CNAME and the TXT record. Don't add an A record.

Can I delete the TXT record once the domain works?

No. Keep both records. EcomWeb checks the TXT record every day. If it goes missing, you get an email and have 7 days to add it back before the domain disconnects from your store.

Why does the CNAME record still show as not working?

EcomWeb checks the CNAME record only after it finds the TXT record, so add both at the same time.

How long until the record takes effect?

The settings page says DNS can take from 5 minutes to 24 hours to update. EcomWeb checks every 5 minutes, and you can click Refresh to see the latest status.

What if I can't do this myself?

Send your domain and the values in the DNS record box to your domain provider's support team, or to whoever manages your tech, and ask them to add both records.

My domain uses Cloudflare. Is there a shortcut?

Yes. When Cloudflare manages your domain's DNS, the Domain page shows a Quick setup with Cloudflare box with a button that opens your domain's DNS page in Cloudflare. See the Cloudflare section below.

What did you think about this content?

Your answer is used to improve the help center, per our Privacy Policy.