0 votes
1 view
in AWS by (8.9k points)

I'm using EC2 of Amazon to host a website built in JSP :

And I bought this domain: www.p2pbrasil.com

How can I redirect www.p2pbrasil.com to my website in Amazon EC2 ?

1 Answer

0 votes
by (18.5k points)

Here's how you can direct a domain to your instance:

1. Created a hosted zone in route 53 dashboard and provide the name of the domain you want to use.

2. Your domain must have provided you with a way to edit the nameservers. Save the nameservers provided by the DNS entries into the domain provider panel.

3. Create a recordset of your domain in the hosted zone and give your server's IP(Elastic IP) as value

Note: Make sure the Elastic IP you created is associated with your instance.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !