>> Read Reply from No. 0 article  
RE: RE: apache virtualhost 셋팅을 못하겠어요

등록 2001-03-13 11:58:00     조회 1
이름 미치기일보직전인놈    

		: 안녕하세요..
: 아파치 설정 파일 전체를 올리셨네요..  -.-;;
: 버추얼 서버 셋팅은 네임서버와도 연관이 있는데
: 네임서버가 잘되어 있다는 가정하에 답변 드리겠습니다.
:
: 우선 버추얼 서버 셋팅을 하시려는 서버의
: 디폴트 서버 주소가 필요합니다..
:
: 그러니까 님께서는 현재 2개의 도메인을 셋팅하려 하시는데
: aaa.co.kr 하고 bbb.co.kr 둘중에 어떤거 하나가
: 디폴트로 쓰는 주소가 있어야 한다는 것이지요..
:
: 그리구 밑에 설정파일에 보시면.
:
: Bind Address *
:
: 이 부분이 주석처리가 되어있는데 주석 빼주셔야 합니다.
: 네임 버추얼 호스팅을 하시려면요...
:
: 그리고 나머지는 다 잘되어 있는거 같고
: 버추얼 셋팅 부분만 보도록 하죠..
:
: : # BindAddress: You can support virtual hosts with this option. This
: : option
: : # is used to tell the server which IP address to listen to. It can
: : either
: : # contain "*", an IP address, or a fully qualified Internet domain
: : name.
: : # See also the VirtualHost directive.
: :
: : #BindAddress *
:
: 여기 주석 없애 주시구요..
:
:
: : # Listen: Allows you to bind Apache to specific IP addresses and/or
: : # ports, in addition to the default. See also the VirtualHost command
: :
: : #Listen 3000
: : #Listen 12.34.56.78:80
: :
: : # VirtualHost: Allows the daemon to respond to requests for more than
: : one
: : # server address, if your server machine is configured to accept IP
: : packets
: : # for multiple addresses. This can be accomplished with the ifconfig
: : # alias flag, or through kernel patches like VIF.
: :
: : # Any httpd.conf or srm.conf directive may go into a VirtualHost
: : command.
: : # See also the BindAddress entry.
: : 
: : #<VirtualHost host.some_domain.com>
: : #ServerAdmin webmaster at host.some_domain.com : : #DocumentRoot /www/docs/host.some_domain.com
: : #ServerName host.some_domain.com
: : #ErrorLog logs/host.some_domain.com-error_log
: : #TransferLog logs/host.some_domain.com-access_log
: : #</VirtualHost>
: :
: : NameVirtualHost 100.100.100.1
: :
: : <VirtualHost 100.100.100.1>
: : ServerName www.aaa.co.kr : : ServerAdmin webmaster at aaa.co.kr : : DocumentRoot "/home/http/htdocs/"
: : ErrorLog logs/www.aaa.co.kr-error_log
: : TransferLog logs/www.aaa.co.kr-access_log
: : </VirtualHost>
: :
: : <VirtualHost 100.100.100.1>
: : ServerName www.bbb.com : : ServerAdmin webmaster at bbb.com : : DocumentRoot "/home/bbb/public_html/"
: : ErrorLog logs/www.bbb.com-error_log
: : TransferLog logs/www.bbb.com-access_log
: : </VirtualHost>
:
: 음 지금보니 aaa.co.kr 이 기본 홈페이지 같군요.
: 버추얼 서버 셋팅에 기본 홈페이지도 설정을 해주셔야 하거든요..
:
:  <VirtualHost 100.100.100.1>
:  ServerName www.aaa.co.kr :  ServerAdmin webmaster at aaa.co.kr :  DocumentRoot "/home/http/htdocs/"
:  ErrorLog logs/www.aaa.co.kr-error_log
:  TransferLog logs/www.aaa.co.kr-access_log
:  </VirtualHost>
: 
: NameVirtualHost 100.100.100.1
:
:  <VirtualHost 100.100.100.1>
:  ServerName www.bbb.com :  ServerAdmin webmaster at bbb.com :  DocumentRoot "/home/bbb/public_html/"
:  ErrorLog logs/www.bbb.com-error_log
:  TransferLog logs/www.bbb.com-access_log
:  </VirtualHost>
:
: 이렇게 해주시면 될듯 하옵니다...^^;
: 네임버추얼호스트 라인을 기본 홈페이지인 aaa.co.kr
: 밑에 써보세요...이건 상관없을 수도 있는데..
: 전 그렇게 쓰거든요..^^;;
:
: 위에 바인드 그거 주석만 풀면 될거 같군요...
: 그럼..
:
: --
: 메롱~
 답변 무지무지하게 감사합니다
그런데 안돼요
저는 네임서버가 없어서 도메인은 domain.krline.net
에서 호스팅 해주고 있거든요
만일 네임서버상에서 해줘야 하는 일이 있다면 답변 부탁합니다
이름
암호


>> 관련글
  답장 RE: apache virtualhost 셋팅을 못하겠어요  현성  2001.03.13  ....
  답장 RE: RE: apache virtualhost 셋팅을 못하겠어요  미치기일보직전인놈  2001.03.13  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.36 초 ] 작업시간: [ 0.03 초 ]

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

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789599560
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.