I have the following setup:
- Domain registered
mydomain.com
- App hosted on EC2 webserver on port 80 that's a accessible right now at
mydomain.com/myapp
.csv
files hosted on an S3 bucket namedmyapp
at the following endpoint like so:s3-us-west-2.amazonaws.com/myapp/sample_file.csv
- Route 53 to deal with
CNAME
for my domain and an Elastic IP
Everything works fine. However, now I want to update the URL's in my app to mask the longer AWS prefix and replace it instead with: mydomain.com/myapp/sample_file.csv
Every tutorial I've seen deals with subdomains like: myapp.mydomain.com/sample_file.csv
which I DON'T want (since this particular app should only be accessed at the /myapp
URL)
Is this possible?