@Dean Bullen Thanks for asking question!
As its mentioned here- https://learn.microsoft.com/en-us/azure/static-web-apps/apex-domain-external#set-up-with-an-a-record
- Open the Azure portal.
- Go to your static web app.
- From the Overview window in the top right corner of the Essentials section, select JSON View.
- Copy the value of the
stableInboundIP
property and set it aside in a text editor for future use. This is the IP address of your regional Static Web Apps host. - Under Settings, select Custom domains.
- Select + Add.
- In the Enter domain tab, enter your apex domain name. For instance, if your domain name is
example.com
, enterexample.com
into this box (without any subdomains). - Select Next.
- In the Validate + Configure tab, enter the values.
- Select Generate code. Wait as the code is generated. It make take a minute or so to complete.
- Once the
TXT
record value is generated, copy (next to the generated value) the code to the clipboard. - Select Close.
- Open a new browser tab and sign in to your domain registrar account.
- Go to your domain name's DNS configuration settings.
- Add a new
TXT
record with the following values.Setting Value Type TXT
Host Enter @ Value Paste the generated code value you copied from the Azure portal. TTL (if applicable) Leave as default value. - Save changes to your DNS record.
Check- Set up an A Record
Hope this helps, please let us know if further query happy to assist.