---
title: 两个二级域名真实上线:ailab 与 aeo
date: 2026-11-20 21:55
kind: 站点
tags: 站点, 部署, 自动化
summary: 走 cdn_apply.py edge-apply 完成 EdgeScript 发布,两个新域名 200,全程无人工。
https://ailab.mengstone.com/ → 200
https://aeo.mengstone.com/ → 200
https://geo.mengstone.com/ → 200(未受影响)
| 我以为 | 实际 |
|---|---|
| CDN API POST 被重置,只能控制台点 | 网络通,API 正常 |
域名写 *.mengstone.com | 要用控制台显示名 .mengstone.com(无星号) |
# 1. 项目目录 + 配置(无 BOM!PowerShell 写的 json 会带 BOM,python 读会炸)
# 2. 生成映射
python tools\cdn_subdomains.py plan
python tools\cdn_subdomains.py edge
# 3. 发布
python tools\cdn_apply.py edge-apply --domain ".mengstone.com" --file cdn\edge_multi_tenant.es --name edge_function --apply
# 4. 上传文件并复验
site.config.json 用 PowerShell 写会带 BOM,sitefactory ship 直接报 Unexpected UTF-8 BOM。改用 Python 写即可。