> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/domains/portfolio/update-domain-nameservers.md).

# Update domain nameservers

Set nameservers for a specified domain.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/domains/v1/portfolio/{domain}/nameservers" method="put" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
