All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
60 views

How Do I Use The <VirtualHost> Directive To Host Multiple Sites Using An EC2 Instance, ELB, And CloudFront?

I've been really struggling with this for the past few days, and I'm at a lost. Here's what's going on. I have an EC2 instance (Amazon Linux 2023) behind an ELB and a CloudFront distribution that I ...
wholelottabob's user avatar
0 votes
0 answers
54 views

trying to link route 53 to a cloudfront distribution

Here's my CloudFront distribution: When I try to get Route 53 to route to that CloudFront distribution, per the instructions at https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-...
neubert's user avatar
  • 317
0 votes
1 answer
75 views

Proper Setup for a simple AWS S3 website using CloudFront & Route, with base domain and www subdomain

Which is the better design, and why? (see 2 tables) 1. Here is the configuration of my working website (example.com is the prevent domain) as setup via a Youtube Tutorial... Route53 Cloudfront Dist ...
TheArchitecta's user avatar
0 votes
1 answer
127 views

What is the recommended configuration for lower latency(TTFB) for Route 53 for CloudFront in future proof way

I'm new to AWS. I use CloundFront for host a fully static website under custom domain name + https. Im trying to understand [without success] how to configure Route 53 to get best result location-wise ...
Igor B's user avatar
  • 109
0 votes
0 answers
51 views

Route 53 anything works but <root-domain>, or www.<root-domain>

I've been suffering with these DNS settings for a while, and finally made a bit of progress. I have a cloudfront distribution that points to an s3 bucket. Works properly when visiting the cloudfront ...
Gergő Horváth's user avatar
0 votes
1 answer
362 views

Can't access static site S3, Cloudfront, Route53

I apologize if this needs to be split into two questions, but I'm trying to set up a static site using S3, a CloudFront distribution, and a Route53 domain. If I try to access laszloffy.com, I receive ...
vypr907's user avatar
0 votes
0 answers
158 views

CloudFront Access Logs Issue

I was tried querying our CloudFront logs using Athena for an error i'm getting but haven't received any results. The query i'm trying using is: SELECT * FROM cloudfront_logs WHERE request_id = > ...
samtech 2021's user avatar
1 vote
0 answers
3k views

CloudFront gives 403 error when accessing a web app hosted outside AWS through the configured subdomain

I've been tasked with setting up our web app on CloudFront. Our web app is hosted on an Ubuntu server that is completely outside AWS. I have little to no experience with CDNs, but I've made some ...
fronzee's user avatar
  • 185
0 votes
2 answers
891 views

A record in Route 53 doesn't resolve

I added an A record in my Route 53 hosted zone pointing to the CloudFront. But for some reason, it doesn't work. When I do dig mywebsite.com I get ; <<>> DiG 9.16.1-Ubuntu <<>>...
Dmitrii Mikhailov's user avatar
2 votes
2 answers
2k views

Can't point my subdomain address to CloudFront distribution (using S3 + CF + Route 53)

[Jump to bottom to see updates and latest attempts] First of all, I apologize if I misuse terminology here. I work as FE developer and this area on networking and setting up domains and aws services ...
Rafael Santos'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
2 votes
1 answer
1k views

Redirect apex domain to www with Route53 and CloudFront

I'm trying to setup redirect from the apex domain example.com to www.example.com with route53, cloudfront and s3. I've seen many tutorials online and discussions here on the topic, but nothing has ...
Kaigo's user avatar
  • 123
2 votes
0 answers
2k views

Access denied for S3 bucket with redirect access via CloudFront

I have public S3 bucket exposed via CloudFront to S3 A record for www.mezinamiridici.cz. https://www.mezinamiridici.cz/ - works http://www.mezinamiridici.cz/ - redirects to https://www.mezinamiridici....
Leos Literak's user avatar
0 votes
1 answer
4k views

AWS CloudFront gives 403 error when acessing from registered domain

I have a static website hosted on S3 distributed by CloudFront. If I reach the website through the CloudFront domain (d3agx9libnsfm1.cloudfront.net) it works. But when I try to reach the website ...
Mauricio L Bonetti's user avatar
2 votes
2 answers
864 views

Redirecting HTTPS -> HTTPS on AWS?

I have a static website w/ S3 + Route53 + Cloudfront set up. I am successfully able to do the following redirects: http://example.com -> https://example.com http://www.example.com -> https://example....
Andrew's user avatar
  • 121
0 votes
1 answer
832 views

Connect AWS SSL certificate to Intercom Articles

We have our support articles in Intercom Articles and need to attach a SSL certificate to the subdomain support.packaly.com. Intercom does not offer its own certificate so we need to do it through AWS....
Axel Dekker's user avatar
1 vote
2 answers
1k views

Custom subdomain on Route 53 pointing to cloudfront distribution and s3 static website not working

I'm trying to configure a custom domain name ("test.example.com") transferred to Route 53, pointing towards an S3 static website bucket ("test.example.com"), through the use of a cloudfront ...
Josef's user avatar
  • 11
3 votes
1 answer
2k views

Will Route 53 geolocation routing behind CloudFront operate on users or edge location?

If I've got CloudFront set up with the origin being an address in Route 53, and geolocation routing for record in Route 53, will Route 53 do the geolocation based on the CloudFront edge location IP or ...
Ian R.B.'s user avatar
  • 133
1 vote
2 answers
64 views

Https configuration on AWS [closed]

I have an angular application hosted on aws s3, say example.com. The url is hosted on route53. You can access my website in non https here: http://proscorepad.com/ I created two repository that are ...
Jean-Baptiste's user avatar
1 vote
1 answer
4k views

cannot get aws cloudfront / route53 to resolve my domain name

I have setup a cloudfront distribution with SSL, pointing to a s3 bucket which is public and setup as a static website. I chose the option to redirect HTTP to HTTPS, as I want to force HTTPS. I ...
patrick's user avatar
  • 153
2 votes
1 answer
11k views

How should I configure DNS for my GoDaddy domain with CloudFront?

I have a static web application being hosted in an S3 Bucket that I am currently hosting with Amazon CloudFront. It is a travel site, so I would like for users around the world to be able to quickly ...
Andrew Davidson's user avatar
18 votes
1 answer
10k views

What is an Amazon Route53 "Alias" DNS record?

AWS Route53 Alias value Consider a domain registered on AWS Route53. HTTP requests to this domain should be served from a AWS CloudFront CDN distribution. In order to achieve this, an alias A record ...
Adam Matan's user avatar
  • 13.4k
0 votes
1 answer
2k views

Whether Cloudfront Origin can be a Route 53 recordset created for Application Load Balancer DNS?

I have created a A Route53 recordset for AWS application load balancer DNS. My question is whether AWS Cloudfront origin can contain this recordset url or not? For example: ALB DNS name: xxxx.us-...
Dave's user avatar
  • 181
3 votes
3 answers
3k views

AWS: Redirect one subdomain to another (http and https)

During a production launch I need one subdomain, beta.foo.bar.com, to begin redirecting all requests to foo.bar.com. AWS suggests using an S3 bucket set up for static website hosting and configured ...
adion's user avatar
  • 41
0 votes
0 answers
631 views

Getting CloudFront to Work with EC2 Wordpress Installation + Route 53

I have a problem getting CloudFront to work with a BitNami Wordpress installation I’ve done on an EC2 instance. This is my first time working with EC2, so please forgive my noob level in AWS ...
Adster's user avatar
  • 1
1 vote
1 answer
3k views

Redirect naked domain to www with SSL in cloudfront/route 53

I have setup two buckets on s3 one for my actual angular 2 app: www.example.com and one for redirecting example.com to www.example.com. I have also created two distributions in cloud front and added a ...
alizoli's user avatar
  • 23
1 vote
1 answer
2k views

Redirect naked domain to www in cloudfront/route 53

I have a static website hosted on s3 with cloudfront distribution. I've found tons of answers on redirecting to www with only route 53 in front of s3, but nothing on how to do it with cloudfront. I'...
Akababa's user avatar
  • 133
3 votes
1 answer
5k views

Route53 subdomain not resolved with nslookup

My problem I am trying to build a personal CDN to share static file with my contacts. The design includes an S3 bucket, a CloudFront distribution and a subdomain registered via Route53, all ...
Adam Matan's user avatar
  • 13.4k
1 vote
1 answer
2k views

Can't Connect To Wordpress on EC2 With Cloudfront and SSL [closed]

