Sign In
Sign In

Linking a Domain

Updated on 29 October 2024

You can connect your domain name to a S3 Storage bucket. This way, you won’t need to specify the bucket name when accessing the files.

So, instead of these URLs:

https://s3.hostman.com/bucket_name/file_name
https://s3.hostman.com/bucket_name/directory_name/file_name

you can use URLs like these:

https://your.domain.tld/file_name
https://your.domain.tld/directory_name/file_name

Note that when accessing the domain (https://your.domain.tld/), you will not see a file listing or any other index page. The URL must specify the path to a specific file.

You need to use a third-level domain or higher, such as hostman.mydomain.com

 

If your domain uses Cloudflare for proxying, disable it before linking the domain. Wait 5-10 minutes for the changes to take effect, link the domain following the instructions below, and re-enable proxying.

To link a domain:

  1. Create a CNAME for the domain with the value s3.hostman.com. If the domain uses Hostman name servers, you can do it in the Domains section of your Hostman control panel.
  2. Wait for 15-20 minutes for the changes to take effect.
  3. Go to the S3 Storage section and click on the bucket.
  4. In the Domains tab, click Link domain.
  5. Enter your domain name and click Link domain.

58a9703e B8a8 4bd9 Aa0f 1cb1f7e26da7

If you leave the Issue SSL certificate option checked, we will automatically generate and install a Let's Encrypt SSL certificate on your domain and renew it automatically one week before it expires.

Was this page helpful?
Updated on 29 October 2024

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support