Menu
  • HOME
  • TAGS

Trying to make an API request using PHP with AWS Route53

php,rest,curl,amazon-web-services,amazon-route53

scrowler was right. I changed: $baseurl = "route53.amazonaws.com/2013-04-01/delegationset"; to $baseurl = "https://route53.amazonaws.com/2013-04-01/delegationset"; I got the error message I was expecting and now I can work on the next step....

Domain and subdomain setup in AWS Route 53 DNS Service

amazon-web-services,amazon-ec2,dns,amazon-route53

There is more than one way to do this, but I think you want something like: domain.com - A record - ELASTIC_IP_ADDRESS www.domain.com - CNAME - domain.com. sub.domain.com - CNAME - domain.com. CNAME records are non-alias....

Unable to point to a Amazon s3 url using Amazon route 53

amazon-s3,dns,amazon-route53

When using Amazon Route 53 to point to an Amazon S3 bucket: The S3 bucket must be named the same as your domain, eg termsconditions.mydomain.com Configure the bucket for static website hosting Create a Route 53 record set to alias the domain name to the S3 bucket Note that the...

Create new MX records for Google Apps Amazon Route 53

amazon-web-services,amazon-route53

Login to the Route 53 Console Select your domain name and click "Go To Record Sets" Click "Create Record Set" Leave Name empty For Type select MX For Value copy and paste the following. 1 ASPMX.L.GOOGLE.COM. 5 ALT1.ASPMX.L.GOOGLE.COM. 5 ALT2.ASPMX.L.GOOGLE.COM. 10 ALT3.ASPMX.L.GOOGLE.COM. 10 ALT4.ASPMX.L.GOOGLE.COM Source: https://support.google.com/a/answer/33915?hl=en...

Check Domain Availability using Boto Route53

python,amazon-web-services,boto,amazon-route53

You don't show your code which makes it harder to debug but this line: Route53DomainsConnection.check_domain_availability('example.com',None) looks suspicious. It looks like you are trying to access the check_domain_availability method from the class rather than an instance of the class. I just did the following and it worked for me: In [1]:...

python boto - how to create health check for route 53

python,boto,amazon-route53

Even though boto documentation is lacking, you can understand it by the code and AWS API. Take a look at boto.route53.healthcheck.HealthCheck and implement as route = boto.connect_route53() hc = boto.route53.healthcheck.HealthCheck(...) route = create_health_check(hc) ... will be filled out by the help page of HealthCheck: Help on HealthCheck in module boto.route53.healthcheck...

Failure: DNS resolution failed: DNS response error code NXDOMAIN on AWS Route53

amazon-web-services,dns,ip-address,cname,amazon-route53

TLDR: you need to contact your registar to figure out what's happening with the domains. You've left the domain in the question so I actually tried looking at what DNS was seeing for it. Do you have an A record for your domain? host vizibyl.com Host vizibyl.com not found: 3(NXDOMAIN)...

What should I set for origin domain name when using Cloudfront, EB and Route 53?

amazon-web-services,elastic-beanstalk,amazon-cloudfront,amazon-route53

Turns out that although it is not listed I can indeed just set it the CNAME Ive set in Route53, and it works

How do I change the nameservers for my AWS Route53 Registered Domain using boto?

python,amazon-web-services,boto,amazon-route53

The support for the Route53 domain functionality is pretty new in boto and not very well documented. By looking at the service API I see that the update_domain_servers method expects the nameservers parameter to be a list of dictionaries of the form: [{"Name": "ns1.example.com"}, {"Name": "ns2.example.com"}] There is also an...

Amazon Route 53 Alias not working

amazon-web-services,amazon-s3,dns,cname,amazon-route53

I find a solution. It seems I deleted my hosted zone which was created by amazon first time against my domain name. Later when i created my hosted zone again against same domain name I am supposed to update nameservers in the hosted zone page which resolved the conflict of...

How can I redirect a request to a subdomain to another subdomain on Route 53?

redirect,jekyll,github-pages,amazon-route53

