흑......ㅠ.ㅠ
네임서버..... 안되요.....ㅠ_ㅠ
강좌 여기저기서 읽어보고 나름대로 해보려고 했건만...
안되요...... 저 돌탱인가 봐요......ㅠ.ㅠ
집에서 nslookup anisong.net 으로 해보면
Server: ren1.inempire.com
Address: 210.124.122.35
Non-authoritative answer:
Name: anisong.net
Address: 211.233.12.139
이렇게 나와요..... 제대로 나온거 아닌가요?
도메인 구입한 곳에서 네임서버도 ns.anisong.net, 211.233.12.139 이렇게
맞추었고요.......
근데도 안되요... 황당한게;;
회사에서 조금 해줬었거든요..
근데 안되길래 강좌읽고 이것저것 건드려봤는데.. 안되네요..ㅠ.ㅠ
아이피 입력하면? -> 정상적으로 됩니다.
anisong.net 입력하면? -> 회사 홈페이지로 갑니다;;
ns.anisong.net 입력하면? -> 역시 회사 홈페이지로 갑니다.
www.anisong.net 입력하면? -> 접속이 안됩니다.ㅠ.ㅠ
거의 이틀 동안 이거때문에 우왕좌왕이네요.....;;
관련 파일들 올립니당;; 어디가 잘못됐는지 아시는분...?
httpd.conf파일의 버츄어 호스트부분의 내용입니다.
NameVirtualHost 211.233.12.139
#<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>
#<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>
<VirtualHost www.anisong.net>
ServerAdmin webmaster at anisong.net DocumentRoot /home/anisong/public_html
ServerName anisong.net
</VirtualHost>
<VirtualHost www.anisong.net>
ServerAdmin webmaster at anisong.net DocumentRoot /home/anisong/public_html
ServerName www.anisong.net </VirtualHost>
named.conf 파일의 내용입니다.
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};
zone "15.233.211.in-addr.arpa" IN {
type master;
file "named.rev";
};
#이런식으로 추가
zone "anisong.net" IN {
type master;
file "zone-anisong.net";
};
zone-anisong.net 파일의 내용입니다.
@ IN SOA ns.anisong.net. webmaster.anisong.net. (
2001060100 ;Serial
10800 ;Refresh
3600 ;Retry
3600000 ;Expire
43200 ;Minimum
)
IN NS ns.anisong.net.
IN A 211.233.12.139
IN MX 10 mail.anisong.net.
IN HINFO "Intel Pentium III" "ALzzA Linux"
localhost IN A 127.0.0.1
ns IN A 211.233.12.139
www IN A 211.233.12.139
w3 IN CNAME @
irc IN CNAME @
ftp IN CNAME @
news IN CNAME @
흑.......ㅠ_ㅠ--이 곳에 서명을 적어주십시오.
난 돌팅이였다.......ㅠ.ㅠ