Setting Custom Domain with and GoDaddy

Setting Custom Domain with and GoDaddy

Hi there! it has been a while since then that I write something but here is something I want to share with regarding Setting Custom Domains with and GoDaddy

Step 1

  • In, get your app name for example todo-app

  • Let's say you already bought a domain in that we can called

Step 2

Run the following commands

flyctl ips list -a todo-app
  • this will show you the IPV4 and IPV6 that you will use later.

  • head over to your DNS provider ( which GoDaddy ) and then create an A and AAAA records for with the IPV4 and IPV6 values.

flyctl certs create -a todo-app
flyctl certs show -a todo-app

This command will show something like this

Hostname                  =

DNS Provider              = godaddy

Certificate Authority     = Let's Encrypt

Issued                    = rsa,ecdsa

Added to App              = 13 minutes ago

Source                    = fly

And thats it! You can visit your website by going to

Let's Trouble Shoot!

Just in case you encounter this error...

A Record (XX.XXX.XXX.XXX) does not match app's IP (XXX.XXX.XX.XX)
Address resolution (XX.XXX.XXX.XXX) does not match app's IP (XXX.XXX.XX.XX/--------)
You are creating a certificate for
We are using lets_encrypt for this certificate.

You can validate your ownership of by:

1: Adding an AAAA record to your DNS service which reads:

    AAAA @ ---------

go back to your DNS provider ( GoDaddy) and delete a record that has something like this

A @ Parked

and then run again

flyctl certs show -a todo-app

And it should show that it is good now!

Happy Coding!