运维网's Archiver
论坛
›
apache
› Apache 服务绑定域名的方法
美奇科技
发表于 2018-11-19 12:52:51
Apache 服务绑定域名的方法
错写一下错误:
ServerName takes one argument, The hostname and port of the server
解决方法:将ServerName修改为ServerAlias 。
NameVirtualHost *:80
ServerAlias www.domain.com domain.com
DocumentRoot "/var/www/domain.com"
页:
[1]
查看完整版本:
Apache 服务绑定域名的方法