iismanualwebsite
Table of Contents
Create Manual WebSite in IIS
Summary: How to manually create a website in IIS
Date: Around 2017
Refactor: 1 March 2025: Checked links and formatting.
I needed to create a redirect in a local environment, as a temporary solution, so end-users could access a specific website using a short url. The url was already made available through dns and was simply: http://applicationtest.
Note that if this is not already done you can add the following line in your hosts fileC:\windows\system32\drivers\etc\hostswhen testing:10.10.10.10 applicationtestwhere 10.10.10.10 is the IP address of the server running IIS.
Create an IIS Website Manually
Follow the steps below to manually create a website for applicationtest:
- Add Application Pool
- In IIS Manger, go to Application Pools, right click and select “Add Application Pool”
- Set the name to “ApplicationTest” and leave all other setting default, and click OK to create the Application Pool
- Add a new website
- In IIS Manager, go to Sites, right click and select “Add Website”
- Set the Site name to “ApplicationTest”
- Select the Application Pool “ApplicationTest”
- Set the physical path to C:\inetpub\wwwroot\ApplicationTest (you have to create the folder using the “New Folder” button)
- Under Binding, set the Host name to “applicationtest”
- Click OK when done
- Add a website to redirect
- Go to C:\inetpub\wwwroot\ApplicationTest and right click to create a new text file
- Name the file index.html
- Open the file as an administrator with a text editor and enter the following text:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta HTTP-EQUIV="REFRESH" content="0; url=https://www.shiftwiki.nl/">
<title>ApplicationTest Redirect</title>
</head>
<body>
<p>This page will redirect you to ApplicationTest in the cloud. If that fails, click the link below:</p>
<a href="https://www.shiftwiki.nl/">Application Test</a>
</body>
</html>
Useful Links
This wiki has been made possible by:
iismanualwebsite.txt · Last modified: by 127.0.0.1
