DNS and domain troubleshooting

Updated

Reviewedbyfl

🔎

Check records, then cache.

Solving common DNS problems when connecting an external domain to fortrabbit.

Common issues

Wrong DNS settings

Compare your actual DNS records against the desired settings shown in the dashboard. Mismatches here are the most common cause of routing failure. Check for conflicting or outdated records that might override the correct ones. See external domain setup for the record values.

Time delays

Many domain providers default to a long TTL (Time To Live). The TTL value is in seconds. Often it's 3600 meaning one hour. TTL caching reduces round trips. Most domain providers let you set down the TTL, which is very useful to do before moving domains. See below on how to query the current DNS settings.

Internal routing issues

A 404 error appearing after DNS is correctly routed and traffic reaches fortrabbit usually signals a misconfigured app. Check your root path setting and any domain-specific URL settings in your app code. See also 404 troubleshooting.

No DNS settings

Errors like "DNS_PROBE_FINISHED_NXDOMAIN", "This site can't be reached", or "This webpage is not available" indicate that DNS resolution has failed. The domain is either unregistered or has no DNS records. Contact your domain provider to register the domain and add DNS records.

Certificate errors

Once a domain is correctly routed, the TLS certificate needs to be installed. This takes some additional time in which requests to the HTTPS version of the website will display a certificate warning in the browser. This is not a DNS issue, see the HTTPS troubleshooting guide.

No domain configured with fortrabbit

Registering an external domain at your registrar is separate from configuring it in the fortrabbit dashboard. Both steps are required. Verify that the domain appears in your app's dashboard configuration.

Debugging DNS issues

Use the dashboard as a guidance

When visiting your external domain within the dashboard, you'll see the desired and the currently active DNS values for the domain. Those two settings should match.

Use dig to verify current DNS values

You can verify DNS settings with the dig command.

Use a DNS checker website

You can also use DNS test websites to rule out caching, those can query your DNS entries from different locations at once.

Written by a human. Review, grammar checks and typo fixes by AI.

AI use & editorial processEdit on GitHub ↗