<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Domains-domainName-hosts%3APUT</id>
		<title>Domains-domainName-hosts:PUT - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Domains-domainName-hosts%3APUT"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;action=history"/>
		<updated>2026-05-16T08:33:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;diff=1155&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 90</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;diff=1155&amp;oldid=prev"/>
				<updated>2014-01-31T18:25:05Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 90&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:25, 31 January 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;diff=1154&amp;oldid=prev</id>
		<title>Venzi.iliev: /* Example of replacing the hosts */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;diff=1154&amp;oldid=prev"/>
				<updated>2013-12-20T15:08:28Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Example of replacing the hosts&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:08, 20 December 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Response'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Response'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;200 &lt;/del&gt;No Content&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;204 &lt;/ins&gt;No Content&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Venzi.iliev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;diff=1021&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 87</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;diff=1021&amp;oldid=prev"/>
				<updated>2013-11-15T21:22:27Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 87&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:22, 15 November 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;diff=1020&amp;oldid=prev</id>
		<title>Venzi.iliev: /* Request Body */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Domains-domainName-hosts:PUT&amp;diff=1020&amp;oldid=prev"/>
				<updated>2013-10-11T14:12:12Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Request Body&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= PUT /domains/''{domainName}''/hosts =&lt;br /&gt;
Replaces the hosts list of a domain. Host names must be valid names for the domain, e.g. ns1.example.com is valid host for the domain example.com. Creating hosts will add the proper addresses to the root DNS servers of the registry,&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;PUT /domains/''{domainName}''/hosts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
{{DomainName}}&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
Content-Type: application/json&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
The hosts for the domain.&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
&lt;br /&gt;
; hosts - ''list''&lt;br /&gt;
: The list of hosts&lt;br /&gt;
&lt;br /&gt;
; name - ''string''&lt;br /&gt;
: The host name&lt;br /&gt;
&lt;br /&gt;
; address - ''string''&lt;br /&gt;
: The IP address of the host.&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;204 No Content&lt;br /&gt;
: Returned on success&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
: No domain records found for the given domain name.&lt;br /&gt;
&lt;br /&gt;
;500 Internal Server Error&lt;br /&gt;
: An error has occurred with the registry,&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
The hosts to set for the domain.&lt;br /&gt;
&lt;br /&gt;
== Example of replacing the hosts ==&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
Content-Length: 0&lt;br /&gt;
PUT /domains/example.com/hosts&lt;br /&gt;
&lt;br /&gt;
{&amp;quot;hosts&amp;quot;: [{&lt;br /&gt;
   &amp;quot;name&amp;quot;: &amp;quot;ns1.ng-test-fitnesse-20130202-0605.com&amp;quot;,&lt;br /&gt;
   &amp;quot;address&amp;quot;: &amp;quot;133.45.67.1&amp;quot;}, {&lt;br /&gt;
   &amp;quot;name&amp;quot;: &amp;quot;ns2.ng-test-fitnesse-20130202-0605.com&amp;quot;,&lt;br /&gt;
   &amp;quot;address&amp;quot;: &amp;quot;133.45.67.2&amp;quot;}]} &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
200 No Content&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Domain Name Registration|Domain Name Registration API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Domain Name Registration API]]&lt;/div&gt;</summary>
		<author><name>Venzi.iliev</name></author>	</entry>

	</feed>