> 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/agency-hosting/domains/link-domain-to-website.md).

# Link domain to website

Links a domain to the specified Agency Plan website so it can serve traffic for that domain.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/agency-hosting/v1/websites/{website\_uid}/domains" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
