I have LAMP stack setup on ec2 instance and bind it with a custom domain using AWS Route 53 hosted zone. e.g. example.com and www.example.com.
Now i want to redirect www.example.com and example.com to a subdirectory path e.g. example.com/blog.
I tried to setup a static website hosting at S3 and used redirection rule but it doesn't work. Can someone please help here. I am totally stuck....
Thansk Deepak