You could accomplish this with s3 website redirect[1]. create a new s3 bucket with the name blog.antrikshy.com enable s3 website create an alias to blog.antrikshy.com bucket enable redirects on your website you can create redirects per page as well by creating a key for each page or redirect everything to...

Does it make sense to have an Amazon Elastic Load Balancer with just one EC2 instance?

amazon-web-services,amazon-ec2,amazon-elb,amazon-route53

There is no need to use a Load Balancer if you are only running an single Amazon EC2 instance. To point your domain name to an EC2 instance: In the EC2 Management Console, select Elastic IP Allocate New Address Associate the address with your EC2 instance Copy the Elastic IP...

DNS name for S3 bucket folder

amazon-web-services,amazon-s3,amazon-cloudfront,amazon-route53

You can create a distribution for a specific folder, was just announced in mid-december: Amazon CloudFront Now Allows Directory Path as Origin Name- Date: December 16, 2014 Details: When you specify the origin for a CloudFront distribution - the Amazon S3 bucket or the custom origin where you store the...

Amazon: Wildcard MX + CNAME

amazon-web-services,amazon-route53

I was able to solve this by: Setting MX as the wildcard. Setting the wildcard subdomain as an A record rather CNAME. ...

Pointing a domain to AWS Route 53

dns,domain-name,amazon-route53

There are two missing pieces here: telling your registrar to use Route53 instead of their own NS servers, and telling Route53 about your EC2 instance. First, you need to set up your registrar. In this step you're telling the registrar to tell the global DNS system to look at Route53...

AWS: conditional route to EC2 depending on content

amazon-web-services,amazon-ec2,amazon,amazon-route53,amazon-vpc

What you are probably looking for is sticky sessions on the ELB. This will route all traffic per session to a single host. This has some downsides, such as losing the session of the instance fails. (Unless its shared) Taking the clustering route generally involves some overhead. Either by redirecting...

How to use Route53 SDK to determine if a domain is available

java,amazon-web-services,amazon-route53,aws-sdk

I think what your are looking for is listResourceRecordSets, exposed by AmazonRoute53Client

In Route 53 can I add additiional CNAME records for one domain each going to different server

amazon-route53

Amazon Route 53 resolves a domain name to an IP address ("A" Record), or redirects domain name resolution to a host name ("CNAME" record). In both cases, the result will be an IP Address. DNS resolution does not involve port numbers, which are used to direct traffic after the IP...

Creating an ALIAS record on Route 53 using ruby sdk

ruby,amazon-web-services,amazon-s3,amazon-route53

Below is an example of how you would alias to a S3 Web Site Endpoint in US-WEST-2. $irb irb> require 'aws-sdk' irb> rrsets = AWS::Route53::HostedZone.new('Z1234').rrsets #replace Z123 with your hosted zone in which you are creating the record. irb> rrset = rrsets.create('foo.example.com.', 'A', :alias_target => {:hosted_zone_id => 'Z3BJ6K6RIION7M', :dns_name =>...

Static Site Deployment in AWS S3 with CloudFront

amazon-web-services,amazon-s3,amazon-cloudfront,amazon-route53

You will want to make sure that you are setting your default root object in Amazon S3 and that your origin is the S3 Website endpoint. Example origin: www.example.com.s3-website-us-east-1.amazonaws.com http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html...

How should I configure my DNS records to direct all traffic from one domain to another?

redirect,dns,cname,amazon-route53

DNS cannot redirect a request. Lets take an example on what CNAME does to clarify: CNAME: domainA ==> domainB What that would do is send requests for domainA to the same IP as domainB. However the URL will remain domainA (so it's not a redirect, a redirect would actually change...

Where do I add my Route 53 subdomain's NS records?

amazon-web-services,amazon-route53

Here is an example of a domain hosted at namecheap.com, DNS handled by route 53, website hosted on aws ec2 instance and the email server is hosted at Rackspace email. Your situation is pretty close to this, so you should be able to follow this example and change to your...

How can I find out what nameservers have been assigned to my DNS?

amazon-web-services,dns,amazon-route53,nameservers

I find http://mxtoolbox.com a useful website for this sort of thing. Its meant for checking mX records, but after you do that there are DNS checks and other useful domain related lookups you can do....

Migrating DNS Service for an Existing Domain to Amazon Route 53

amazon-web-services,dns,amazon-route53

There are two things to do, and it looks like you did one. You created the domain records in route 53, and told route 53 where to route everything when the DNS requests come in for that domain. Unfortunately, you have not yet told the world who to ask when...

An illustration of AWS hosted zones and buckets

redirect,amazon-web-services,amazon-s3,amazon-route53

I would recommend: In Amazon S3, create a bucket named mysite.com In Amazon Route 53, create a Hosted Zone for mysite.com (and of course, purchase the domain name, or point the current domain name to Route 53) In Route 53, create an A Record for the apex of mysite.com using...

Route53: how to create a subdomain blog that answers to both blog.my_site.com and www.blog.my_site.com

subdomain,amazon-route53

For or your use case, there is no reason to create a separate hosted zone. I would only keep the my_site.com hosted zone. Within that zone create your records, including your CNAME for www.blog.my_site.com. If it's still not working for you, it maybe helpful if you posted the domain in...

Cloudfront redirect www to naked domain with ssl

redirect,ssl,amazon-s3,amazon-cloudfront,amazon-route53

I found the solution thanks to this answer: Amazon S3 Redirect and Cloudfront In short: Cloudfront does not respect the redirection rules setup in S3 if the origin is just the bucket ID. Instead I had to set the origin to the provided s3 static website host name....

Give customers an IP address to point their A Name at?

heroku,proxy,dns,amazon-route53,static-ip-address

You could certainly do this, since a proxy or hand-made LB within EC2 can shuttle traffic off to wherever you need. So HAproxy running on an EC2 instance could pass traffic over to Heroku for you. However, I see this was posted about 6 months ago and I know Heroku...

A better usage of Weighted Round Robin Routing in Amazon Route 53

amazon-web-services,amazon-ec2,dns,amazon-route53,multi-tier

One use case can be, to use it to load balance internal services that can't be balanced using an elastic load balancer, like a rds or elastic cache read replicas, so instead of creating a ec2 instance with a haproxy for example to load balance your services, you can create...

Why is CloudFront working via one CNAME record but not another?

amazon-web-services,elastic-beanstalk,amazon-cloudfront,amazon-route53

The problem was that although I modified the search.widget.com CNAME to point to drvevtora80lk.cloudfront.net I forgot to add search.widget.com as an alternate name within my Cloudfront distribution, adding that and it now works.

Weighted round robin dns between 2 Cloudfront distributions

amazon-web-services,amazon-s3,amazon-cloudfront,amazon-route53

Unfortunately what you are trying to do is not possible. CloudFront, or any HTTP server for that matter, only see's the host header of test.example.com. It has no idea how you got there, be it WRR DNS or hosts file, it only see's the host header. I'm not sure how...

Naked Root Domain Hosting

redirect,amazon-web-services,amazon-s3,amazon-route53

Set up the bucket, named for your domain name. The bucket name has to match exactly the address that shows in the browser's address bar. Then, create an A record at the root (apex) of the domain in Route 53, leaving the hostname empty, selecting "Yes" for Alias, then select...

Route53 to S3 static website redirect from https to http

amazon-web-services,amazon-s3,amazon-route53

No, it isn't possible to change schemes from http to https using DNS... and redirecting from https to http is still going to require a successful connection to some kind of endpoint that also has a valid SSL cert for your domain. However... an interesting way to handle this would...

Amazon s3 domain name routing to endpoint instead of serving only index.html

amazon-web-services,amazon-s3,amazon-route53

The referenced getting started example how to Associate a Domain Name with Your Website Using Amazon Route 53 is using the increasingly preferred approach to host a website on the domain root, likely because it is slightly more involved and support for this via Route 53 Alias Resource Record Sets...

Hosting a Tumblr blog on Amazon Web Services as subdomain

amazon-web-services,amazon-s3,tumblr,amazon-route53

The only interaction between Tumblr and your (sub)domain is Route53. No other services are needed. Your subdomain should be a CNAME as shown in the instructions; if that isn't working, something is wrong in your Tumblr configuration, which is outside the scope of stackoverflow.