- Open the Amazon Route 53 console at https://console.aws.amazon.com/route53/.
- If you are new to Amazon Route 53, you see a welcome page; choose Get Started Now for DNS Management. Otherwise, choose Hosted Zones in the navigation pane.
- Choose Create Hosted Zone.
- For Domain Name, type your domain name.
- Choose Create.
- Click the Hosted Zone, edit record set.
- In the value, add
ec2-54-152-134-146.compute-1.amazonaws.com.
- Change your DNS file to point to the IPv4 address (This would be in something like GoDaddy).
Nice Thanks for the Work.
thank for help
Thanks
Thanks. It worked for me. However I am using a PHP Code Igniter application in AWS EC2 so proper URL address is something like www.mydomain.com/abcdefgh . When i put /abcdefgh it is not taking . What to do so that when in browser i write www,mydomain.com it should actually execute www.mydomain.com/abcdefgh ?
@TareqNaushad Have a look at setting up nginx on your EC2 instance, you can do so such that any requests to www.mydomain.com heads to www.mydomain.com/abcdefgh instead.
@TareqNaushad try using htaccess for it, it will help you with the url masking & execute your script using domain name itself instead of full directory url.
Thanks. It worked for me. However I am using a PHP Code Igniter application in AWS EC2 so proper URL address is something like www.mydomain.com/abcdefgh . When i put /abcdefgh it is not taking . What to do so that when in browser i write www,mydomain.com it should actually execute www.mydomain.com/abcdefgh ?
You need to redirect the traffic to sub directory obviously. You can use Nginx, haproxy etc..
Hi, I tried your method, but it doesn't work. My website edu3d.co
still not working. Any suggestions? Thanks
yay 🙌
I am getting timeout error when tried to reach my domain ( created using freenom) from AWS. Anyone got into similar situation? Anything i missed out in my settings? I followed these steps for free domain setup : https://medium.com/@kcabading/getting-a-free-domain-for-your-ec2-instance-3ac2955b0a2f
Any help?