Redirect domains using DNS only.
$ cd /opt
$ git clone https://github.com/udleinati/redirect.center.git
$ cd redirect.center
$ npm install
$ npm test
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
$ npm run pm2-start
Create an * entry in your DNS.
*.redirect.center CNAME TO redirect.center