Skip to Content
StarsellDocs
Online store

Domains

Connect your own domain or a path on your site - the DNS record to add, how Starsell checks it, automatic HTTPS certificates and how long they take, the primary address, and what removing a domain does.

Every store has a free address, https://<platform host>/s/<slug>, that always works. Connect your own domain to sell on an address of your own. Domains are managed on Online store > Domains (the same page is under Settings > Domains).

The page lists every address the store has. Every address opens the same store; the primary one is the address search engines are pointed at.

Connect a domain

Add it

Click Connect a domain. Under Kind of address, keep Your own domain and enter the domain: a root domain like example.com or a subdomain like shop.example.com. You need access to its DNS settings, usually where you bought it.

For a root domain, Also connect www. and the domain is on by default. www is an address of its own, with its own record and its own certificate.

Click Connect. Starsell checks the domain's DNS straight away.

Add the DNS record

The domain shows up with the record to add, under "Add this record where you bought the domain". Each record has its type, name and value, with a copy button:

Your domainTypeNameValue
A root domain (example.com)A@The platform's server address, shown on the page
A subdomain (shop.example.com)CNAMEThe part before your domain (shop)The platform's host name, shown on the page

Add it at your DNS provider exactly as shown. Under each record, the page says what DNS answers now: Found, Now points to and what it points to, or Not found yet.

Wait for it to connect

The page moves through four steps on its own: Add record, Checking DNS, Issuing certificate, Secure. While the page is open it checks every few seconds while a certificate is being issued and every minute while it waits for DNS; with the page closed, Starsell keeps checking in the background (see How long it takes). Check now checks at once.

When the domain is Secure, it serves the store over HTTPS.

Clear out old records first

A certificate needs every record on the name to point at the store. On a root domain, delete any other A or AAAA record on @, such as the registrar's parking page. A name with a CNAME can't have other records: delete any A or AAAA record on that name first.

Some DNS providers can't put a CNAME-like record on a root domain. Where yours has ALIAS, ANAME or CNAME flattening, you can point @ at the platform's host name instead of using the A record. A plain CNAME on the root works only where the provider flattens it. When the platform has no server address to give, the page asks for this ALIAS record on @ instead of an A record.

How long it takes

StepBadgeUsually takes
Add recordWaiting for DNSUntil you add the record. DNS changes usually show within an hour, sometimes up to a day.
Checking DNSChecking DNSThe record is found; it is on its way to the store's server. Usually a few minutes.
Issuing certificateIssuing certificateDNS is right and Let's Encrypt is issuing the certificate. Usually within a minute.
SecureSecureDone. The certificate renews on its own.

You don't have to keep the page open. Starsell re-checks waiting domains and path addresses on its own, whether or not the platform issues certificates automatically: every minute in an address's first hour, every 5 minutes in its first day, then every 30 minutes. Connected addresses are re-checked twice a day, so a renewed certificate's date shows and an address that stopped reaching the store is noticed.

While the page is open, a message tells you when a domain is connected, secure, or its certificate failed. Every change lands in the activity log.

HTTPS

The HTTPS card on the page says how certificates work on your platform:

  • Automatic - every domain you connect gets its own free certificate from Let's Encrypt as soon as its DNS points at the store, and it renews on its own.
  • Set up by the admin - certificates aren't issued automatically on this platform. Domains still connect, but a new domain opens on http, and https shows a browser warning until the platform admin sets a certificate up. The step after Checking DNS reads HTTPS by the admin, and the domain's badge No HTTPS yet.

The card also counts your domains: secure, on the way, failed, without HTTPS and waiting for DNS.

A connected, secure domain shows HTTPS on, who issued the certificate and until when it is valid. Within 14 days of the end it shows Expires in and the days left (red from 3 days), and Certificate expired after.

When the certificate fails

The domain shows Certificate failed and the reason, under Let's Encrypt said or, when the hosting panel refused the domain, The hosting panel said. Usually it is one of these:

  • Another A or AAAA record on the name still points somewhere else.
  • A proxy or firewall blocks http://<domain>/.well-known/acme-challenge/.
  • The record changed a moment ago.

Fix it, then click Retry certificate (on the domain, or in its More menu). Let's Encrypt allows 5 failed tries an hour for a domain, and a retry can be asked once a minute.

Cloudflare

Behind Cloudflare's proxy (the orange cloud), the record can't be read from outside, and the page says so. Turn the proxy off (DNS only) until HTTPS is on here, then turn it back on with SSL/TLS set to Full (strict).

The primary address

The primary address is the one search engines are pointed at: the store's pages name it as their canonical address. Every other address still opens the store; Starsell doesn't redirect between your addresses.

  • The first address you connect is primary, domain or path. Until it is connected it shows Primary once connected, and search engines keep seeing the free address (marked What search sees now).
  • Make primary in a domain's More menu switches it. It needs the domain connected and, with automatic HTTPS, the certificate in place: search engines would see a browser warning otherwise.
  • Removing the primary makes the oldest connected address primary.
  • www is separate. www.example.com and example.com are two addresses. Neither redirects to the other; both open the store, and the primary one is what search engines get.

Markets can add their own canonical addresses per market and language. See Markets by URL and domain.

The addresses list

Each connected address shows its badges (Primary, Path on another site, or Same store as the primary) and, when the store has more than one market, a Default market picker: the market the domain's root opens in. See A domain's default market.

The More menu of an address:

ItemWhat it does
Open in a new tabOpens the address.
Copy addressCopies it.
Check nowChecks DNS and the certificate now.
Retry certificateAsks Let's Encrypt again. Only with automatic HTTPS, while issuing or failed.
Make primaryPoints search engines here. See above.
Connect www. tooFor a root domain without its www yet.
RemoveSee below.

The free address is always last: Free address, "Always on, even before a domain is connected."

Serving on a path

To run the store under your own site, say at your-site.com/store, keep the site where it is and forward one path to the store.

Connect the path

Click Connect a domain and pick A path on your site. Enter Your site (your-site.com) and the Path (/store). A path looks like /store: lowercase letters, digits and dashes.

Forward it from your site

Set up your site, its server or its proxy, to forward that path to the store, as the page shows:

# on your-site.com
/store/* forwards to
  https://<platform host>/store/*
header x-forwarded-host: your-site.com
header x-starsell-base: /store

Check it

Starsell opens https://your-site.com/store and looks for this store's page. Until it finds it, the address shows Not forwarding yet with the last answer it got. A path is checked while the Domains page is open, when you click Check now, and in the background with the page closed: every minute in its first hour, then less often (see How long it takes).

A path uses your own site's HTTPS certificate: Starsell issues none for it. Store links stay under the path.

Removing a domain

More > Remove asks first. Then:

  • Visitors on that address stop reaching the store right away, and with automatic HTTPS its certificate is dropped.
  • If it was primary, the oldest connected address becomes primary.
  • Markets limited to it stop naming it. A market that was limited to only that domain answers on every domain again. See Binding a market to domains.

You can connect it again later.

Rules that matter

  • One store per address. An address another store uses is refused ("Another store already uses this address"), and the platform's own addresses can't be connected.
  • Exact names. example.com, www.example.com and shop.example.com are each connected on their own, each with its own record and certificate.
  • No redirects between addresses. Every address opens the same store. Search engines get the primary one.
  • Buying a domain isn't built in. Buy a domain says so: buy it from any registrar, then connect it here.
  • Who can use it. The Domains page needs the Domains permission.

The Store preferences for search card says what search engines get: the store's name as the page title and the primary address (or the free one). While the store's status is Draft, search engines are asked not to list it. Edit preferences opens the store settings.

On this page