一、常规域名类型
• http域名:
◦ http://example.com(普通http域名)
◦ http://www.test-domain.cn(带www前缀)
◦ http://sub.example.net(带二级域名)
• https域名:
◦ https://secure-site.com(普通https域名)
◦ https://www.bank-example.com(金融类https域名)
◦ https://api.subdomain.org(API接口https域名)
二、特殊格式或场景域名
• 带端口号:
◦ https://test.com:4433(非默认443端口)
• 带路径参数:
◦ http://example.com/path/to/page?param=1
◦ https://domain.com/api/v1/data?id=123
• 国际域名(含特殊字符):
◦ http://示例.com(中文域名)
◦ https://café.com(含特殊字母,需转punycode测试)
三、异常或边界场景域名
• 无效域名:
◦ http://invalid-domain..com(多后缀)
• IP直接访问:
◦ http://192.168.1.1(内网IP)
◦ https://203.0.113.1(公网IP)
• 特殊协议测试:
◦ http://域名.测试(新通用顶级域名,如.测试、.shop等)
◦ https://localhost(本地回环地址)