• Stars
    star
    114
  • Rank 308,031 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Forward Domains, completely free and open source.

Forward Domain

GitHub Repo stars Uptime Robot ratio (30 days)

Banner

We're back with improvements! See CHANGES.md

This service forwards domains using HTTP(s) redirects.

Example scenarios:

  • Forward non-www to www domains or vice versa
  • Forward old domains to new domains

Why using this service?

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

How does it works?

  • 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 recommended to use CNAME records rather than A/AAAA records.

You can choose the type of redirection you want to use by declaring the http-status value:

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

Only the HTTP status code 301 and 302 are supported. By default it's 301, which is permanent redirection. Set to 302 if you want temporary redirection, it has effect on search engine indexing.

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.

Credits

Things in package.json. I also borrow code from zbo14/certnode.

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.

More Repositories

1

WebViewHook

Exposed Unity Editor WebView API
C#
117
star
2

MeshDebugger

🌐 First-class Mesh debugging tools for Unity
C#
115
star
3

deobfuscator

Online Javascript Deobfuscator Tool
JavaScript
110
star
4

autobloom

Make Windows 11 Bloom Wallpaper Animated when signing in.
Batchfile
68
star
5

N-Matrix-Programmer

A software to write an optimized code that calculates inverse and determinant of N by N matrix.
C#
41
star
6

Vs2017-LayoutInGUI

Generate CL Argument for Offline Visual Studio 2017 Installation.
C#
26
star
7

Qu3e-Sharp

Lightweight and Simple 3D Open Source Physics Engine ported to C#
C#
25
star
8

secure-localhost

Proxy your specified localhost port to HTTPS, with automatic certificate installation.
JavaScript
19
star
9

Iconizer

Image to Icon Converter with High Quality Output
C#
8
star
10

cms-toolkit-with-coreui

CMS Tookit with CoreUI
PHP
8
star
11

ci4-admin-lte

CodeIgniter4 with Admin LTE 3 Template
PHP
8
star
12

crm-toolkit

Battery-Included CodeIgniter, React, Material-UI Template
PHP
7
star
13

frontgen

Clean Website Builder using CSS Frameworks (WIP)
JavaScript
6
star
14

forger

Website Builder based on Svelte
Svelte
5
star
15

Usink

⚑ Supercharge Unity Editor with hotkeys and functionalities
C#
4
star
16

random-youtube

Watch some random YouTube video!
HTML
3
star
17

Ascii-Painter

.NET Based Text painting tool
C#
3
star
18

IsoCreatorLib

Create ISO Files in .NET (Fork Repository)
C#
3
star
19

Nottorus-Unofficial-Patches

Nottorus Visual Scripting Unofficial Patches
3
star
20

screend

Screen Daemon
Go
3
star
21

udp-hole-lab

JavaScript
2
star
22

Socket-Clipboard

LAN-wide clipboard syncronization tool using .NET TCP socket
C#
2
star
23

engine4-doc

Documentation for Engine4
HTML
2
star
24

forwarddomain.net

forwarddomain.net website 🏑
JavaScript
2
star
25

uas-gitlab-auth

πŸ”‘ Microservice to grant access to GitLab private repo using Asset Store Invoice API.
JavaScript
2
star
26

bandit

πŸ±β€πŸ‘€ The swiss army of hacking tools
JavaScript
1
star
27

url-deconstruct

Extract some information behind URL parameters
JavaScript
1
star
28

PD

Jupyter Notebook
1
star
29

test-gatsby-hmr-bug

JavaScript
1
star
30

yourlifeindots

Your life in a page of black dots (inspired by WBW)
HTML
1
star
31

artiscii

Artistic text creation made fun 😎
JavaScript
1
star
32

bandit-proxy

πŸ”« A dangerous proxy for unrestricted XHR access in browser
JavaScript
1
star
33

willnode.github.io

List of repositories I made
1
star
34

sdit-raport

PHP
1
star
35

uas-public-stat

Custom public statistics for packages in Unity Asset Store
HTML
1
star
36

trunojoyo-assets

JavaScript
1
star
37

strapi-db-query-demo

Demonstrating database transactions in Strapi ✨
JavaScript
1
star
38

Nafza-Faroidh

Aplikasi Desktop untuk Penghitungan Faroidh atau Waris mewaris harta peninggalan menurut Ajaran Islam
C#
1
star
39

Network-Facts

Common C# Network Snippets (with a working WPF Demo)
C#
1
star