ness icon indicating copy to clipboard operation
ness copied to clipboard

Feature request: Redirect any arbitrary domains

Open misterjoshua opened this issue 4 years ago • 2 comments
trafficstars

This project looks great! I was wondering if it was feasible to add support to redirect arbitrary domains (other than www) to ness's main domain.

For example, I have a situation where I want the domain to be www.mydomain.com and would like to redirect all of the other domains shown below to www.mydomain.com. Here's an example of how I might want to run ness:

npx ness deploy \
  --dir mysite --domain www.mydomain.com \
  --redirect mydomain.com,somethingelse.com,www.somethingelse.com

In this situation:

  • www.mydomain.com serves the website
  • mydomain.com, somethingelse.com, and www.somethingelse.com all redirect to www.mydomain.com

Thanks!

misterjoshua avatar Jul 16 '21 23:07 misterjoshua

Sorry, my GH notifications are a mess! I think this should be doable! Stay tuned.

adamdotdevin avatar Aug 09 '21 22:08 adamdotdevin

Sorry, my GH notifications are a mess! I think this should be doable! Stay tuned.

Mine are too. Lol. Thanks! :)

misterjoshua avatar Aug 09 '21 23:08 misterjoshua