I have registered a domain name on AWS route53. The domain name is invatxxx.com I have an ec2 instance, on that machine an apache server and Drupal web site. The ec2 instance has an elastic ip address xx.xx.66.245. I can access the website from the IP address. The domain has the following server names:
- ns-xx.awsdns-xx.net
- ns-x5.awsdns-x1.com
- ns-x3.awsdns-x2.co.uk
- ns-xx1.awsdns-x3.org
I have created a hosted zone with a name as the domain name, to 'NS – Name server' record set I added the server names from the registered domain. To 'SOA – Start of authority' record set i added the '
ns-xx1.awsdns-x3.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
' at value.
for 'A - ipv4 address' record setI added the 'www' before the domain name and for value the elastic IP address of the instance.
I had another domain name for this instance and it worked, I also added SSL certificate from https://letsencrypt.org/ for the old domain name. But when I tried to change the domain name it did not work.
Any ideas what it is wrong with my settings?