>> Edit article
이름
제목
패스워드
할당받은 아이피 주소에 가상 호스트를 하려고 합니다. 가상 도메인에 대한 경로를 정해줄때 httpd.conf 문서에서 NameVirtualHost xxx.xxx.xxx.xxx <VirtualHost xxx.xxx.xxx.xxx> ServerAdmin admin@aaa.com DocumentRoot /home/httpd/htdocs/aaa/public_html ServerName aaa.com ErrorLog logs/www.aaa.com-error_log CustomLog logs/www.aaa.com-access_log common </VirtualHost> <VirtualHost xxx.xxx.xxx.xxx> ServerAdmin admin@aaa.com DocumentRoot /home/httpd/htdocs/aaa/public_html ServerName www.aaa.com ErrorLog logs/www.aaa.com-error_log CustomLog logs/www.aaa.com-access_log common </VirtualHost> 이렇게 고쳤는데 인터넷에서 aaa.com 을 치면 aaa/public_html 에 있는 index.html 문서가 안뜨고 xxx.xxx.xxx.xxx 의 index.html 문서가 뜹니다. aaa.com 의 index.html 문서를 띄우려면 어떻게 하나요?
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved