First, use RDP to connect to your EC2 Windows Server instance.
Verify that the instance has all of the essential ports open, as well as that IIS is installed and configured.
Log in to the EC2 console, select your instance, go to the Description page, and write down the Public IP address.
Set up your website and make sure you can access it both locally and remotely.
Your websites can now be accessible locally via the hosts file on the same EC2 Windows Server instance using the private IP address.
Add the public IP address to your public hosted zone using your DNS host provider or Amazon Route 53 for public access.
In Route 53, assign the IP to your domain name.
To get started, go to the Amazon Route 53 console and select Hosted zones from the navigation pane.Choose Create Record Set or update one of the existing A records after selecting the domain name.
Type your Public IP address in the Value column, and then select Save Record Set.
At Velan, our server support engineers can help to install and configure IIS on your AWS EC2servers. If you are interested in our service, please fill the Quick connect form to get in touch with us.