/redirect.center

Redirect domains using DNS only

Primary LanguageJavaScript

Codacy Badge Codacy Badge CircleCI dependencies Status devDependencies Status

redirect.center

Redirect domains using DNS only.

How do I install?

$ cd /opt
$ git clone https://github.com/udleinati/redirect.center.git
$ cd redirect.center
$ npm install
$ npm test

Environment Variables

Look at the file ./src/config.js to configure others environment variables. You must set at least these three variables:

export FQDN=redirect.center
export PORT=80
export PUBLIC_IP=54.84.55.102

How do I run in production?

$ npm run pm2-start

Last but no least

Create an * entry in your DNS.

*.redirect.center CNAME TO redirect.center