Adding custom sub domain for react app hosted in AWS Amplify redirecting to the main domain

0

We wanted to test this new app in a test domain so we deployed the new version in AWS Amplify and we are able to run the app with the URL generated by amplify (https://development.dqhe1yrk6xj8a.amplifyapp.com) but when we are trying to setup a custom subdomain like (test.koolio.ai) the URL is redirecting us to our main website (www.koolio.ai). We follow all the processes according to the documentation, also we compare all the configuration with one of our working subdomains (admin.koolio.ai)

Enter image description here

Razib
質問済み 2ヶ月前183ビュー
1回答
1
承認された回答
profile picture
エキスパート
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
  • Yes I have added www.test.koolio.ai I have uploaded the screenshot of the configuration you can check

  • I have tested removing the www.test.koolio.ai but its doesn't work

  • Looking at the image, you can see that the redirect is set, but when you deleted "www.test.koolio.ai", did you also cancel the redirect check button?

  • Name resolution is no longer possible with the "dig" command, have you changed any settings?

    dig test.koolio.ai
    
    ; <<>> DiG 9.16.1-Ubuntu <<>> test.koolio.ai
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 40125
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;test.koolio.ai.                        IN      A
    
    ;; Query time: 749 msec
    ;; SERVER: 127.0.2.2#53(127.0.2.2)
    ;; WHEN: Tue Mar 26 15:50:49 JST 2024
    ;; MSG SIZE  rcvd: 43
    

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