LAMP IP 绑定域名 2018年11月10日 | Linux教程 在 LAMP 添加的第一个网站根目录下.htaccess文件里添加: RewriteCond %{http_host} ^0.0.0.0 [NC] RewriteRule ^(.*)$ http://www.examples.com/$1 [R=301,L] 注意:0.0.0.0换成服务器的IP;www.examples.com更换为需要绑定的域名。 See Also 修改 Linux 默认编辑器为 nano Lighttpd 下 Typecho 伪静态设置 Lighttpd 强制 Https 访问 Crt 与 key 格式证书转换为 pem 格式 Linux 搭建 KMS 服务器教程 Linux LAMP