Each cluster in appfleet comes with a Global Hostname that you can start using instantly.

But you can also use your own domain to point to your cluster. It can be a top level domain like example.com or any kind of subdomain like www.example.com or api.prod.example.com

To configure it, you first need to point your domain to your Global Hostname. You will need to go to the control panel of your DNS provider and create a CNAME record pointing to your cluster.

Note: To point root domains like example.com you will have to use an "ANAME" DNS record. Not all DNS providers support them, so make sure your does.

Warning: DO NOT use appfleet IP addresses when configuring your DNS, our IPs change frequently.

Once you create your CNAME or ANAME everything should just work without any extra steps.

Our smart proxy doesn't do any host based validation for any of the requests. This means that there is no need to configure custom domains on the appfleet level. Your application is responsible for access and hostname control.

But if you wish to use appfleet's free HTTPS then you will have to add your domain name into our system. Learn how to enable a free SSL certificate on your custom domain.

Did this answer your question?