>> Edit article
이름
제목
패스워드
: 아파치 초기값이 : http://주소/~아이디 : 이잖아요... 계정 사용자들.. 홈이.. : 이걸.. 하이홈처럼.. : http://아이디.주소/ 으로.. 바꾸고싶거든요.. : 어떻게해야하나요.. >> 네임서버 존파일에서 설정을 해주세요... 가량 http://test.com 주소가 있고 asdf라는 계정이 있다면... 이를 2차 도메인으로 셋팅을 하려면 http://asdf.test.com --> 이와 같이... 하려면.. <pre> $TTL 86400 @ IN SOA ns.test.com. root.localhost. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 60 ) ; Minimum IN NS ns.test.com. IN A xxx.xxx.xxx.xxx IN MX 10 mail.test.com. ns IN A xxx.xxx.xxx.xxx www IN A xxx.xxx.xxx.xxx mail IN A xxx.xxx.xxx.xxx asdf IN A xxx.xxx.xxx.xxx </pre> 이와 같이 설정을 잡은 후 네임서버를 재시작하는거죠... 테스트는 쉘에서 host asdf.test.com 하면 지대로 찾는지 하는 것이고... 그 다음에 아파치 부분을 수정합니다.. 가상호스트 부분에 <pre> <VirtualHost xxx.xxx.xxx.xxx> ServerAdmin webmaster@asdf.test.com DocumentRoot /home/asdf ServerName asdf.test.com ServerAlias www.asdf.test.com asdf.test.com ScriptAlias /cgi-bin/ /home/asdf/cgi-bin/ # ErrorLog logs/dummy-host.example.com-error_log # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common </VirtualHost> </pre> 위와 같은 방식으로 설정을 잡은 후 아파치 또한 재부팅 하면 셋팅이 끝납니다. 그럼 수고하세염... javagent.com
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved