Friday 8 October 2021

aws light sail pont to a domain in godaddy

Step 1: go to light sail dashboards and
 

Step 2: Assign static ip to the instance
 

Step 3: create dns zone with that static ip

This will  provide Name server;

Step 4: Now u can also add A record for subdomain ex: www for your domain and use @ to pint the main domain

ex: @ to point your domain.com

      www to pint your www.domain.com


Step 5: now go to domain where u baught   (example godaddy dashboards)
    you can see the DNS >
 

Step 6 : Now change Name server > and add the name provided by aws

That is it; dns propagation take min 24 hrs
so it will take 24 hrs min to see the changes the url points to new aws hosting

Note: 

The A record maps a name to one or more IP addresses when the IP are known and stable.
The CNAME record maps a name to another name. It should only be used when there are no other records on that name.
The ALIAS record maps a name to another name, but can coexist with other records on that name.


No comments:

Post a Comment