제가 셋팅한 서버인데요.
본 도메인인 ssora.com은 잘됩니다.
그런데 친구가 호스팅을 해달라구하더군요.
그친구는 ip가 없는주소라고.. 그래서 이렇게 했는데 안되네요..
zzzzz는 친구의 계정을 뜻합니다.
Redhat7.0입니다.
/etc/httpd/conf/httpd.conf
--------------------------------------------
~
BindAddress *
~
<VirtualHost 211.248.103.3>
DocumentRoot /home/admin/ssora-html/html
ServerName www.ssora.com ServerAlias ssora.com
</VirtualHost>
NameVirtualHost 211.248.103.3
<VirtualHost 211.248.103.3:80>
ServerName september.pe.kr
ServerAdmin zzzzz at ez-1.co.kr DocumentRoot /home/zzzzz/public_html/
ErrorLog logs/zzzzz.error_log
CustomLog logs/zzzzz.access_log common
ServerAlias *.september.pe.kr
</VirtualHost>
-----------------------------------------
/etc/named.conf
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "ssora.com" {
type master;
file "ssora.zone";
};
zone "103.248.211.in-addr.arpa" {
type master;
file "103.248.211.zone"
};
zone "september.pe.kr" {
type master;
file "zzzzz.zone";
};
---------------------------------------------
/var/named/zzzzz.zone
@ IN SOA ns.september.pe.kr. zzzzz.ez-
i.co.kr. (
011226 ;Serial
10800 ;Refresh
3600 ;Retry
432000 ;Expire
86400 ;Minimum
)
@ IN NS ns.september.pe.kr.
@ IN A 211.248.103.3
localhost IN A 127.0.0.1
ns IN A 211.248.103.3
ns IN MX september.pe.kr
www IN CNAME ns
ftp IN CNAME ns
zzzzz IN CNAME ns
---------------------------------------------------
!!!!그런데요... zzzzz.zone에서 $TTL 13200이라구 적어야되나요?
음......-- 부탁드려요 ㅠㅠ