I want to redirect subdomain to url for eg stage.mydomain.com should be accessed through mydomain.com/stage. Subdomain is linked with static page on Amazon s3.
Domain is registered with route53.
Sub domain is linked with S3 hosted static webpage.
I want to access stage.mydomain.com through mydomain.com/stage