1 個回答
- 最新
- 最多得票
- 最多評論
1
Hi.
You can't implement a redirect mechanism with Route 53 alone.
You can create a wildcard subdomain record on Route 53, but specify the same name resolution destination as his Apex record. In other words, refer to Lightsail. (probably you already do this)
And with Lightsail there is no layer to redirect outside of your instance.
So you have to implement the redirect in your middleware.
If you have created a Bitnami Wordpress instance with Lightsail, you need to define a VirtualHost and redirect it with RewriteRule by referring to the following.
https://docs.bitnami.com/aws-templates/apps/wordpress/administration/redirect-custom-domains/
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 9 個月前
- AWS 官方已更新 1 年前