I have some xyz.com domain name (purchased from GoDaddy), and also I need 3 more subdomains like a.xyz.com, b.xyz.com, c.xyz.com. My question is without using AWS Route 53 service(Which is not free) can I point my domain and all subdomains to my AWS ec2 instance folders through A records and configuring .htaccess file ?
You would need to:
A-Record
in your DNS provider that points to the Elastic IP address