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 in AWS by Hannah
• 17,070 points
198 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 by Yesha

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How to allow the application to communicate back to the on premise equipment?

The connection would need to be either ...READ MORE

answered Aug 16, 2018 in AWS by Priyaj
• 57,300 points
42 views
+1 vote
1 answer

Can we use AWS Public DNS as Domian name to enable https on our instance

I don't believe you can get a ...READ MORE

answered Aug 23, 2018 in AWS by Priyaj
• 57,300 points
58 views
0 votes
1 answer
0 votes
1 answer