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,570 points
308 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

+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer