Knowledge base
How to connect your domain to OCS service account?
Posted by on 09.05.2013 14:42

If you want your files or objects stored in the OCS were visible under your own domain, you must perform the following steps. Also remember that during set up, you will need access to the DNS management panel that handles your domain (usually the panel is made available by the supplier from whom you bought the domain).

  1. Log in through Oktawave admin panel to the OCS service.
  2. Create the container to which you want to connect your domain, you can give it any name, such as my-container.
  3. Set appropriate permissions on the container. If you want everyone to have access to its contents, make sure that the permissions of the container are set to public.
  4. Using the admin panel upload any test file (such as file.jpg) to container that was set up in the second point. 
  5. Click on the file in the admin panel and copy (to Notepad for example) what is displayed on the right side of the file in the direct URL field. It should look similar to this address:
  6. Copy to clipboard the entire variable starting with AUTH expression. In our example: AUTH_867101b1-566b-43d8-b931-e5f9853b7297.
  7. Now log in to the management panel of your domain and create a new entry in it (always a CNAME) and associate it with the previously copied variable. It should look something like this: CNAME

That's all, now you can try to open the file in a browser using the address:


What else should I look for?

  1. Remember that this solution will work for both plain HTTP and HTTPS, but if you want to enter in your browser, it will displays information about incorrect SSL certification. Therefore it is best to download files or objects only via HTTP.
  2. If you want to use the authentication mechanism to access specific containers, keep the following points:
  • The authorization process and retrieve of the token should be carried out using the encrypted transmission using your Unencrypted connection to OCS (over HTTP) is supported, but totally not recommended during authentication, primarily due to the security of your data.
  • Token acquired in the encrypted HTTPS authentication can be pass on to the application or the browser client and use it to download file, using your own domain address assigned to the container in the OCS via unencrypted HTTP connection. The resulting token is valid for a few minutes, and the expiration must be handled by the re-authorization, and download of a new token.
(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.