Domain:Create
This commands invokes several processes: It checks if the domainname is available at the registry, creates the contacthandles in the registry and starts the registration at the registry. For a basic Create command, only a few common parameters are required. For some TLDs special parameters are required in order to register domains. All special parameters start with X-
Required Parameters
Command
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
<domain:create
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.asia</domain:name>
<domain:period unit="y">2</domain:period>
<domain:ns>
<domain:hostObj>ns1.domaindiscount24.net</domain:hostObj>
<domain:hostObj>ns2.domaindiscount24.net</domain:hostObj>
<domain:hostObj>ns3.domaindiscount24.net</domain:hostObj>
</domain:ns>
<domain:registrant>P-JCD21</domain:registrant>
<domain:contact type="admin">P-JCD21</domain:contact>
<domain:contact type="tech">P-JCD21</domain:contact>
<domain:contact type="billing">P-JCD21</domain:contact>
<domain:authInfo>
<domain:pw>2fooBAR</domain:pw>
</domain:authInfo>
</domain:create>
</create>
<extension>
<keysys:create xmlns:keysys="http://www.key-systems.net/epp/keysys-1.0">
<keysys:domain>
<keysys:asia-ced-accept-trustee-tac>1</keysys:asia-ced-accept-trustee-tac>
<keysys:asia-maintainerurl>http://www.example.com</keysys:asia-maintainerurl>
<keysys:whois-rsp>Example</keysys:whois-rsp>
<keysys:whois-url>http://www.example.com</keysys:whois-url>
</keysys:domain>
</keysys:create>
</extension>
<clTRID>3F169D90-411F-11DE-84A7-80000000274B</clTRID>
</command>
</epp>
Response
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:creData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>example.com</domain:name>
<domain:crDate>2009-04-22T13:04:21.0Z</domain:crDate>
<domain:exDate>2011-04-22T13:04:21.0Z</domain:exDate>
</domain:creData>
</resData>
<trID>
<clTRID>3F169D90-411F-11DE-84A7-80000000274B</clTRID>
<svTRID>17EAB41A-2F3E-11DE-A3B9-B0E6A3917139</svTRID>
</trID>
</response>
</epp>
IDN Registration Example 1
Command
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
<domain:create
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>xn--idn-beispiel--nfba.de</domain:name>
<domain:period unit="y">1</domain:period>
<domain:ns>
<domain:hostObj>ns1.domaindiscount24.net</domain:hostObj>
<domain:hostObj>ns2.domaindiscount24.net</domain:hostObj>
<domain:hostObj>ns3.domaindiscount24.net</domain:hostObj>
</domain:ns>
<domain:registrant>P-JCD21</domain:registrant>
<domain:contact type="admin">P-JCD21</domain:contact>
<domain:contact type="tech">P-JCD21</domain:contact>
<domain:contact type="billing">P-JCD21</domain:contact>
<domain:authInfo>
<domain:pw>2fooBAR</domain:pw>
</domain:authInfo>
</domain:create>
</create>
<extension>
<keysys:create xmlns:keysys="http://www.key-systems.net/epp/keysys-1.0">
<keysys:domain>
<keysys:idn-language>GER</keysys:idn-language>
</keysys:domain>
</keysys:create>
</extension>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
Response
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:creData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>xn--idn-beispiel--nfba.de</domain:name>
<domain:crDate>2009-04-22T13:04:21.0Z</domain:crDate>
<domain:exDate>2011-04-22T13:04:21.0Z</domain:exDate>
</domain:creData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>27ECB41A-3G3E-12FE-A4B9-B0A6A3937139</svTRID>
</trID>
</response>
</epp>
IDN Registration Example 2
Command
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command>
<create>
<domain:create
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>xn--idn-beispiel--nfba.de</domain:name>
<domain:period unit="y">1</domain:period>
<domain:ns>
<domain:hostObj>ns1.domaindiscount24.net</domain:hostObj>
<domain:hostObj>ns2.domaindiscount24.net</domain:hostObj>
<domain:hostObj>ns3.domaindiscount24.net</domain:hostObj>
</domain:ns>
<domain:registrant>P-JCD21</domain:registrant>
<domain:contact type="admin">P-JCD21</domain:contact>
<domain:contact type="tech">P-JCD21</domain:contact>
<domain:contact type="billing">P-JCD21</domain:contact>
<domain:authInfo>
<domain:pw>2fooBAR</domain:pw>
</domain:authInfo>
</domain:create>
</create>
<extension>
<idn:language xmlns:idn="urn:ietf:params:xml:ns:idn-1.0">ger</idn:language>
</extension>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
Response
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:creData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
<domain:name>xn--idn-beispiel--nfba.de</domain:name>
<domain:crDate>2009-04-22T13:04:21.0Z</domain:crDate>
<domain:exDate>2011-04-22T13:04:21.0Z</domain:exDate>
</domain:creData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>17EAC42B-5G3D-21SE-U3N8-C0E7A3918135</svTRID>
</trID>
</response>
</epp>