Multiple Amazon EC2 Domains

I have a Windows 2012 r2 server and want to host multiple domains with different sites like www.domain1.com.br, www.domain2.com.br, teste.domain1.com, ...

I am having problems because the DNS www.registro.br only accepts IP records with only port 80 by default. My amazon ec2 issues a public IP for this. How do I configure IIS to host these multiple sites? I searched the internet and found quite a VPC amazon but was not used for this purpose.

What should I do?

+3


source to share


2 answers


You can point all of your sites to the same IP address. In the "Bindings" section of IIS Manager, you specify each site that you configured which domain should respond ... its really quite simple.



+2


source


You need to create custom Tcp rules in security group with different port and set firewall parameters to allow connection to port from 81 or any other port of your choice. Check this http://techcerberus.blogspot.com/2018/02/how-to-host-multiple-website-on-amazon.html



0


source







All Articles