2回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
using route53 ist hosted zone ----> record---- > create record set --> their i am giving sub url and then enable alias --------> after alias to another record in this hosted zone ----> then providing the record ----> then save it
by doing this when i will access main record it should redirect to sub record and i should see 300 status code . but i am getting response from same main record not from sub record and my status code is 200
回答済み 5ヶ月前
関連するコンテンツ
- AWS公式更新しました 2年前
I don't think the HTTP status code will be 300 because it's not an HTTP redirect. The settings you made are mapping between domains, so I don't think it's an HTTP redirect.
For example, if you are using Apache as your web server, you can configure the domain to be redirected by configuring it as follows. In the example below, if the domain "www.test.com" is accessed, it will be redirected to the domain "test.com".
If you are using ALB, you can also set up redirection by following the steps in the document below. https://repost.aws/knowledge-center/elb-redirect-to-another-domain-with-alb