server-opslisted
Install: claude install-skill wlkerwong-boop/china-web-deployment
# Server Operations
Covers recurring server-management patterns for the Alibaba Cloud lightweight server (203.0.113.10) and Mac mini local services. Use when the user asks about server setup, SSL certificates, swap, SSH, or PM2 process management.
## Trigger conditions
- User mentions: server, 阿里云, swap, SSL, 证书, SSH, PM2, proxy, 部署, 域名查询, launchd
- Any task involving acme.sh cert issuance or renewal
- Setting up or troubleshooting reverse proxies (Node http-proxy)
- Domain availability checking
---
## 1. Domain Availability Checking
When the user needs to check if domains are available:
1. **Alibaba WHOIS** (`https://wanwang.aliyun.com/whois/<domain>`) — first stop for .cn/.com.cn
2. **System `whois`** — for .com/.net/.org; if no record found, domain is available
3. **`dig +short <domain> A`** — if no DNS resolution, domain is likely unregistered
4. **Registry-specific WHOIS** — `whois -h whois.verisign-grs.com <domain>` for .com; `whois -h whois.cnnic.cn <domain>` for .cn
5. **Web search** — search for the domain name to see if any site actively uses it
A domain with no DNS resolution + no WHOIS match + no search results is almost certainly available.
### Pitfalls
- `.academy` and other new gTLDs may not be queryable via standard WHOIS — use dig + web search
- CNNIC WHOIS rate-limits; space requests by at least 2 seconds
- `whois` default behavior queries IANA first — always follow referrals or use `-h` with the specific registry server
---
## 2. Swap Setup (Alib