Publishing and domains

Connect a domain you already own

Point a domain you already own at your YAH site, with the DNS records to add, what each status means and what to do if it gets stuck.

If you already own a domain, such as yourbusiness.com, you can connect it to your YAH site so visitors reach your site at that address. You add a DNS record for each address and one that proves the domain is yours, and YAH does the rest. It's part of Pro and Business: see Compare the plans.

Your yah.place address keeps working alongside your domain. Don't have a domain yet? Buy one in YAH, with no records to add.

Before you start

  • Be on Pro or Business. On Free, Manage → Site → Domain shows an upgrade offer in place of the form.
  • Publish your site at least once. A domain shows your published site, so an unpublished site gives it nothing to show. See Publish your site.
  • Know where your domain's DNS is managed. This is usually the company you bought the domain from. You'll need to sign in there and add records.

Connect your domain

  1. Open Manage → Site and select Domain. You can also select Add custom domain in the Publish panel.
  2. Under Connect a domain you own, type your domain, such as example.com, and select Connect.
  3. Your domain appears as Waiting for DNS, with the records to add. If YAH recognises your DNS provider, the card names it and may link to its help page.
  4. At your DNS provider, add each record exactly as shown. Select Copy name and Copy value rather than retyping them.

That's it. YAH watches for your change, the status moves on by itself until it reads Live, and YAH emails you when it does.

What gets connected

  • A bare domain, such as example.com, is connected together with www.example.com. The one you typed becomes your main address, and visitors to the other are sent to it.
  • A www address, such as www.example.com, is connected together with example.com, with the www version as your main address.
  • Any other subdomain, such as shop.example.com, is connected on its own.

The DNS records to add

The domain's card shows the exact records to add. They follow this pattern:

You're connectingTypeNameValue
A bare domain, such as example.comALIAS@The value shown in YAH
Its www version, www.example.comCNAMEwwwThe value shown in YAH
Another subdomain, such as shop.example.comCNAMEshopThe value shown in YAH
Proof that it's yours, for a bare domain and its www versionTXT_yah-verifyThe value shown in YAH, starting yah-verify=
Proof that it's yours, for another subdomainTXT_yah-verify.shop, for exampleThe value shown in YAH, starting yah-verify=

For TTL, use 3600, or leave your provider's default. You can leave every other field as it is.

Providers don't all use the same words:

  • Name may be called "Host".
  • Value may be called "Points to" or "Target".
  • ALIAS may be called ANAME or "CNAME flattening".
  • If your provider doesn't accept @ as a name, leave Name empty.

If your domain already has a record with the same name, for example one pointing at an old website, edit it or delete it, so the name points only at YAH.

The record that proves it's yours

The TXT record named _yah-verify proves the domain is yours, so nobody else can connect it to their site. YAH connects a domain only once it has seen this record as well as the one that points the domain at YAH. One record covers a bare domain and its www version.

  • Keep it after the domain is live. YAH checks for it every day. If it's removed, YAH emails you straight away, again after 7 days and after 13, and disconnects the domain from your site after 14 days unless the record is back. If your domain ever points away from YAH for a day or more, your site comes back only once YAH sees this record again.
  • You have 7 days. If YAH hasn't seen both records 7 days after you add the domain, it takes the domain off your site, so that whoever owns it can use it, and emails you. You can add it again at any time.
  • A domain bought through YAH needs no TXT record: buying it proved it's yours. Once you ask to move it to another registrar, it needs one like any other domain.

What each status means

StatusWhat's happening
Waiting for DNSYAH hasn't seen your records yet. Changes usually appear within a few minutes, but can take up to an hour.
CheckingYAH can see your DNS change and is getting the domain ready. This normally takes a few minutes.
Almost thereYour domain is set up, and YAH is waiting for it to start serving your site.
LiveYour site is showing at this domain.
Needs attentionSomething is stopping the domain working. The card says what. See It says Needs attention.
DisconnectingThe domain is being removed.

HTTPS is set up and renewed for you. There are no certificates to manage.

