Skip to content

Feature request: Redirect any arbitrary domains #175

@misterjoshua

Description

@misterjoshua

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions