Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Redirect any arbitrary domains #175

Open
misterjoshua opened this issue Jul 16, 2021 · 2 comments
Open

Feature request: Redirect any arbitrary domains #175

misterjoshua opened this issue Jul 16, 2021 · 2 comments

Comments

@misterjoshua
Copy link

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!

@adamdottv
Copy link
Collaborator

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

@misterjoshua
Copy link
Author

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

Mine are too. Lol. Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants