[Yandex Cloud documentation](../../../../index.md) > [Yandex Object Storage](../../../index.md) > [Step-by-step guides](../../index.md) > Hosting static websites > Support for multiple domain names > Overview

# Support for multiple domain names

This guide describes how to set up support for a website's primary domain name and its secondary domain, e.g., `example.com` and `example2.com`. You will create [buckets](../../../concepts/backup.md) for your primary and secondary domains. In the first bucket, you will configure [static website hosting](../../../concepts/hosting.md) on your primary domain name; in the second bucket, you will enable redirection from the secondary domain name to the first bucket. You can use [Yandex Cloud DNS](../../../../dns/index.md) to manage your domains.

You can configure support for multiple domain names for a static website in Object Storage using one of these tools:
* [Management console, CLI, API](console.md): Create your infrastructure step by step from the Yandex Cloud management console, CLI, or API.
* [Terraform](terraform.md): Streamline creating and managing your resources using the _infrastructure as code_ (IaC) approach. Download a Terraform configuration example from the GitHub repository and deploy your infrastructure using the [Yandex Cloud Terraform provider](../../../../terraform/index.md).

### Useful links {#see-also}

* [How do I fix an incorrect MIME type of objects when uploading them to a bucket?](../../../qa.md#qa-mime-type)
* [Setting up hosting](../setup.md)
* [Custom domain](../own-domain.md)
* [Configuring HTTPS](../certificate.md)