Configuring a Custom Domain
To set up a 'naked' or 'apex' domain (e.g., yourdomain.com), you'll need to adjust your DNS settings:
- Set the A record to "146.190.142.155". Depending on your DNS provider, the name might be the full domain or represented as "@".
- Add a CNAME record pointing to "sites.tryblitztoday.com". For naming, use "www" or the full domain, based on your provider's guidelines.
- 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):
- 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).
- 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:
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/.