Two websites on the same DNS

0 votes
Hello Everyone,

I want to host two websites in a web server instance, in such a way that if I paste the EC2 public DNS on a web browser, I should see the contents on the two Websites.

Please, I need a direction on this.... How can I go about this?
Oct 28, 2019 in AWS by Hannah
• 18,520 points
765 views

1 answer to this question.

0 votes
Hey @Hannah, if I am not wrong, you cannot have two websites on the same domain. But you can use subdomains which will let you redirect.

A domain is basically your .com. For example, google.com is a domain. You can have two websites when you type google.com. But when you do www.edureka.co you see a page and when you do www.edureka.co/community you see another page. That's subdomains.
answered Oct 28, 2019 by Yesha

Related Questions In AWS

0 votes
1 answer

How much will it cost to read from an S3 bucket in the same region but on different account

There will be no data transfer cost ...READ MORE

answered Feb 17, 2022 in AWS by anonymous
3,145 views
0 votes
0 answers

Do two AWS accounts created in the same region share the same VPC?

Do two AWS accounts created in the ...READ MORE

Apr 19, 2022 in AWS by Soham
• 9,710 points
384 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP