If you only want to migrate your website to Templ and keep email and other DNS settings elsewhere, you should only point your A-record to your Templ server's IP address.
Find the site IP in the Templ panel
You can find the IP adress in our control panel by navigating to Websites in the left panel, then click on the name of your website. The IP address will be listed under Overview.
How to change A-Record
The A-record is changed where you control your DNS settings, normally this is the same as where you registered your domain. Log in there and navigate to the DNS settings.
The A-Records you need to update are @ and www so that these point to your Templ servers IP address.
It is very important that you change both @ and www
Note, sometimes "@" to simply referred to as yourdomain.com with certain DNS providers.
How to check if your A-record changes have propagated
The easiest way to check if your A-records have propagated around the world is to use DNS Checker.
Simply enter your domain name in the box, and in the dropdown field select "NS" and then click Search.
If your A-record changes have propagated, they should show your Templ servers IP address as a result. Keep in mind that it can take several hours for the changes to take affect.
How to generate the SSL certificate manually
In case your SSL certificate has not been generated automatically, you can do it manually in the Templ Panel. Keep in mind that you should wait until your A-records have propagated before you do this.
To generate the SSL certificate manually in the Templ Panel, follow these steps:
Login to your Templ Panel
Click on Domains in the left menu
Click on your Domain (find the correct one in the list if you have more than one site hosted on Templ), and then click "Add SSL Certificate Now!"