: 야야님 늦은 시간임에도 불구하고 친절하게 답변해 주셔서 감사합니다.
:
: 답변에도 불구하고 잘 안되서 다시 한번 더 질문을 드립니다.
:
:
:
: 이 서버는 ** 있는 것입니다.
:
: 그래서 도메인이 p**.**.ac.rk 이고 아이피는 1**.1**.1**.60 입니다.
: 제가 서버 파티션 때문에 포멧을 다시 했는데 httpd.conf 만 백업하고 나머지를
:
: 그냥 날려버려서 이런 고생을 하고 있는 것입니다.
:
: 서브 홈페이지 중에서 3개가 다른 도메인으로 들어갈 수 있었습니다.
:
: po~~~.kr/~bkkim 은 theoros.org 로
: po~~~.kr/~russia 는 russology.org
: po~~~~.kr/~cncho 는 cncho.pe.kr 로 들어갈 수 있었습니다.
:
: theoros.org , russology.org , cncho.pe.kr 을 whois 도메인 검색을 해보니
:
: 도메인 서버가 모두 ns.theoros.org 였습니다.
:
: 그래서 다시 ns.theoros.org 를 whois 네임서버 검색을 하니
:
: ip 가 p***.***a.ac.kr와 같은 1**.**.1**.*0 이었습니다.
:
:
: 이런 상황이라면 다른 식으로 설정해주어야 되지 않을까요?
:
:
:
:
: : 버전은 BIND 9 이고
: :
: : whois 에서 찾아본 도메인 서버는 ns.t***.org , ip 는 16*.***.***.70 입니다.
: :
: : bind를 rpm으로 설치했고, 도메인 네임은 po***.k***.ac.kr , ip는 16*.***.***.70 입니다.
: :
: : 문제는 서브홈인 (~ rus**) 를 rus****.org 로 들어갈 수 있게 해야 하는데
: :
: : 도저히 방법을 모르겠습니다.
: :
: :
: : named.conf 설정은
: : ------------------------------------------------
: :
: :
: : ## named.conf - configuration for bind
: : #
: : # Generated automatically by bindconf, alchemist et al.
: : controls {
: : inet 127.0.0.1 allow { localhost; } keys { rndckey; };
: : };
: :
: : include "/etc/rndc.key";
: :
: : options {
: : directory "/var/named/";
: : };
: :
: :
: :
: :
: : zone "." {
: : type hint;
: : file "named.ca";
: : };
: :
: :
: : zone "0.0.127.in-addr.arpa" {
: : type master;
: : file "0.0.127.in-addr.arpa.zone";
: : };
: :
: :
: : zone "localhost" {
: : type master;
: : file "localhost.zone";
: : };
: :
: :
: : zone "ns.t*****.org" {
: : type master;
: : file "ns.t*****.org.zone";
: : };
: :
: :
: :
: : --------------------------------------------------------------------
: :
: : ns.t*****.org.zone 부분은
: :
: :
: : ----------------------------
: :
: : $TTL 86400
: : @ IN SOA ns.t*****.org. root.po****.k****.ac.kr (
: : 1 ; serial
: : 28800 ; refresh
: : 7200 ; retry
: : 604800 ; expire
: : 86400 ; ttl
: : )
: :
: :
: : IN NS ns.t*****.org.
: :
: :
: : IN A 16*.***.***.70
: : IN HINFO "RedHat"
: :
: : ns IN A 16*.***.***.70
: : russ** IN A 163.152.106.70
: :
: :
: : -------------------------------------------------------------------
: :
: : httpd.conf
: :
: : ----------------------
: : <VirtualHost 163.152.106.70>#
: : ServerAdmin dddd at hanmail.net : : DocumentRoot /home/ru***/public_html
: : Servername ru****.org
: : ServerAlias *.ru****.org ru***.org
: : ErrorLog logs/ru****.org-error_log
: : CustomLog logs/ru******.org-access.log common
: : </VirtualHost>
: : --------------------------------------------------------------
: :
: : 이상 입니다.
: :
: : 이정도만 손보면 되는 것으로 책에서는 나와 있는데 맞나요?
: :
: : 제가 설정을 잘못한 부분은 없는가요?
:
: --
: 이삽질에서 하루빨리 벗어나고 싶다