Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple domain forwarder -- redirects web requests based on URL in TXT record
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
event.d
.gitignore
README
domfo.py

README

domfo
=====

Domain Forwarder

This is a simple web server that redirects requests to the location found in the TXT record for the domain in the host of the incoming request. There is no security, so if somebody knows the host/IP of your running domfo instance, they can use it to forward their domain.

Here's how you use it once it's running. Say it's running on port 80 at redirect.domdori.com ... so if you want to use it to redirect your new domain "superdomain.com" to "http://myblog.com", you set up two DNS records for superdomain.com:

 * CNAME record to redirect.domdori.com
 * TXT record with "location=http://myblog.com"
 
And you're done! Requests to http://superdomain.com will redirect to http://myblog.com once DNS propagates. 
Something went wrong with that request. Please try again.