안녕 하세요
수고가 많습니다. (--)(__)
시작한지 얼마 되지 않은 초보 입니다.
질문이 있어서요...
서브 도메인을 세팅 하고 nslookup을 test한후에 ping으로 나가는 지 확인 한다음
아파치에서 버처 호스트에서 다음과 같이 세팅을 했습니다.
여기서 www.kim3.sook1.net url로 치면 www.sook1.net 페이지 가 떠요.
다른 ip기반의 버처 호스트는 이상이 없이 www를 붙여도 자기 url로 잘 가는데...
왜 그런가요?
가능 하시면 해결 방법( 어떻게 해야 네임 기반에서 서브 도메인에 www를 붙여서 사용이 가
능한지)과 이유를 설명해주시면 감사 하겠습니다. 그럼 좋은 하루 보내세요
#</VirtualHost>
# named base -,.-
<VirtualHost 192.168.1.32>
ServerAdmin 123 at 123.net DocumentRoot /home/sook1/www
ServerName www.sook1.net </VirtualHost>
<VirtualHost 192.168.1.32>
ServerAdmin 123 at 123.net DocumentRoot /home/sook1/www3
ServerName kim3.sook1.net => 문제항목
</VirtualHost>
# ip base @,.@
<VirtualHost 192.168.1.131>
ServerAdmin 123 at 132.net DocumentRoot /home/sook1/www1
ServerName kim1.sook1.net
</VirtualHost>
<VirtualHost 192.168.1.132>
ServerAdmin 123 at 123.net DocumentRoot /home/sook1/www2
ServerName kim2.sook1.net
</VirtualHost>
<VirtualHost 192.168.1.133>
ServerAdmin 132 at 132.net DocumentRoot /home/sook2/www
ServerName www.sook2.net </VirtualHost>
<VirtualHost 192.168.1.134>
ServerAdmin 132 at 132.net DocumentRoot /home/sook3/www
ServerName www.sook3.net </VirtualHost>
<VirtualHost 192.168.1.135>
ServerAdmin 132 at 132.nwet DocumentRoot /home/sook4/www
ServerName www.sook4.net </VirtualHost>--처음 과 같은 마음 으로 ....