--- title: "도메인 생성" slug: "networking-globaldns-record-createdomain" tags: ["Global DNS", "Record"] updated: 2026-09-17T09:16:52Z published: 2026-09-17T09:16:52Z canonical: "api.ncloud-docs.com/networking-globaldns-record-createdomain" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 도메인 생성 Classic/VPC 환경에서 이용 가능합니다. 지정한 조건에 따라 도메인을 생성합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /dns/v1/ncpdns/domain | ### 요청 헤더 Record API에서 공통으로 사용하는 헤더에 대한 정보는 [Record API 요청 헤더](/docs/networking-globaldns-record#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 바디 요청 바디는 [DomainCreateRequest](/docs/common-apidatatype-domaincreaterequest#%ED%95%84%EB%93%9C)를 참조해 주십시오. ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://globaldns.apigw.ntruss.com/dns/v1/ncpdns/domain' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --data '{ "name": "domain001.com", "comment": true }' ``` ## 응답 응답 형식을 설명합니다. ### 응답 상태 코드 Record API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Record API 응답 상태 코드](/docs/networking-globaldns-record#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 오류 코드 예시 오류 코드 예시는 다음과 같습니다. ``` { "result": "FAIL", "error": { "errorCode": "X00006", "message": "입력하신 도메인명은 이미 등록되어 있습니다. 고객님이 소유 또는 관리 하는 도메인이 확실하신 경우 고객센터로 문의하여 주시기 바랍니다.", "devMessage": "입력하신 도메인명은 다른사용자에 의해서 이미 등록되어 있습니다.고객님이 소유 또는 관리 하는 도메인이 확실하신 경우 고객센터로 문의하여 주시기 바랍니다." } } ```