I am setting up a CDN using AWS S3 and cloudfront services. I have added alernative CNames to access the cloudfront for specific s3bucket. I want to add a routing rule where i need the CName used to access the cloudfront.
More Explaination:
As per my understanding. The S3bucket is the container where we can put our content known as objects. Using the second serivce cloudfront is what caches this content of s3bucket object on different edge servers. We can also add alternative CNames apart from the domainURL provided by Amazon for the cloudfront which is pointing to s3bucket. Now the problem is i want to add the routing rule in s3 bucket but i need to use the alternative Cname used. I hope i have explained my problem. If there is something unclear i would be glad to clear it up. Anyone can tell me how can i do that?