Skip to main content

Adding your custom domain

The first step is to add the relevant DNS records to your domain provider. This will confirm you own the domain and generate an SSL for you.


Adding records to your DNS provider#

From your control panel, navigate to the Custom Domains section and click Add.

In the popup, enter a valid domain name and click Add.

You can choose to validate a full domain name (e.g. mydomain.com) or specifically a subdomain (e.g. sub.mydomain.com).

If you choose to validate the full domain, you can later upload sites to any subdomain you want via the control panel and without the need to add further CNAME records.

Automatic Set-up#

We use Entri to automatically add the relevant DNS records to you domain provider.

Entri should automatically detect your domain provider, request you to sign-in and then add the relevant DNS settings.

If Entri cannot detect the domain provider then you will be asked to select your domain provider.

Manual Set-up#

If the automatic set-up fails you can add the relevant DNS settings by yourself using the details we have sent in an email

STEP 1: Add DNS Records to your domain provider#

Please refer to your email for the exact values, the following are dummy values:

note

Name and Value may be labelled differently based upon your domain registrar.

Record Set A:

Type: CNAME
Name*: _xxxxxxxxxxxxxxxxxxxxxx
Value: _xxxxxxxxxxxxxxxx.xxxxxxxxxxxxxx.acm-validations.aws
note

*In rare cases, your domain provider may need you add the name as _xxxxxxxxxxx.yourdomain.com

Record Set B:

Type: CNAME
Name*: *
Value: xxxxxxxxxxxx.cloudfront.net
note

*This will route your entire website to tiiny (including www.yourdomain.com). If you would like to link only a subdomain (e.g. demo.yourdomain.com) then change this to "demo" and then create a site called "demo.youdomain.com" from the tiiny dashboard after validation.

Record Set C (optional):

Type: A Record
Name: @
Value: 174.129.25.170
note

Needed only if you intend on hosting on www.yourdomain.com. This record will automatically redirect from root to www (e.g. yourdomain.com to www.yourdomain.com). Alternatively, you can set up a redirect as described below.

STEP 2: Test your set-up#

It can take some time for the CNAME records that you've applied to reflect across the internet. You can use a tool like DNSChecker.org to check this.

You should test your set-up by ensuring the correct value for record set A displays in ALL regions

STEP 3: Validate your set-up#

Once ALL the regions show the correct value, please navigate to your tiiny host control panel and click the "Validate" link next to your domain in the "Custom Domains" section.


Redirecting root to www#

If you would like to host your site on the root of your subdomain (e.g. https://mydomain.com) then we recommended setting up forwarding so mydomain.com forwards to www.mydomain.com. This is a web standard configuration.

This is usually achievable with your domain registrar.

Redirecting with GoDaddy#

In the bottom right-hand corner of the DNS Management view for your domain you'll find a box called "Forwarding". Set that to https:// www.yourdomain.com Permanent (301) Forward only.

Additionally, please delete any "@" A records or "www" CNAME records as this will prevent the redirect.


Troubleshooting#

If your domain is not validating, here are some common reasons:

The NAME requires a suffix#

Some domain registrars require you to add the CNAME NAME with a suffix.

For example if the NAME is abcdef try adding the NAME with your domain as the suffix. E.g. abcdef.mydomain.com. Additionally, some domain registrars also require you to add a trailing ., E.g. abcdef.mydomain.com..

Your CNAME updates haven't updated yet#

It can take some time for the CNAME records that you've applied to reflect across the internet. You can use a tool like DNSChecker.org to check this.


Anything unclear or buggy in this tutorial? Please report it!