使用 Apache Name Base Virtual Host 欲新增 tcp/443 的 vhost 出現以下錯誤訊息
Performing sanity check on apache22 configuration:
[Wed Sep 12 13:44:02 2018] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
開啟網頁後,不論是連到哪個網址都會看到預設的網頁
解決方式:
在設定檔中加入
NameVirtualHost *:443
重啟apache 即可
文章標籤
全站熱搜