How to point DNS to Amazon EC2 aws wordpress instance

I have hosted my personal website on aws using wordpress. WP instance is running normally and i have been able to access my website using AWS Public IP address

I have tried to point my Custom domain name to AWS EC2 instance without any success . i am not able to access my website .

someone please help me how to add custom domain name to amazon EC2 instance

DNS service provider:


There is an easy way and a hard way.
Easy way is to use AWS Cloud hosting from Cloudways since they to provide AWS EC2 Hosting but with a managed layer where their support and easy UI is enough to get the DNS issue task done
Hardway is to do it through coding on CLI