Free & privacy-aware domain forwarder https://hosterra.eu/projects/public/forwarder.php
  • JavaScript 100%
Find a file
Wildan M 66941c15a3 Update package.json
Add count domains
2022-01-10 20:41:15 +07:00
.github Update README 2022-01-03 15:10:34 +07:00
.vscode Initial commit 2021-08-22 07:29:09 +07:00
public Initial commit 2021-08-22 07:29:09 +07:00
src Omit email, cache keypair 2021-09-21 18:01:03 +07:00
.gitattributes Initial commit 2021-08-22 07:29:09 +07:00
.gitignore Ignore temp files 2021-09-21 06:15:09 +07:00
app.js Add args for production 2021-09-20 20:11:57 +07:00
CHANGES.md IPv6-ish support 2022-01-03 09:30:27 +07:00
index.js Extract certnode & stuffs out of app.js 2021-08-22 09:10:25 +07:00
LICENSE Initial commit 2021-08-22 07:29:09 +07:00
package-lock.json pm2 2021-09-20 20:24:59 +07:00
package.json Update package.json 2022-01-10 20:41:15 +07:00
README.md Update README 2022-01-03 15:10:34 +07:00

Forward Domain

Banner

We're back with improvements! See CHANGES.md

This services forwards domains using 301 HTTP(s) redirects.

Possible scenarios:

  • Forward non-www to www URLs or inversely
  • Forward old URLs to new URLs

Why using this service?

  • No coding required
  • No hosting required
  • No registration required
  • Completely anonymous
  • Completely free

How it is possible?

  • Point your domain to us using CNAME or A/AAAA records
  • Tell us where to forward using TXT records
  • We handle HTTPS certificates for you

Get Started

To forward from www.old.com to old.com, add these records to your DNS:

www.old.com     IN    CNAME   r.forwarddomain.net
_.www.old.com   IN    TXT     forward-domain=https://old.com/*

Because CNAME can't be used in apex domains, you can use A/AAAA records.
To forward from old.com to new.net, add these records to your DNS:

old.com     IN    A       167.172.5.31
_.old.com   IN    TXT     forward-domain=https://new.net/*

The star * at the end tells us that the remaining URL path is also forwarded to the destination URL.

If you use Cloudflare or any DNS which supports CNAME Flattening, you still can use CNAME records pointing to r.forwarddomain.net, it's much recommended to use CNAME records rather than A/AAAA records.

FAQ

Is it really free?

Forwarding domains should be easy to setup.
I use this myself for domcloud.io.

How can I check redirects will work?

This service uses Google's Public DNS Resolver.
Once first accessed, values will be cached for a day.
For right now there's no way to flush the cache sorry.

Why it loads slowly?

It only slow at first time because it has to sign HTTPS certificates.

How about IPv6?

IPv6 record is added in r.forwarddomain.net so subdomain redirects will simply work with IPv6. We don't guarantee that its IPv6 address will be persistent though. See #2 for apex domains setup.

What records do we keep?

We only keep caches of DNS records and SSL certs. This also means we can see how many users and what domains are using our service from the software cache, but that's all. We don't keep log traffic nor keep any user data anywhere on our server.

How can I support this service?

Star our repo and spread the word, please :)

Additionally, you can also help us cover hosting costs.

Usual Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.