Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (12.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.2k 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.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...