FeaturesPricingLog inSign up
blitz
How-To

Domains and Subdomains

This guide provides step-by-step instructions for setting up a custom domain or subdomain for your Blitz website. It covers DNS configurations, domain provider adjustments, and troubleshooting tips to ensure a smooth transition.
By
Asger Jensen
Updated:
December 4, 2023
Domains and Subdomains
TABLE OF CONTENT

Configuring a Custom Domain

To set up a 'naked' or 'apex' domain (e.g., yourdomain.com), you'll need to adjust your DNS settings:

A record and CNAME record
  1. Set the A record to "146.190.142.155". Depending on your DNS provider, the name might be the full domain or represented as "@".
  2. Add a CNAME record pointing to "sites.tryblitztoday.com". For naming, use "www" or the full domain, based on your provider's guidelines.
  3. Delete any existing A and AAAA records for your domain, as they might interfere with the correct settings for Blitz.

Configuring a Custom Subdomain

For setting up a custom subdomain (like subdomain.yourdomain.com):

  1. Add a CNAME record pointing to "sites.tryblitztoday.com". For naming, use "www" or the full domain, based on your provider's guidelines. The CNAME record's name should either be the full subdomain or just the specific prefix (e.g., "blog" for blog.yourdomain.com).
  2. Remember, some DNS providers need a trailing dot at the end of the CNAME destination, so it might look like "sites.example.com.".

Confirming Changes (Propagation)

Changes to DNS settings can take up to 48 hours to propagate worldwide, although it often occurs in less time. After propagation, visitors can access your site using the connected domain.

The TTL (time to live) for a record indicates how long servers should cache the result. While traditionally this might be set to a day (86400 seconds), nowadays it's often just a few minutes (300 seconds). However, some servers might not respect shorter TTL values, slowing down updates. In such cases, you might consider using a public DNS server like 1.1.1.1.

Domain Providers

To link your Blitz website to a custom domain purchased through a web hosting service, you'll need to adjust the DNS records with that provider. After acquiring a domain, navigate to the the Blitz dashboard section and choose "Add custom domain".

Upon entering your domain, update your DNS records according to the provided details. Web hosting services typically feature custom panels for DNS management. Usually, you'll find this under Domain Settings > DNS Records. Here are support articles for popular domain registrars:

  • GoDaddy: Adding A Records and a CNAME
  • Google Domains: Adding A Records and a CNAME
  • Ionos 1&1: Adding A Records and a CNAME
  • Gandi: Adding A Records and a CNAME
  • Cloudflare: Adding A Records and a CNAME
  • NameCheap: Adding A Records and a CNAME

Troubleshooting

Ensure you remove all other A and AAAA records that might override the correct ones, leading to incorrect server pointing.

Remember the dot. Some providers might need a trailing dot in the CNAME record. If overlooked, your domain may appear as www.yourdomain.com.sites.tryblitztoday.com.

For DNS debugging, consider using tools like https://www.nslookup.io/.

‍

Get the week's best content
You are now subscribed!
Oops! Something went wrong, please try again.
Get the week's best content
You are now subscribed!
Oops! Something went wrong, please try again.
Generate a free website
Sign up for Blitz
How-To

Customize your Blitz website

December 4, 2023
Company
PricingHow -To'sFeatures
Contact Us
Email: hello@tryblitz.io
Alternatives
View all alternatives
More information
AboutBlog
© 2023 Blitz.. All rights reserved