• 0 Votes
    2 Posts
    451 Views
    F
    No, you cannot configure the same custom domain on two different FusionAuth Cloud deployments at the same time. The recommended migration sequence is: Remove the custom domain from the production deployment Configure the custom domain on the dev deployment Configure a CNAME record pointing your custom domain directly to the dev deployment's durable hostname Validate the certificate for the domain on the dev deployment Important Considerations DNS Propagation Time DNS changes take time to propagate Expect up to 30 minutes for DNS servers to recognize the changes Propagation may take longer depending on your DNS TTL settings Plan for this downtime window during your migration Certificate Validation Certificate validation uses DNS-based methods You must complete the DNS configuration before certificate validation can succeed To minimize downtime, prepare all configurations on the dev deployment beforehand, then execute the domain removal, DNS update, and certificate validation in quick succession.
  • 0 Votes
    2 Posts
    354 Views
    F
    To resolve this CloudFront conflict, you need to disassociate your custom domain from your CloudFront distribution. Since AWS only allows one CloudFront distribution per hostname, and FusionAuth Cloud is implementing CloudFront on their infrastructure, you have two options: Remove the custom domain from your CloudFront distribution — This allows FusionAuth to add the domain to their CloudFront distribution Set up your CloudFront as a proxy — Configure your distribution to proxy requests to FusionAuth's infrastructure The recommended approach is to remove your custom domain from your CloudFront distribution entirely, as FusionAuth will handle CloudFront configuration as part of their cloud service. How FusionAuth Custom Domains Work When you configure a custom domain with FusionAuth Cloud, you create a CNAME record pointing from your custom domain to your deployment's durable URL (something like <random-string>.durable.fusionauth.dev). FusionAuth manages the CloudFront distribution and SSL certificates on their infrastructure, so you don't need to maintain your own CloudFront distribution for the custom domain. The proper DNS setup should be: Custom domain → CNAME → FusionAuth durable URL This allows FusionAuth to provision and manage the entire CloudFront infrastructure, including SSL certificate validation and renewal, as part of their cloud service. Related Documentation FusionAuth Cloud Custom Domains - Official guide for setting up custom domains on FusionAuth Cloud Adding a Custom Domain - Step-by-step walkthrough of the custom domain configuration process How to set up a Custom Domain for FusionAuth using AWS CloudFront - Guide for self-hosted FusionAuth installations (note: this is for self-hosted, not FusionAuth Cloud) Note: If you're on a High Availability plan and want to use the Unlimited Custom Domains feature, or if you need assistance with the migration, open a support ticket.
  • Want to run FusionAuth and the backend app in Docker

    Moved Solved Q&A docker dns
    2
    0 Votes
    2 Posts
    2k Views
    danD
    You can create two values for the FusionAuth url: internalFusionAuthURL="http://fusionauth:9011" externalFusionAuthURL="http://localhost:9011" So basically whenever you are sending the redirect to the browser (pretty much just the authorize and logout URLs) you use externalFusionAuthURL which references localhost. When you are communicating with FusionAuth from the application backend (the express app) you use the internalFusionAuthURL which references the docker domain name. I tested that out and it seems to work fine. Give that a try.
  • 0 Votes
    3 Posts
    4k Views
    ?
    As of July 25, 2023 we now support Unlimited Custom Domains for FusionAuth Cloud! You can read more in this post, on how to add a custom domain.