CentOS 7----Apache基於域名的虛擬主機配置

配置/etc/hosts文件,192.168.1.209 對應的域名以下:html 192.168.1.209 www.name1.comide 編輯每一個域名的配置文件: <VirtualHost 192.168.1.209:80> ServerName www.name1.com DocumentRoot /var/www/html <Dir
相關文章
相關標籤/搜索