>> Edit article
이름
제목
패스워드
안녕하세요 ? 아파치로 웹서버를 만들었습니다. DNS서버세팅부터 웹서버 세팅까지 다 맞쳤습니다. 다음으로 아파치의 네임 기반 버추얼 호스팅 설정을 하려고 합니다. 아래 내용은 제 httpd.conf 파일 내용입니다. ....... # # Use name-based virtual hosting. # #NameVirtualHost * # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #<VirtualHost *> # ServerAdmin webmaster at dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> #ServerName naturefood.pe.kr NameVirtualHost 61.85.215.51 #<VirtualHost 61.85.215.51> #ServerName naturefood.pe.kr #ServerName naturefood.pe.kr <VirtualHost 61.85.215.51> ServerName naturefood.pe.kr </virtualHost> <VirtualHost 61.85.215.51> ServerAdmin ljh0431 at hitel.net DocumentRoot /home/apache/public_html ServerName apache.naturefood.pe.kr #ErrorLog logs/error.log #CustomLog logs/access.log </VirtualHost> <VirtualHost 61.85.215.51> ServerAdmin ljh0431 at hitel.net DocumentRoot /home/bestname/public_html ServerName bestname.naturefood.pe.kr #ErrorLog logs/error.log #CustomLog logs/access.log </VirtualHost> <VirtualHost 61.85.215.51> ServerAdmin ljh0431 at hitel.net DocumentRoot /home/goodname/public_html ServerName goodname.naturefood.pe.kr #ErrorLog logs/error.log #CustomLog logs/access.log </VirtualHost> <VirtualHost 61.85.215.51> ServerName naturefood.pe.kr </virtualHost> 위처럼 설정한 부분말고 또 다른 부분에서 설정해야 하는 부분이 있나요 ? DNS세팅이라든가요 ? "<>" 이 문자 부분은 삭제가 되네요 ? 이 홈페이지 왜 이러죠 ? 네임 기반 버추얼 호스팅 설정방법을 잘 모릅니다. 어디에서 부터 시작해야 되나요 ? 구체적으로 답변해 주시면 감사하겠습니다.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved