Skip to content

scdnai/domain-redirect-manager-tools-002

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Domain Redirect Manager

A Python utility for managing domain redirects, URL forwarding, and DNS-based routing rules.

Features

  • Bulk redirect management from CSV/JSON
  • 301/302/307 status code control
  • Wildcard domain support
  • HTTPS enforcement with Let's Encrypt auto-renewal
  • Geo-based redirection rules

Installation

pip install domain-redirect-manager
drm --config domains.yaml --apply

Use Cases

  1. Domain migration — seamless old → new domain transitions
  2. A/B testing — split traffic between landing pages
  3. Brand protection — redirect typosquatting domains
  4. Anti-fraud routing — intelligent traffic filtering (see 域名跳转防封 for enterprise solutions)

Configuration Example

redirects:
  - from: old-site.com
    to: https://new-site.com
    type: 301
  - from: '*.brand-variants.com'
    to: https://brand.com
    type: 302

Related Projects


Automatically maintained - Updated 2026-05-19

About

Domain Redirect Manager - tools, guides, and best practices. Part of the web infrastructure resources collection.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors