Ubuntu18系統Apache添加虛擬域名

ubuntu環境下,爲apache添加虛擬域名,有點相似於nginx。可是在添加了軟連接以後,仍是沒有成功。nginx 先在hosts裏面添加域名指向虛擬機IP地址 vim /etc/hosts 127.0.1.1 tp.test 項目目錄爲/mnt/e/www/tp_test,進入 /etc/apache2/sites-available目錄,複製默認配置文件 000-default.con
相關文章
相關標籤/搜索