Check again now

YAH checks your domain by itself, every minute at first and less often as time goes on. To ask it to look sooner, such as straight after you've fixed a record, select Check now on the domain's card.

If a live domain stops working

YAH checks a live domain every day. If its record is removed or changed, the domain moves to Needs attention, and YAH emails you.

  • Put right within a day: your site comes straight back.
  • Away for a day or more: your site comes back only when YAH also sees your TXT record.
  • Away for 30 days: YAH disconnects the domain from your site and emails you. Pointing it back without the TXT record doesn't stop the 30 days.

Choose your main address

Your main address is the one your site shows at. Visitors to the other half of the pair, such as www.example.com, are sent to it. To swap them, wait until the other address is Live, then select Make this the main address on it.

Disconnect a domain

  1. Open Manage → Site and select Domain.
  2. Select the bin icon on the domain's card (Disconnect domain).
  3. Select Delete to confirm.

The bare domain and its www version are disconnected together, and the domain becomes available to connect to another YAH site. Your site stays as it is at its yah.place address.

Afterwards, remove the records you added at your DNS provider, so the domain can't be pointed at another site. A domain bought through YAH is different: see Buy a domain.

Disconnecting also affects:

Good to know

  • Each site can have up to 10 addresses, and a bare domain and its www version count as two. When a site is full, Manage → Site → Domain says Domain limit reached: disconnect a domain before adding another.
  • A domain can be connected to only one YAH site at a time.
  • If you later leave Pro or Business, domains you've connected keep working, but you can't add another.
  • Wildcard domains, such as *.example.com, can't be connected.
  • Once your domain is Live, your site's emails to customers can come from an address at it: see Send email from your domain.

Troubleshooting

It says Needs attention

The card says what's wrong, and most messages tell you what to do. These need more explaining:

  • We cannot find the DNS record any more or This domain now points somewhere else: put the record back as the card shows it. If it has been away for a day or more, the TXT record is needed too.
  • This domain resolves but your site is not answering on it yet: make sure your site is published. The domain comes back by itself once your site answers.
  • Your DNS provider cannot point a bare domain at a site like this: see the next section.

My provider can't point a bare domain

Some DNS providers, such as GoDaddy, 123 Reg and IONOS, can't add an ALIAS record for a bare domain such as example.com. The www version works with every provider, so use that as your main address:

  1. Add the CNAME record for www and the TXT record shown on its card.
  2. Wait until www.example.com is Live.
  3. Select Make this the main address on it.

Your site then shows at www.example.com. The bare domain can't point at your site while your DNS is with that provider, so it stays on Needs attention.

It's been Waiting for DNS for over an hour

Check the record at your DNS provider against the card, character for character. Name should be exactly what the card shows, such as @ or www, not your whole domain: many providers add the domain for you, so typing www.example.com can end up as www.example.com.example.com. Then select Check now.

Also check that you added it at the right company. If your domain's DNS is managed somewhere other than where you bought it, the record has to go there.

My domain doesn't show my site

A domain only shows your site once your site is published, so publish it first. Almost there, or a page saying This domain is not connected to a site., often means this. Otherwise, check the domain's status in Manage → Site → Domain. If it pointed away from YAH for a day or more, check that your TXT record is still there.

It says the domain is already connected

  • That domain is already connected to another site, or The www version of that domain is already connected elsewhere: a domain can only be on one YAH site at a time. If it's on another of your projects, disconnect it there first. If it isn't, see Someone else added my domain.
  • That domain is already held by an open purchase or another site: someone has started buying it through YAH, or it was bought through YAH. If you started a checkout yourself and didn't finish, wait about 35 minutes, then try again.

Someone else added my domain

If someone else added your domain to their YAH site but never set it up there, you can take it:

  1. Select Connect. YAH shows a TXT record under the message.
  2. Add that record at your DNS provider.
  3. Select Connect again.

YAH then takes the domain off the other site, emails that site's owner, and connects the domain to yours. If it's set up on the other site, YAH shows no record and it can't be taken this way: contact support.