Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon EC2 multiple domains

I have a windows server 2012 r2 and would like to host multiple domains with different sites, for example www.domain1.com.br, www.domain2.com.br, teste.domain1.com, ...

I'm having trouble because the DNS www.registro.br only accepts IP entries only with port 80 by default. My amazon ec2 only releases a public IP for that. How can I configure my IIS to accept these multiple sites? I searched the Internet and found quite the VPC amazon but was not used for this purpose.

What should I do?

like image 860
Renan Basso Avatar asked Nov 27 '25 05:11

Renan Basso


1 Answers

You can point all your sites to the same single IP. In the 'bindings' section of the IIS manager, you tell each site you have setup, what domain to answer for...its really quite straightforward.

like image 73
E.J. Brennan Avatar answered Nov 28 '25 22:11

E.J. Brennan