1 Answer
- Newest
- Most votes
- Most comments
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/
Relevant content
- asked 3 years ago
- asked 3 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago