I have a domain (e.g. mydomain.com
) and two subdomains (e.g. aarc.mydomain.com
, and api.mydomain.com
) in Route 53.
The domain is owned by GoDaddy.
I can successfully ping the domain (mydomain.com
) and one of the subdomains (aarc.mydomain.com
) successfully.
However, I recently added api.mydomain.com
as an A Record to point to the alias of an Elastic Load Balancer, and have not been able to get a ping response.
The TTL for the Name Servers was set to 48 hours, so I changed the TTL to 3600 and have waited 2 days.
I am still getting the following error on a ping: Ping request could not find host api.###########.com. Please check the name and try again.
Any Thoughts?
Update:
Your domain is not configured with AWS nameservers as authoritative, so anything you enter in Route53 is simply not used.
You have to go to Registrar where you registered you domain and add the 4 AWS name servers (from the above Route53 screenshot). Since it seems that GoDaddy is your registrar, probably this can help: Set custom nameservers for domains registered with GoDaddy
Keep in mind that all records that you have previously created at Godaddy DNS console, you will have to enter them again to Route53 (and do that before you change authoritative name servers).
If you don't own the domain and changing authoritative name servers is not an option, you can either:
api.sadvhub.com
in Goddady DNS console (you can't use AWSALIAS
there of course so you will go withCNAME
)or
aero.advhub.com
, then note the NS records for the new zone (they will be different from the above ones) and ask client to add those NS records for the subdomain to Godaddy sadvhub.com, zone, something like this:.
After that you can (in Route53) create and use records like
api.aero.sadvhub.com
oranything.aero.sadvhub.com
.