How to allow two domain names to access the same bucket

Suppose I have a bucket named img.abc.com and the domain name img.abc.com has been configured with a dns cname record and can be accessed normally. If I need the domain name img-test.abc.com, I can also access the bucket img.abc.com. What should I do? Please tell me, thank you

2 Replies

If you setup a second CNAME pointing img-test to the same bucket as img, you should still be able to access your bucket using either URL. That said, each bucket only allows you to upload a single SSL Certificate to enable HTTPS traffic.

As such, you will likely need to setup a Wildcard SSL certificate for the primary domain and modify your ACL accordingly:

Unfortunately using a wildcard cert doesn't seem to work, except for the domain that exactly matches the bucket name. For other CNAME entries, the default Linode SSL appears to get used so you get a browser error.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct