Questions tagged [amazon-route53]

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.

148 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
1k views

CloudFormation fails deleting a stack if a hostedzone contains non-required records, how can it be avoided?

I wrote a CloudFormation template which creates a whole environment which includes the creation of VPC, HostedZone, Subnets, Autoscaling Groups, etc... The servers which are created and are members ...
Itai Ganot's user avatar
  • 10.7k
2 votes
1 answer
8k views

How to route both www and apex level domains via a CNAME using AWS Route 53?

I am hosting an Elixir application using Gigalixir (a PaaS like Heroku). For custom domains, it asks you to add a CNAME record to point to their custom DNS domain, e.g. www.example.com.gigalixirdns....
Everett's user avatar
  • 121
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
2 votes
2 answers
1k views

Route 53 won't let me add to the existing SPF record for a client because the string is too long

I am trying to add 2 entries to a client's existing SPF record in Route 53, but I'm getting the following error: *CharacterStringTooLong (Value is too long) encountered with '"v=spf1 ip4:27.127.198....
Nuri's user avatar
  • 21
2 votes
0 answers
185 views

What is best practice design for internal traffic between microservices?

I have two PHP written microservices A & B. Endpoints are a.example.com and b.example.com. Both services need to be public accessible. In addition, service B makes a lot of curl requests to a....
starchx's user avatar
  • 533
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
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
2 votes
1 answer
1k views

Using/redirecting multiple domain names with single dns zone

I have one master domain name for one of my web sites. I also have many other domain names as secondary. All my DNS records are on my master domain name and for other domain names I just create zones ...
Walt S.'s user avatar
  • 21
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
1k views

Using my private DNS from within AWS VPC via Route 53

I have an Amazon VPC connected to our corporate network. Each EC2/beanstalk (linux) instance uses the standard AWS supplied IP address for its name server in /etc/resolv.conf. Each EC2 instance can ...
pachyderm's user avatar
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
1 vote
1 answer
269 views

AWS Route 53 + Azure Front Door for Root Domain (Apex Domain)

OK I am using AWS Route 53 and I don't want to switch to Azure DNS, but I want to use Azure Front Door for my Root Domain / Apex Domain (e.g. https://example.com without the www.). How can I ...
A X's user avatar
  • 479
1 vote
1 answer
834 views

AWS PrivateLink connection with HTTPS

I have two VPCs, a consumer VPC and a service VPC. Consumer application HAS to access the service via AWS PrivateLink and it HAS to be an HTTPS call. Here is my current setup, which works: Note that ...
itstrueimryan's user avatar
1 vote
0 answers
480 views

Why can't I set a /32 CIDR block for IP based routing in AWS Route 53

Consider the following simple scenario: I have an office network where I have a server that provides some service, for example through HTTPS. I would like to be able to access this server with the ...
Panda Pajama'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
1 vote
1 answer
574 views

Amazon SES - Domain Verification Pending

I am trying to setup Amazon SES on my Route53 domain (writeurl.com). The domain verification status remains at pending verification and does not proceed. The following nslookup command does not show ...
Haris ur Rehman's user avatar
1 vote
0 answers
60 views

AWS + Route53 + CWP7 + Sub/Addon Domain Nameserver Error

I am trying to configure the CentOS CWP 7 Control Panel in the same method I used to handle cPanel WHM in the olden days, but I'm running into trouble. The problem is: How do I configure CWP & ...
waddleworks's user avatar
1 vote
0 answers
3k views

Primary Name Server Not Listed At Parent

I have a hosted zone created in Route53 and updated the NS records under the namespaces of the purchased domain. Unfortunately the DNS check does not return or point to the new NS records instead gets ...
Vignesh T I's user avatar
1 vote
1 answer
532 views

Does the Amazon Route 53 Resolver only work with AmazonProvidedDNS?

I want to configure the Amazon Route 53 Resolver to forward queries for a subdomain to an on-prem DNS server in a on-prem network connected to my vpc via a VPN. But I already have a dhcp scope ...
red888's user avatar
  • 4,233
1 vote
0 answers
4k views

Route 53 multivalue answer record only allows "IP or another value depending on record type" answers

In AWS Route 53 GUI (newest version as of Oct 17, 2020), I did the following: went to my hosted zone clicked "create record" clicked "multivalue answer" clicked select menu that ...
mmmm's user avatar
  • 111
1 vote
1 answer
1k views

Move DNS Records from Office 365 to AWS Route 53

I am trying to move my DNS service over from Office365 to AWS Route 53. AWS was where the domain was purchased but due to the ease (at that point at least) the DNS entries were setup at Offce 365. I'm ...
user3417160's user avatar
1 vote
1 answer
917 views

Multiple Hosted Zone VS Single hosted zone AWS

I recently used Amazon Route53 for routing my domains and I needed to route around 15 subdomains. I had 2 options to add subdomains: Create a hosted zone for each subdomain and then add NS record in ...
Muhammad Nauman's user avatar
1 vote
0 answers
20 views

AWS Geolocation routing policy: how to go to a particular website?

I wish to setup Route53 using Geolocation routing policy. This means that a browser in Paris asking for "www.mysite.com" will go to the Berlin website, while a browser in Melbourne asking for the ...
AussieDude's user avatar
1 vote
0 answers
860 views

How does AWS Route 53 weighted routing policy record TTL affect clients after expiration?

Say I'm testing a new version of my application and I create a weighted routing policy for my domain that sends 25% of users to the new version and the remaining users to the old version. A user ...
Dave Rager's user avatar
1 vote
1 answer
558 views

Cannot resolve private DNS names in private hosted zone

I have a VPC in AWS, and I want to create aliases for some of my resources on the network. For example, I want to be able to connect to my RDS database with "databasehost". However, I also still want ...
PMah's user avatar
  • 131
1 vote
1 answer
819 views

Using an Elastic Load Balancer without Route53

We have setup an Elastic Beanstalk environment that spins up EC2 instances and adds a classic load balancer in front of them. Typically, you would set your DNS to Route53's name servers and then use ...
GBWDev's user avatar
  • 111
1 vote
0 answers
772 views

Connect to Aurora RDS MySQL instance over AWS Direct Connect

We have created an Aurora RDS MySQL instance in us-east-1 region that has public accessibility as "No". The RDS instance is inside of our VPC which is also connected with VGW for Direct Connect for ...
Anjan Biswas's user avatar
1 vote
0 answers
270 views

How to add subdomain with nginx and route 53?

I have let's say example.com and it's running on EC2 instance with nginx and i need to run api.example.com on the same ip of the EC2 instance as example.com i tried to create record set in route 53 ...
jerichofs's user avatar
1 vote
1 answer
3k views

AWS S3 and Route 53: www redirect does not work

I have hosted my static website on AWS S3, like in, http://example.net I have configured two S3 buckets, one for http://example.net, and another one for http://www.example.net, whose 'Static web ...
Venkat Ramakrishnan's user avatar
1 vote
0 answers
49 views

Complex request routing in AWS

My goal is to be able to route traffic from Route53 to my autoscaling group using relatively complex rules. Like: 1% of traffic with this value in the url path should be routed to ASG A 0.1% of ...
Artur Shamsutdinov's user avatar
1 vote
1 answer
79 views

Moved from ec2 to S3 static hosting breaks Chrome DNS resolution

I migrated an old website to a static version of it. Everything was hosted on EC2 and the Route53 hosted zone was configured like this : A record for exemple.com pointing to ec2 instance IP CNAME ...
Timothée Jeannin's user avatar
1 vote
1 answer
3k views

Route53 SSL Subdomain

I have a setup where I have a top level domain hosted and the DNS is done through Route53. The SSL certificate is done through AWS certificate manager and works fine for the top level domain. It is ...
ackerchez's user avatar
  • 119
1 vote
0 answers
562 views

Moved form BIND to PowerDNS - delegated subdomains not resolving

I was previously using BIND for our office network. I've now moved to PowerDNS Authoritative, using a MySQL backend - and while all the local addresses are resolving just fine, my externally-hosted ...
alitheg's user avatar
  • 111
1 vote
0 answers
982 views

How Route a subfolder to another EC2 instance?

I do have a EC2 instance that holds an application and a wordpress blog. the app is on the root url (http://www.example.com) . And we do have a blog that is on a blog directory (http://www.example....
Daniel Santos's user avatar
1 vote
0 answers
192 views

AWS Route53 not routing the web traffic to failover server

Im testing Route53 for failover between two servers on same zone for a domain xyz.com with TTL 60 seconds only. I have also setup the healthchecks for primary server only to monitor the URL http://<...
sherpaurgen's user avatar
1 vote
1 answer
266 views

AWS with Postfix / Dovecot - Can't access port (25,110)

Currently I have installed Postfix and Dovecot to my AWS Instance. I am able to ping and open dovecot / postfix at port (25,110) at my localhost using: telnet localhost 25 Trying 127.0.0.1... ...
user348961's user avatar
1 vote
1 answer
2k views

HAProxy 1.6 SSL connections reseting

I have been beating my head against this HAProxy issue for entirely to long, and I am hoping someone here has seen this before. Here is some information: Our HAP instances are in AWS across three ...
zpunches's user avatar
1 vote
1 answer
248 views

No targets available trying to set alias target to an Elastic Beanstalk environment

I am setting up a Route 53 zone, and am trying to point the domain root (mydomain.com) to an Elastic Beanstalk environment. However, when I try to select my EB environment all I see is: -- Elastic ...
awidgery's user avatar
  • 131
1 vote
0 answers
89 views

Is there a way to use Route 53 as a DNS failover, that activates a dormant (i.e. cheaper) EC2 instance that takes over?

Is there a way to use Route 53 as a DNS failover, that activates a dormant (i.e. cheaper) EC2 instance that takes over? My idea is to use a different provider to host most of the time, but if there ...
Sarke's user avatar
  • 441
0 votes
0 answers
30 views

AWS Route 53 > Error occured when creating/updating a record

I created a TXT record @.domain.com with TXT "v=spf1 a mx ~all" on AWS successfully. It didn't work with my post office config so I went to update it by removing the record name "@"...
noob's user avatar
  • 101
0 votes
0 answers
30 views

Problems getting ACM cert to validate in AWS

I have a domain that I moved to route 53, to simplify interoperability with other AWS services. I created a hosted zone, and added a CNAME record for a WWW subdomain. I then went to the ACM and ...
Roger Hill's user avatar
0 votes
0 answers
84 views

How to host my own DNS server for my own domain

I have a domain that is something like mydomain.com and I want to manage the DNS for it myself using my own DNS servers (on a completely different domain - EDIT): ns1.myowndns.com, ns2.myowndns.com, ...
Rupert Rawnsley's user avatar
0 votes
0 answers
39 views

Route 53 Routes configuration

Can anyone help me about how I configure my route 53 DNS to do this: https://shortenit.me/ (frontend) https://shortenit.me/:url (backend with any route before /) https://api.shortenit.me/ (backend) ...
jps10's user avatar
  • 1
0 votes
1 answer
186 views

AWS and Route53 : Certificate not validating

I've a domain registered with route53 and I'm trying to validate certificate. I did press on "request" on the AWS Certificate Manager (ACM), then I clicked on "Created records in Route ...
Arcturus'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
0 answers
63 views

How I can use the CPU usage as load balancing weight?

I have the following infrastructure: Infrastructure is N apps that connect into a master-slave replication schema for Postgresql databases located upon amazon RDS. I use rotated weighted DNS using a ...
Dimitrios Desyllas's user avatar
0 votes
0 answers
30 views

AWS Route53 naked domain doesn't work

I bought my domain (banuka.com) from the Namecheap. And created an AWS Route53 public hosted zone. And also I added the Nameservers copied from that above hosted zone to the Namescheap DNS servers. ...
Jananath Banuka's user avatar
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
0 answers
100 views

AWS ApiGateway custom domain configured in us-east-1 not working in California

I have a regional AWS ApiGateway instance configured in the us-east-1 region with a custom domain name (api.stage.aws.stckdapp.com). It's working fine accessed from Toronto, ON, Canada, but for some ...
David Kiss's user avatar
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