安装方法: 解压到站点根目录配置好伪静态即可,需 php 环境,无需 mysql,配置SSL证书,配置证书可能导致无法正常打开 伪静态 Nginx location / { if (-f $request_filename) { break; } rewrite ^/(.*)$ /index.php?domain=$1 last; } Apache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?domain=$1 [L] </IfModule> 使用: 可以直接输入域名或 IP 搜索,也可以像输入如下直接访问即可 https://masuc.cn/a.com https://masuc.cn/1.1.1.1 就是你搭建whois的域名后面加上要查询的域名即可查询