Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (5.6k points)
I have a domain sample.com which is a WordPress website and is hosted in Bluehost. Parallel to that, I have an application that has been hosted on AWS EC2. I want the subdomain to say, app.sample.com to point to the AWS EC2 instance. How would be that possible?

1 Answer

0 votes
by (12.4k points)

I guess you have your terms mixed up, A subdomain is a completely separate domain, eg. subdomain.sample.com which will contain separate hosts - "www.subdomain.sample.com"/ ftp.subdomain.sample.com, to do this create the subdomain in Route53 and fill in the NameServer Records that you are provided with.

You can create a new A record, so app.sample.com, and use the IP address of the EC2 instance. Then do the same for the www.sample.com record using the WordPress IP address.

Do you want to learn more about AWS? Checkout AWS Training by Intellipaat!

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
0 votes
1 answer
asked Dec 20, 2020 in AWS by Justin (7k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...