메뉴 닫기

우분투 VirtualHost설정후 활성화

패키지 설치한 apache VirtualHost를 설정해보자. cd /etc/apache2/sites-available/ root@ubuntu:/etc/apache2/sites-available# pwd /etc/apache2/sites-avilable/ vi domain.com <VirtualHost *:80> ServerName domain.com ServerAlias domain.com DocumentRoot /home2/domain.com/www   [DocumentRoot경로지정을해준다.] CustomLog /var/log/apache2/domain.com/access.log combined ErrorLog…