Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon AWS domain not working without www

I have website hosted on Amazon AWS and have created hosting zones for the domains. However, for a particular domain (www.mohawkhonda.com) the website DNS can not be reached if we just type in mohawkhonda.com. It required the www. - This is a weird issue esp on elastic beanstalk as there are no static ips.

What is the best solution to make sure both pull up perfectly? Any help is appreciated. Thank you

like image 654
Joud Mansour Avatar asked Oct 17 '22 09:10

Joud Mansour


1 Answers

If your naked domain works, for www.yourdomain.com just add a record "A" Alias(Yes) and set Alias Target to your naked domain (yourdomain.com).

like image 175
diegofcornejo Avatar answered Oct 20 '22 22:10

diegofcornejo