>> Delete No. 51917 article
No. 가상 호스트에서..

등록 2002-07-03 14:13:00 By localhost     조회 4
이름 곰팽이    

		할당받은 아이피 주소에 가상 호스트를 하려고 합니다.
가상 도메인에 대한 경로를 정해줄때 httpd.conf 문서에서
NameVirtualHost xxx.xxx.xxx.xxx
 <VirtualHost xxx.xxx.xxx.xxx>
  ServerAdmin admin at 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 at 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