GameStation.id

IIS – Multiple Websites on the same server




Would you like to learn how to install IIS and configure multiple Websites on a computer running Windows? In this tutorial, we are going to show you how to use the Host Header feature to configure multiple Websites on the same IIS server.

• Windows 2012 R2
• Windows 2016
• Windows 2019

In our example, the IIS server IP address is 35.160.86.106.

Windows Tutorial:

On this page, we offer quick access to a list of Windows tutorials.



Tutorial Windows – IIS Installation

Open the Server Manager application.

Access the Manage menu and click on Add roles and features.

On the Server Roles screen, select the option named: Web Server IIS.

Click on the Next button.

On the following screen, click on the Add features button.

On the Features screen, click on the Next button.

On the Role service screen, click on the Next button.

On the Summary screen, click on the Install button.

Congratulations! You have finished the IIS service installation on a computer running Windows.

Tutorial IIS – DNS Domain Registry

Access the GODADDY website and purchase a DNS domain.

In our example, we purchase a domain named: GAMEKING.TIPS.

You can use any website to purchase a DNS domain, GoDaddy is just my personal choice.

Create a DNS entry pointing your website to the computer running IIS.

In our example, we created a DNS entry pointing WWW.GAMEKING.TIPS to 35.160.86.106.

Use the NSLOOKUP command to test your DNS configuration.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Open your browser and try to access the HTTP version of the website.

In our example, the following URL was entered in the Browser:

• http://www.gameking.tips

Congratulations! You have finished the required DNS configuration.

Tutorial IIS – Enable the HTTPS

Start the application named: IIS Manager.

On the IIS Manager application, select your IIS server name.

On the right part of the screen, access the option named: Server certificates.

If you already have a certificate, click on the Import option on the top right part of the screen.

If you want to generate a self-signed certificate, select the option named: Create a self-signed certificate.

Enter a name to the certificate and click on the OK button.

Right-click on the desired website and select the option named: EDIT BINDINGS.

Click on the Add button.

Perform the following configuration:

• Type – HTTPS
• IP Address – All unassigned
• Port – 443
• SSL Certificate – Select the desired certificate

Click on the OK button.

On the IIS server, open your browser and enter the IP address of your web server using the HTTPS protocol.

In our example, the following URL was entered in the Browser:

• https://127.0.0.1

The HTTPS page should be presented.

Congratulations! You successfully configured the HTTPS feature on the IIS server.



The post IIS – Multiple Websites on the same server appeared first on TechExpert.

Sumber: TechExpert

Exit mobile version