VirtualHost 간단 방법

지웅이한테서 배운 초간단 VirtualHost 설정
하나의 IP를 가진 컴퓨터에서 두개 이상의 도메인 작동시키는 방법

vi /etc/httpd/conf/httpd.conf




NameVirtualHost YOUR.IP.ADDRESS

<VirtualHost YOUR.IP.ADDRESS>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot YOUR/WEB/DOC/ROOT
    ServerName YOUR.SERVER.NAME
</VirtualHost>

<VirtualHost YOUR.IP.ADDRESS>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot YOUR/WEB/DOC/ROOT
    ServerName YOUR.SERVER.NAME
</VirtualHost>


빨간색 박스는 원래 서버를 위한 설정
파란색 박스는 본 서버에서 추가적으로 VirtualHost 해주려는 설정



크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2009/05/07 20:23 2009/05/07 20:23
,
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/125

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/125

Leave a comment
« Previous : 1 : ... 41 : 42 : 43 : 44 : 45 : 46 : 47 : 48 : 49 : ... 136 : Next »

블로그 이미지

Stay Hungry Stary Foolish!

- gwlee

TC-Cumulus by reznoa requires Flash Player 9 or better.

Site Stats

Total hits:
60663
Today:
25
Yesterday:
48