All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
3k views

Best way to redirect root domain ("apex domain") to another location

This question is a continuation of Using Route53 to point apex/root domain to Heroku application Right now I have my domain abc.com registered with Route53. I am using a ddns service to point it to a ...
BobtheMagicMoose's user avatar
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
144 views

How do I point other websites to subdomains on my site without redirecting users?

Apologies in advance as I'm trying to do something and I don't know what it's called or the best way to describe it, but here's my best attempt: I have a domain, let's say aaa.com, and that domain has ...
HartleySan'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
0 votes
0 answers
339 views

Redirect for non-www to www not working for https

I am attempting to redirect all non-www requests to www with my nginx server, but despite successfully redirecting the http request (http://example.com to https://www.example.com), the https request ...
cphill's user avatar
  • 197
2 votes
1 answer
2k views

Location Based URL Redirection in AWS

How would I approach doing a URL redirection that has the following effect: Website: example.com If users come from an Indian IP address: example.com -> india.example.com
peso's user avatar
  • 21
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
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
0 votes
1 answer
1k views

how to get rid of the "www" in the url with AWS EC2 and Route 53 services.

I'm having a hard time figuring out how to get rid of "www" in the url. I am looking for giving access to the website when you type down mywebiste.co as well as redirecting www.mywebsite.co to ...
Miles M.'s user avatar
  • 371
0 votes
0 answers
75 views

No longer can get nginx.conf to respect my redirect rules

I want to redirect all sites and subdomains to one https domain name. I'll use https://my-site.com as an example. Previously I had all the redirection working with the following code: server { ...
tim peterson's user avatar
37 votes
7 answers
75k views

How do I redirect www to non-www in Route53?

I host my site at domain.com. My DNS entries in Route53 are as follows: domain.com A xxx.xxx.xxx.xxx 300 domain.com NS stuff.awsdns-47.org 172800 domain.com SOA ...
fredley's user avatar
  • 575