V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
onichandame
V2EX  ›  DevOps

私有化 SaaS 系统应该支持随便换域名吗

  •  
  •   onichandame · Aug 30, 2024 · 4022 views
    This topic created in 607 days ago, the information mentioned may be changed or developed.

    现在遇到客户需要随意换域名/IP 的情况,但整个平台分为多个独立域名的微服务,数据库里还存了一些带域名的链接。每次换域名涉及到的运维工作和数据迁移工作很多,这种问题应该怎么处理?是要作为额外的付费运维工作项吗

    2 replies    2024-08-31 11:35:33 +08:00
    miokowsw
        1
    miokowsw  
       Aug 30, 2024 via iPhone
    用 cname 啊,一个根域名不变,数据库都存根域名,其他的域名指向根域名,随便他怎么换
    mytsing520
        2
    mytsing520  
    PRO
       Aug 31, 2024
    作为可选配置项,让客户自己去改。但要声明这可能是一个会影响全局系统的配置
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4596 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 00:14 · PVG 08:14 · LAX 17:14 · JFK 20:14
    ♥ Do have faith in what you're doing.