Change A records only
If you only want to migrate your website to Templ while maintaining email and other DNS settings elsewhere, you should only point your A-record to the IP address of your Templ website.
This assumes you've already added the domain in the Templ Panel with Use external nameservers toggled on.
Only do this if your DNS is managed externally.
If Templ manages your DNS, you don't need to change A records yourself - the Templ Panel sets the correct records automatically.
If you point your domain to Templ using A-records, it's also necessary to manually add SPF, DKIM and verify your domain, in order to ensure optimal email deliverability for emails sent from your website.
If you're ready to take your site live, assign the domain to your website in the Templ Panel before updating the A-records.
If you're not ready yet, you can update the A-records first and assign the domain later - the site keeps working on its temporary domain until you do.
Find the website IP in the Templ Panel
- Navigate to Websites in the left menu of the Templ Panel.
- Click on the name of your website. The IP address will be listed under Overview.

How to change A-records
- Access DNS Settings: Log into the platform where you manage your DNS settings, normally the same place as where you registered your domain, and navigate to the domain's DNS Settings.
- Update A-Records: Modify the A-records for "@" and "www" to point to your Templ website's IP address. It is important to change both @ and www.
Some DNS providers might not use the "@" symbol and require that you input the actual domain name, "yourdomain.com", directly in the records where you might otherwise use "@".
Remove AAAA Records: Delete any AAAA records for "@" and "www" as these are for IPv6 and not required. They can interfere with automated SSL certificate generation.
Checking A-record propagation
The easiest way to check if your A-records have propagated around the world is to use DNS Checker.
- Enter your domain name, select "A" from the dropdown and click Search.
- If the A-record changes have properly propagated, it will display your Templ website's IP address.
For faster propagation, if the TTL (Time to Live) is set to 3600 seconds (1 hour), consider reducing it to the minimum possible (typically 5 minutes). Then wait an hour before you change A-record. This adjustment can significantly speed up DNS propagation times.

SSL certificate
Once your A-records point to Templ and have propagated, an SSL certificate is generated automatically. If it doesn't appear, or you want to trigger it manually, see SSL certificates.