Simply listens for and redirects HTTP requests.
Go to file
Ryan Ries 9fc46fe099 Create 2015-05-10 11:26:13 -05:00
.gitattributes :neckbeard: Added .gitattributes & .gitignore files 2015-05-10 11:03:18 -05:00
.gitignore :neckbeard: Added .gitattributes & .gitignore files 2015-05-10 11:03:18 -05:00 Create 2015-05-10 11:26:13 -05:00
Resource.rc First commit 2015-05-10 11:03:35 -05:00
Service.cpp First commit 2015-05-10 11:03:35 -05:00
TinyWebRedirector.sln First commit 2015-05-10 11:03:35 -05:00
TinyWebRedirector.vcxproj First commit 2015-05-10 11:03:35 -05:00
TinyWebRedirector.vcxproj.filters First commit 2015-05-10 11:03:35 -05:00
resource.h First commit 2015-05-10 11:03:35 -05:00


Simply listens for and redirects HTTP requests.

TinyWebRedirector v1.0 - Redirects HTTP Requests
Copyright (C) 2015 Joseph Ryan Ries

Install:   TinyWebRedirector -install
Uninstall: TinyWebRedirector -uninstall

I wrote this micro web server for all the sysadmins out there who have an internal Active Directory that shares the same DNS name as their public domain name. Let's say your internal AD domain name is Your public website is also In this scenario, internal employees cannot reach your public website by entering into their web browsers, because internally resolves to the IP address of one of your AD domain controllers. This has lead to messy solutions, such as installing IIS on each domain controller, for the sole purpose of redirecting requests on port 80 to But installing IIS on your domain controllers is not a great idea.

TinyWebRedirector is more suited to this purpose because:

  • It is tiny. The image file is 110KB, and runs with a ~2.6MB working set.
  • It does one thing and one thing only. This translates to a much smaller potential attack surface than a large web server such as IIS.
  • It is written in C, and so does not require .NET. Will run on any Windows machine Vista/2008 or greater.
  • The listening port (default 80) and the URL to redirect visitors to is configurable in the registry at HKLM\SYSTEM\CurrentControlSet\Services\TinyWebRedirector. Restart the service for changes to take effect.
  • The service runs as Local Service. This is a much safer configuration than services that run as Local System.

Please let me know if you find any bugs or weaknesses.