Support for multiple website domain names
If you want to support multiple domain names for your website, such as
Create a bucket named
www.example.comand upload your data to it.
Set up an alias for the bucket through your provider.
www.example.com CNAME www.example.com.website.yandexcloud.net
Set up a redirect from the
example.comdomain to the
www.example.comdomain on the provider side.
If for some reason you can't or don't want to redirect the domain, you can do the following:
- Create a VM with an external IP address.
- Configure the
example.comdomain to use the IP address of the VM.
- Set up all necessary aliases on the provider side.
- Install a web server on the VM and configure a redirect to the Object Storage bucket.