Drop the demo.lumbridgecorp.com alias; one hostname
ci / web (push) Successful in 2m59s
ci / python (push) Successful in 4m3s

The site is demo.primeintellectgrowth.com and nothing else. The Caddy block,
the deploy smoke test, the mirrored Caddyfile and the docs all carried the
second name; all four no longer do.
This commit is contained in:
karti-ai
2026-08-28 21:48:30 -07:00
parent 4bec0724db
commit ba9d7c874e
4 changed files with 4 additions and 35 deletions
-8
View File
@@ -14,11 +14,6 @@ HOST="${PIG_DEMO_HOST:-ubuntu@100.92.185.76}"
ROOT="/var/www/demo.primeintellectgrowth.com"
SNAPS="${ROOT}-rollbacks"
URL="https://demo.primeintellectgrowth.com"
# Served from the same root under a second name. Checked because DNS for
# lumbridgecorp.com is a WILDCARD: the alias resolves whether or not Caddy knows
# about it, and an unconfigured name fails the TLS handshake outright rather
# than 404ing — which reads as "the site is down", not "wrong hostname".
ALIAS="https://demo.lumbridgecorp.com"
cd "$(dirname "$0")/.."
@@ -74,8 +69,5 @@ for path in /sitemap.xml /robots.txt /og/wordle.png; do
[ "$code" = "200" ] || { echo "FAILED: $path returned $code"; exit 1; }
done
alias_code=$(curl -sS -o /dev/null -w '%{http_code}' --max-time 30 "$ALIAS/" || echo 000)
echo " alias $ALIAS -> $alias_code"
[ "$alias_code" = "200" ] || { echo "FAILED: the alias hostname returned $alias_code"; exit 1; }
echo "==> live: $URL"