1. 程式人生 > >Host Multiple Public Websites on Amazon EC2 Using One IIS Server

Host Multiple Public Websites on Amazon EC2 Using One IIS Server

If you have more than one website, you can host them in IIS on the same EC2 Windows Server instance. IIS differentiates between websites by using bindings, which are a combination of the protocol type, IP address, port, and host name. To avoid IP and port conflicts, you must add a host name.

Note: If you haven't already done so, set up and configure your first website. For additional information, see How do I publicly host my website on an EC2 Windows instance using IIS?

Add a host name using IIS Manager and update your local hosts file:

1. Open IIS Manager, and in the Connections pane, choose the site that you want to add a host name to.

2. In the Actions pane, choose Bindings, Edit, enter a name in the host name field, and then choose OK.

3. Update the hosts file with the host name to access the website locally from the IIS server.

  • Open a text editor using the Run as Administrator option, and then open the hosts file in the C:\Windows\System32\drivers\etc directory.
  • Enter the Private IP address of the EC2 instance and the host name of your website, and then save the file.

4. Repeat steps 1-3 for each additional website.

Now multiple websites can be accessed using the private IP address locally from the hosts file on the same EC2 Windows Server instance. For public access, add the public IP address in your public hosted zone through your web provider or with Amazon Route 53.

相關推薦

Host Multiple Public Websites on Amazon EC2 Using One IIS Server

If you have more than one website, you can host them in IIS on the same EC2 Windows Server instance. IIS differentiates between websites by usi

Host a Public Website on Amazon EC2 Using IIS

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Prepare Environment for Working with AWS CLI and Amazon DynamoDB on Amazon EC2

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Use Partition on Hard Drive to Allocate Memory as Swap Space on Amazon EC2 Instance

Swap space is commonly used as a short-term replacement for physical RAM on an Amazon EC2 instance that's experiencing demand for physical RAM

Best Practices for Running Apache Cassandra on Amazon EC2

Apache Cassandra is a commonly used, high performance NoSQL database. AWS customers that currently maintain Cassandra on-premises may want to take

Install .NET Framework 3.5 on an EC2 Instance Running Windows Server

Attach Windows installation media to provide required files by following these instructions: Find and attach the EBS volume

Accelerate model training using faster Pipe mode on Amazon SageMaker

Amazon SageMaker now comes with a faster Pipe mode implementation, significantly accelerating the speeds at which data can be streamed from Amazon

Install SSM Agent on an Amazon EC2 Linux Instance

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

I need to reset the administrator password on a Windows Server instance in Amazon EC2

2.    From the Amazon EC2 console, in the navigation pane expand Systems Manager Services, and then choose Run Command. 3.    Choose

Create an isolated Python 3.4 environment with Boto 3 on EC2 using virtualenv

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Resolve "The provided key element does not match the schema" Error When Importing DynamoDB Tables Using Hive on Amazon EMR

2018-02-01 08:17:27,782 [INFO] [TezChild] |s3n.S3NativeFileSystem|: Opening 's3://bucket/folder/ddb_hive.sql' for reading 2018-02-01 08:17:27,81

Amazon EC2 Dedicated Host Pricing

*This is the average monthly payment over the course of the Dedicated Host Reservation term. For each month, the actual monthly payment will eq

Replacing a Bastion Host with Amazon EC2 Systems Manager

Bastion hosts (also called “jump servers”) are often used as a best practice for accessing privately accessible hosts within a system environment.

mysql5.7 Installing MySQL on Microsoft Windows Using a noinstall Zip Archive(mysql解壓版安裝)

ase order gin dmi 選項 -s 包含 xtra tar 註:參考官網文檔 mysql解壓版安裝配置大致分為以下6步: Extract the main archive to the desired install directory Optional:

Have You Tried Delphi on Amazon Linux? (就是AWS用的Linux)

enables custom customers servers nbsp ble exists compile targe The new Delphi Linux compiler enables customers to take new or existing Wi

Eucalyptus企業雲計算(建立能夠和Amazon EC2兼容的雲)

title 創建者 一個 2009年 但是 聯合 網絡設備 環境 存儲 Eucalyptus是與一個在加利福尼亞大學的研究性項目,創建了一個使企業能夠使用它們內部IT資源(包括服務器、存儲系統、網絡設備)的開源界面,來建立能夠和Amazon EC2兼容的雲。 &ldquo

Amazon EC2雲端服務器的使用方法

mod ins windows zip 服務 post root 權限 name Amazon的EC2服務器可以理解為虛擬機,不過它是不需要安裝系統的,它是根據鏡像自動創建的。在申請EC2的時候,可以選擇操作系統的類型,如Redhat Enterprise 6或ubuntu

通過SecureCRT訪問亞馬遜Amazon EC2主機

pen 生成密鑰 class 舉例 免費 linux 需要 輸入 面板 亞馬遜推出了免費的雲主機服務器 Amazon EC2,它是通過安全密鑰來訪問主機的。問題是下載的密鑰在SecureCRT 上無法直接使用,需要轉換。 下面的方法可以在自己的linux主機上生成secur

使用密碼登陸Amazon EC2

restart fig star 登錄 blog inux 9.1 config 添加 用的是亞馬遜推薦的系統:Amazon Linux AMI 2015.09.1 (HVM)創建instance後,會有一個pem的key使用該密鑰登陸到服務器上後,默認用戶名為 ec2-

How to force https on amazon elastic beanstalk

conf 使用 quest The 沒有 last director 改變 etc 假設您已在負載平衡器安全組中啟用https,將SSL證書添加到負載平衡器,將443添加到負載平衡器轉發的端口,並使用Route 53將您的域名指向Elastic Beanstalk環境(或等