How to create a DNS alias for DreamObjects buckets

DreamObjects allows you to create aliases that point to your buckets using CNAME records. Using a CNAME record in this way makes your links look more professional as they do not show the full ‘objects-us-west-1.dream.io’ portion of the URL.

For example, you can use a CNAME record to map a DreamObjects bucket URL to a domain under your control, like media.example.com. This way, a URL for your object would be media.example.com/object rather than bucket.objects-us-west-1.dream.io/object.

Examples of CNAME records and bucket

CNAME Record DH Bucket to which it points
bucket.mwod.net bucket.objects-us-west-1.dream.io
bucket.mwod.net/object bucket.objects-us-west-1.dream.io/object

If you're using 3rd party DNS

If you’re using a third-party DNS, be sure to manually copy the CNAME from the panel to the name servers since it won’t automatically propagate. 

Once the record is created, you can see it on the (Panel > ‘Domains’ > ‘Manage Domains’) page. Click the ‘DNS’ link under your domain to view the record:

../../_images/03_DreamObjects_CNAME.PNG
 

Adding a DreamObjects CNAME record

You can create, delete and modify your DreamObjects CNAME records within the panel using the built in interface. The interface includes:

  • A section for permissions
  • A link to the bucket
  • A section for setting up aliases as subdomains of domains on the Account
  1. Navigate to the (Panel > Cloud Services’ > ‘DreamObjects’) page.

    ../../_images/01_DreamSpeed_CDN.fw1.png
  2. To the right of your bucket, click the ‘Change Settings’ link.

    ../../_images/02_DreamObjects_CNAME1.png
  3. Toggle the permissions option to either ‘PRIVATE’ or ‘PUBLIC’.

  4. Enter your alias and choose the domain you wish to assign this to.

  5. Click the Save Settings button to save.

Linking a file using the CNAME record

The following example uses the CNAME about (testing.dreamobjectstest.com) to link an image file:

http://testing.dreamobjectstest.com/image.png

If your image is in a subdirectory (in DreamObjects), you must specify the full path. This example shows that the image.png file is in the /savedimages/ folder.

http://testing.dreamobjectstest.com/savedimages/image.png

Did this article answer your questions?

Article last updated .