I have instantaudiobook.co registered at Name Cheap and pointing to AWS Route 53. I have CloudFront in front of my AWS server (just running WordPress). I created an SSL cert in AWS Certificate ...
Brad Rhoads's user avatar
0 votes
1 answer
1k views

IPv6: can't resolve host on Route 53 backed by CloudFront

I use AWS Route 53 in front of a CloudFront web distribution. I'm trying to add IPv6 support for my CF distribution. Following the AWS docs on enabling IPv6 for Route 53, I added a AAAA record that ...
rynop's user avatar
  • 239
1 vote
1 answer
2k views

Subdomain from different S3 bucket on same cloudfront distribution

I have example.com served from idxxxx.cloudfront.net, this goes to S3 bucket nr 1. This works well. I now need subdomain.example.com to also be served from same cloudfront distribution, and point to ...
Amc_rtty's user avatar
  • 113
2 votes
1 answer
7k views

Setting up CloudFront [Custom Origin] for EC2 instance

I have been checking things up & down on Google & AWS Documentation but can't seem to nail this one. I have an EC2 instance setup with a domain being served via a virtual host and I need to ...
ServerInsights's user avatar
1 vote
2 answers
1k views

Certificate Mismatch setting up Route53, CloudFront, Custom Origin

Background My websites have been using CloudFlare with Let's Encrypt successfully for a year or two. The websites are hosted on EC2, they have valid Let's Encrypt certificates for the root, www, and ...
Tim's user avatar
  • 32.2k
2 votes
0 answers
1k views

Heroku SSL redirect to www.example.com with AWS Route 53 and Cloudfront

Current Situation example.com == examplecom and so on because of spam I've a Domain examplecom on GoDaddy and a SSL cert for it. The real application is hosted on Heroku at exampleherokuappcom. I ...
Kroenig's user avatar
  • 121
0 votes
1 answer
1k views

Serve two static S3 websites from the same domain, based on geolocation

My current setup is that www.domain.com serves an S3-hosted static website via CloudFront, so www.domain.com CNAME points to the CloudFront distribution, which in turn points to the S3 static website ...
harsa_'s user avatar
  • 103
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
0 votes
1 answer
2k views

redirect non www to www for static website hosting using cloudfront

I have searched almost everywhere on how to redirect with cloudfront. I created an s3 bucket for static website hosting and even used their redirect there BUT because i am not serving whole website ...
uberrebu's user avatar
  • 503
1 vote
2 answers
3k views

Can I hide S3 and Cloudfront endpoints?

I have setup a static website on AWS S3 and am accelerating it with AWS Cloudfront, but after, I am able to use AWS Route53 to connect my domain name to the Cloudfront endpoint. Now there are two ...
uberrebu's user avatar
  • 503
1 vote
1 answer
2k views

Amazon route 53 + cloudfront + s3 -> with angularjs2 app in ec2

I am really confused about the setup I need for my angularjs2 app. It's simply a SPA application with html5 mode urls and all I want is: requests to www.mydomain.com/blabla... will be redirected ...
kfir124's user avatar
  • 113
2 votes
1 answer
676 views

Route 53 configuration for Cloudfront distribution linked to S3 bucket for naked domain

I am using route 53 for a domain (example.com) linked to my app on Heroku. To handle naked domain redirection, I am using a S3 bucket as explained here: https://aws.amazon.com/blogs/aws/root-domain-...
Cyril Gaillard's user avatar
2 votes
1 answer
3k views

How to set up AWS Cloudfront for dynamic number of domains for a dynamic site?

THE SETUP We have a webs/wix/etc-like website management system we are trying to use with CloudFront. It has the following domains and subdomains. - ourdomain: our main website - admin.ourdomain: ...
ka-steve's user avatar
0 votes
0 answers
916 views

How Do I Mask the CDN Domain with My Own Domain Name?

So i've been trying out cloudfront from AWS. Why is the URL 'example.com' resolving to 'example.com.s3.eu-west-1.amazonaws.com' in the Address Bar? I've tried googling loads of questions with this ...
Niccaman's user avatar
  • 101
4 votes
1 answer
4k views

CloudFront Distribution for Origins in Multiple Regions

Is there a way to point CloudFront to different origin servers based on location? We currently use Route53 latency-based routing to direct traffic to east or west region elastic load balancers. ...
kernelpanic's user avatar
  • 1,276