>> Delete Reply from No. 49517 article
No. RE: 아파치의 버추얼 호스팅 설정 ?

등록 2002-05-21 14:21:00 By localhost     조회 1
이름 야야    

		: 안녕하세요 ?
:
: 아파치로 웹서버를 만들었습니다.
: 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세팅이라든가요 ?
: "<>" 이 문자 부분은 삭제가 되네요 ? 이 홈페이지 왜 이러죠 ?
:
: 네임 기반 버추얼 호스팅 설정방법을 잘 모릅니다.
: 어디에서 부터 시작해야 되나요 ?
:
: 구체적으로 답변해 주시면 감사하겠습니다.
네임서버 쿼리 됨
naturefood.pe.kr
www.naturefood.pe.kr
bestname.naturefood.pe.kr
 네임서버 쿼리 않됨
apache.naturefood.pe.kr
goodname.naturefood.pe.kr
 버출얼 호스트 설정 보다 먼저 이게 우선입니다.
 http://naturefood.pe.kr/~bestname 이렇게 해서 홈페이지가 뜰 경우
 그다음 버철 호스트 문제 입니다.
 httpd.conf 파일에서 일반 계정 홈페이지가 열릴수 있도록
작업 해주어야 합니다.
계정 홈페이지 부분 # (마크 된부분 풀어 주어야 합니다)
 각 버출얼 호스트 별로 네임서버 작업 입니다.
 그다음 이 httpd.conf 버추얼 호스트 설정입니다.
 httpd.conf 파일
 http://xjoin.net:8880/menual/httpd_1.conf  참조 하시기 바랍니다.--열심히 삽질하자 허접 삽질 엽기 
삽질 삶이 속일지라도 세상이 속일지라도 난 포기 하지 않는다.
http://xjoin.net:8880
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved