Please provide solutions for when subdomain auto-detection is not working in Amplify Hosting

Please provide solutions for when subdomain auto-detection is not working in Amplify Hosting

2025.09.30

日本語版はこちら

The issue

I am developing an app using Amplify Hosting.

I have enabled the subdomain auto-detection feature as described in the official AWS blog, but the URL for the detected branches remains as the default amplifyapp.com instead of the custom domain.

Please provide solutions for when subdomain auto-detection is not working in Amplify Hosting.

The solution

Please create branches several minutes after enabling subdomain auto-detection in Amplify Hosting.

When you create a branch immediately after enabling subdomain auto-detection in Amplify Hosting, the URL for the detected branch may remain as the default amplifyapp.com instead of the custom domain.

Therefore, after enabling subdomain auto-detection, please wait several minutes before creating a branch, and confirm that the URL for the detected branch uses the custom domain.

If branch auto-detection itself is not working, please check whether branch auto-detection is enabled and whether the branch auto-detection pattern is correct.

2025-09-30_10h22_59

Additionally, if subdomain auto-detection is not working even after creating a branch several minutes after enabling subdomain auto-detection, please also check whether the subdomain auto-detection pattern is correct.

2025-09-30_10h25_08

Based on actual verification, for up to about 10 minutes after enabling subdomain auto-detection, the URL may sometimes be amplifyapp.com and sometimes be the custom domain, so please be careful about the timing of branch creation when using subdomain auto-detection.

References

この記事をシェアする

FacebookHatena blogX

関連記事