All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
251 views

AWS S3 static website: unable to access https://mydomain.tld but http://mydomain.tld redirects to https correctly

I've set up a static website on AWS S3, using a custom domain hosted at Namecheap, and Cloudfront serving over https. I am able to access my site at http://mydomain.tld, which redirects (using a DNS ...
Feanor's user avatar
  • 101
6 votes
1 answer
4k views

AWS: How to redirect many domains to a page on another domain?

My objective I have a number of domains (e.g. 10 or 20) and I would like to redirect any visitors to anywhere on those pages to one page on another domain (for example my stackoverflow.com profile ...
ssc's user avatar
  • 1,169
0 votes
1 answer
305 views

Permanent redirect all http requests to include www subdomain [duplicate]

I have noticed both google.com and amazon.com, redirect requests to www.google.com and www.amazon.com I am thinking of doing the same for my website which is hosted on AWS. What is the best approach ...
Hooman Bahreini's user avatar
1 vote
0 answers
344 views

domain masking for a cloudfront distribution

I have a domain test.com which is linked to a cloudfront distribution which then serves static content from s3 bucket. Now I want another domain www.test2.com to masked redirect to test.com. I created ...
Kamal Reddy's user avatar
1 vote
0 answers
249 views

How do I redirect https://example.com to https://www.example.com?

I recently transferred my website to AWS and added an SSL certificate. The transfer was successful, however, I can't figure out how to redirect https://example.com to https://www.example.com Only ...
user12011325's user avatar
1 vote
1 answer
2k views

AWS S3 redirect https to a new domain

So I am changing the domain for my website to another. Because some users might have it bookmarked I need to redirect from old domain to new domain. They all use https. I tried creating a S3 bucket in ...
Charles Smith's user avatar
1 vote
1 answer
1k views

Redirecting .app domain to Amazon S3 bucket (SSL)

I'm currently hosting a static website on an Amazon s3 bucket (i.e. https://s3.eu-east-2.amazonaws.com/MyApp/index.html) and I have recently bought an .app domain which I would like to redirect to the ...
Claus's user avatar
  • 133
0 votes
2 answers
3k views

How do I enable redirection on a domain for an S3-hosted website with CloudFront in front of it?

I'm trying to get redirects to work within a domain name for an S3-hosted static website. That is, if I point mydomain.com/foo, I want it to redirect to mydomain.com; this should basically mirror ...
iresprite's user avatar
  • 103
2 votes
1 answer
3k views

Why is AWS S3 Redirect Showing as 302 instead of 301?

I'm implementing a 301 redirect in S3 using this blog post from when the functionality was first announced. It explicitly says the redirect will be a 301, which is what I want. Screenshot of the ...
Trevor McKendrick's user avatar
3 votes
0 answers
776 views

Set up a different index document per directory with S3 static website hosting

I am using S3 static website hosting, and trying to get the following redirects to work: example.com --> example.com/index.html example.com/foo --> example.com/foo/foo.html example.com/bar --&...
charles's user avatar
  • 147
1 vote
1 answer
2k views

AWS/Route53/S3: Redirecting www.example.com to example.com works. Redirecting example.com to www.example.com doesn't

To set up a static site on S3 with DNS on Route53, we have two options. If we want the users to type www.example.com and have that auto-replaced in the address bar by example.com, we would do the ...
Calaf's user avatar
  • 111
-1 votes
1 answer
112 views

Route 53 subdomains and their redirects

I am having problems with my redirects. I have a bucket named example.com created in s3 which redirects to http://google.com (just an example). In route 53 I am able to point my example.com domain to ...
Qant's user avatar
  • 3
2 votes
1 answer
3k views

Direct multiple domains to specific URLs under one domain: Amazon S3 or Apache

I have a site with user profiles and following address structure: www.mywebsite.com/user1 www.mywebsite.com/user2 I need to allow users to point/redirect their own domains to their respective page ...
Aleksey's user avatar
  • 23
5 votes
1 answer
3k views

What should an s3 end point look like when configuring an ALIAS record in Route53?

I'm trying to point my root domain to an s3 bucket that redirects to www.mywebsite.com. However, when I try to configure my ALIAS record to point an s3 endpoint, the only endpoint that the dialogue ...
Peter Berg's user avatar
11 votes
4 answers
10k views

Amazon Cloudfront with S3 Redirect

I'm trying to do something that should be relatively straight-forward - I want to setup a few domains and subdomains to redirect to the core domain for our site, but I want to put the redirects out on ...
Chris Moschini's user avatar
1 vote
1 answer
1k views

Redirecting missing staging images to production

I currently have a production web site which hosts a large volume 50GB+ of images on s3. For my staging environment at first I was cloning the production bucket into a staging bucket but this has ...
pablo's user avatar
  • 3,040