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\hosts
when testing:10.10.10.10 applicationtest
where 10.10.10.10 is the IP address of the server running IIS.
Follow the steps below to manually create a website for applicationtest:
<!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>