How to use Amazon Route 53 to link to my Weebly Site - amazon-route53

I have a website at amazon S3. I registered my domain (Not With Amazon) and pointed it to Route 53 and linked it to my Amazon S3 bucket. Now I want to move my site to Weebly.
I am a teacher and don't know much about this stuff. I watched online tutorials and read articles about linking a domain name using Route 53 to Amazon S3 Bucket and I successfully did.
Now I want to move from Amazon S3 to Weebly and they want me to link to their IP Address 199.34.228.59. for both mydomain.com and www.mydomain.com
Currently I have 2 hosted zones for my domain at Route 53.
one for mydomain.com and one for www.mydomain.com
In "mydomain.com"
Type is A-Ipv4Address,
Alias is Yes and
alias Target is Amazon Bucket end point.
Routing Policy is simple
Please forgive me for not being able to explain clearly to you guys.
Just need someone to help me link my domain name to weebly using Amazon Route 53.

Change Alias to "No" for both www.mydomain.com and domain.com. Keep them as A records, and for both of them just change their values to 199.34.228.59. That should be all that's necessary.

Related

AWS Route53 | Alias record from other DNS providers

My client has a domain address on Godaddy and I would like to just connect A record to AWS Api Gateway without changing NS records because my client using other records such as MX and etc on Godaddy and would stay on it.
In Route53 we can create records by alias directly but in this case I'm not sure how could it be possible.
I just did something similar with Amplify and I just imported the domain, changed the CNAME (following the Amplify docs - https://docs.aws.amazon.com/amplify/latest/userguide/to-add-a-custom-domain-managed-by-a-third-party-dns-provider.html).
For API gateway, it might be a little different but I think you can go to Route 53 resolver and look for the inbound query link and then send it to your VPC of your Api Gateway endpoint.
Base on my recent searches on AWS documents and also Evan's document, there is no way without ANAME (Alias Name Record) that must provided by your DNS provider.
I'm not sure that my customer accept migration from existing DNS provider but I'm going to suggest below as our second solution:
example.com couldn't set by ANAME but www.example.com could set CNAME then we can make a simple redirect from example.com to www.example.com.
I think Godaddy providing url redirect by default otherwise we must run an EC2 just for this redirection.
I know it sucks but it seems that there is no any other way.
I will appreciated If someone knows better solution.

Subdomain created but not running properly

I'm not sure if this question belongs here but because it is a technical question so I'm asking it here. Feel free to move it to any appropriate website of Stack exchange.
My problem is I have created a subdomain successfully on my website through cpanel and also put an index.html file in it to test it. But when I run it in browser it is not showing contents of index.html file. It shows following errors:
DNS address could not be found and ERR_NAME_NOT_RESOLVED errors. Can someone please tell me how to resolve this problem?
You must be missing A record pointing to your sub domain in your domain panel.
Record Point to TTL
A sub 300
Please check the DNS servers for your domain. You might be using external DNS servers. When you create a subdomain on cPanel, a DNS entry is created in the DNS zone for that subdomain pointing to your server ip. If your domain uses external DNS servers then those servers will be queried to find the ip address for that subdomain. In this case you should manually edit your DNS zone and add an A record for that subdomain to point to your server's ip).
Thanks for all the answers. Here is how solved my problem. The problem was that I have purchased a hosting with one domain name. I also have another domain purchase but there is no hostng on it. I had pointed the second domain to first domain which also has hosting support. So what I was doing is I was creating subdomain on second one on the first domain. But it was not recognising it and showing DNS problem. So I made an entry A record entry in the second domain about the subdomain which I wanted to create on it. And then in 5 minutes DNS was updated and issue was resolved.
After adding the subdomain, go to the DNS editor of the domain and add a CNAME record for the subdomain.
For example:
NAME TYPE VALUE
--------------------------------------------------
subdomain.example.com. CNAME example.com.

Basic setup of Google Cloud DNS for Tomcat container

I've recently setup a new Tomcat instance on Google Compute Engine and I can access my Tomcat instance via its IP address in the browser.
I've now setup a Cloud DNS entry and had my domain registrar point my domain name to the Cloud DNS servers. However this was 2 days ago and I still can't access my website via the domain name.
The WHOIS record shows the following Name Server entries
Name Server ns-cloud-e1.googledomains.com
Name Server ns-cloud-e2.googledomains.com
Name Server ns-cloud-e3.googledomains.com
Name Server ns-cloud-e4.googledomains.com
I've also setup an A record in the Cloud DNS console based on the feedback of my domain registrar. Is there anything else I need to setup in order for all this to work?
[EDIT 1] Having a look again at the instructions provided by Google it seems the name server names they wanted me to use have changed to
ns-cloud-d1.googledomains.com.
ns-cloud-d2.googledomains.com.
ns-cloud-d3.googledomains.com.
ns-cloud-d4.googledomains.com.
I've asked my registrar to make the change in case this is the problem.
[EDIT 2] My registrar has updated my DNS records and they resolve to Google's servers. However my website still doesn't show when entered into a browser I get an NXDOMAIN error, which implies my domain doesn't exist. Does anyone have a basic example of what the Cloud DNS settings should look like? Do I need to setup A records or CNAME records?
[EDIT3] My setup is shown here (domain name and IP addresses have been faked for screenshot)
Thanks in advance.
Andy.
OK, I finally worked out the problem.
In the screenshot in my question the following changes were required.
1) Replace the A record for *.andtest.com.au with an A record for just andtest.com.au
2) Replace the www.andtest.com.au A record with a CNAME record for www.andtest.com.au which points to andtest.com.au
Now when I enter www.andtest.com.au in a browser, I see my Tomcat web page.

Pointing 1and1 domain to an S3 bucket

I've registered my domain about a month ago (It's a .com, so I need to wait 60 days before being allowed to transfer the domain, which I will do as I'm fed up with 1and1's service)
I created an Amazon S3 bucket with my domain name: example.com and www.example.com.
All my Amazon S3 settings are in order, I've enabled website hosting, I have an index document...
In 1and1, I've set my redirect destination for example.com to my S3 bucket endpoint.
When I hit save: "Operation Failed, The redirect URL is invalid."
What am I doing wrong?
You do not have to wait 60 days.
There are two different services that are commonly confused because providers often market then together: domain registrar services and domain hosting.
You can change your hosting provider at any time, by changing the configuration options with the current registrar. This change typically takes effect almost immediately, though conventional wisdom is that it may require up to 48 hours to take effect globally.
Create a new "hosted zone" in Route 53 for your domain. Take note of the four "awsdns" name servers that Route 53 assigns.
Log in to your registrar's admin portal and find the option the change your authoritative name server configuration. Replace the registrar's default name servers with the four provided by Route 53.
You will then use the Route 53 console to create your DNS records, including the appropriate "Alias" records pointing your domain to the S3 web site endpoint.
After the 60 days, you can change the registrar to Route 53, or any other registrar you like, continuing to use the authoritative name servers assigned to your domain by Route 53.
Route 53 is the simplest option for DNS hosting when you are using S3 for static website hosting (or CloudFront or Elastic Load Balancer) simply because of the tight integration provided by Alias records, which offer capabilities that CNAMEs can't and other DNS hosting providers can't, because they don't have direct access to the operational internals of AWS.
It sounds like you configured your domain name to use a Redirect instead of a CNAME record. Create a CNAME record to your AWS domain.
Here are some instructions:
http://help.1and1.com/domains-c36931/manage-domains-c79822/dns-c37586/enter-a-cname-record-for-your-domain-a643600.html
Sometimes people don't want to create CNAMEs for their root domain and prefer to redirect from example.com to www.example.com

redirect root domain name to amazon s3

My domain is rather long. I need to use it without www.
All the info I find on the net is about cnames.
How do I redirect the whole domain to an amazon s3 bucket, not only a subdomain?
Amazon recently announced support for root domain hosting via S3. The instructions for setting this up can be found here. Note that you will have to setup two buckets to accomplish this, and that you will have to use Route 53 for your DNS hosting.
Try wwwizer
What you need to do is to create a cname www pointing to your s3 bucket url (bucket name will need to match) and then create an A record to the ip given by wwwizer.
Another way is to use a url redirecting service or use a free web host (like godaddy's ad supported hosting) and on the index file issue a redirect to www.yourdomain.com.
There might be other solutions that rely on finding out the ips of the amazon s3 front end servers but they are error prone.