하위 도메인이 IP로 확인되지 않음

하위 도메인이 IP로 확인되지 않음

하위 도메인을 만들었고 http://themes.ibrogram.com작동하지 않는 것 같지만 http://ibrogram.com/themes작동합니다.

A 레코드를 사용하면서 오랫동안 이 문제가 발생했는데 해결 방법을 찾을 수 없는 것 같습니다.

어떤 아이디어가 있나요?

편집하다

; Domain: ibrogram.com
; Exported (y-m-d hh:mm:ss): 2011-11-26 10:57:43
;
; This file is intended for use for informational and archival
; purposes ONLY and MUST be edited before use on a production
; DNS server.
;
; In particular, you must update the SOA record with the correct
; authoritative name server and contact e-mail address information,
; and add the correct NS records for the name servers which will
; be authoritative for this domain.
;
; For further information, please consult the BIND documentation
; located on the following website:
;
; http://www.isc.org/
;
; And RFC 1035:
;
; http://www.ietf.org/rfc/rfc1035.txt
;
; Please note that we do NOT offer technical support for any use
; of this zone data, the BIND name server, or any other third-
; party DNS software.
;
; Use at your own risk.

; SOA Record
IBROGRAM.COM.   3600    IN  SOA ns49.domaincontrol.com. dns.jomax.net (
                2011112600
                28800
                7200
                604800
                86400
                )

; A Records
@   3600    IN  A   199.38.116.24

; CNAME Records
www 3600    IN  CNAME   @
mobilemail  3600    IN  CNAME   mobilemail-v01.prod.mesa1.secureserver.net
pda 3600    IN  CNAME   mobilemail-v01.prod.mesa1.secureserver.net
email   3600    IN  CNAME   email.secureserver.net
imap    3600    IN  CNAME   imap.secureserver.net
mail    3600    IN  CNAME   pop.secureserver.net
pop 3600    IN  CNAME   pop.secureserver.net
smtp    3600    IN  CNAME   smtp.secureserver.net
ftp 3600    IN  CNAME   @
webmail 3600    IN  CNAME   webmail.secureserver.net
e   3600    IN  CNAME   email.secureserver.net

; MX Records
@   3600    IN  MX  0   smtp.secureserver.net
@   3600    IN  MX  10  mailstore1.secureserver.net

; NS Records
@   3600    IN  NS  ns49.domaincontrol.com
@   3600    IN  NS  ns50.domaincontrol.com

답변1

다음 A 레코드를 사용하여 영역 파일 항목을 추가해야 합니다.

themes    3600    IN  A   199.38.116.24

다음을 입력하여 해결되는지 확인할 수 있습니다.

dig themes.ibrogram.com

웹 서버가 이름 기반 호스팅에 맞게 설정되어 있는지 확인해야 합니다. Apache라고 가정하면 다음과 같습니다.

NameVirtualHost *:80

<VirtualHost *:80>
ServerName themes.ibrogram.com
DocumentRoot /path/to/themes
</VirtualHost>

관련 정보