Friday, August 9, 2013

New Features in BitNami Cloud Hosting: Run Multiple Installs of One App, URL Configuration

We have just added two frequently requested features to BitNami Cloud Hosting: URL configuration and the ability to run multiple instances of a single app, such as WordPress, on a single server in the cloud.

URL Configuration

By default, most BitNami applications are configured to use a prefix in the URL. For example, WordPress is served at example.bitnamiapp.com/wordpress, SugarCRM at example.bitnamiapp.com/sugarcrm and Magento at example.bitnami.com/magento. In some circumstances, you may want your URLs to be structured differently. In the case of the previously listed applications, you may want to have something like blog.example.bitnamiapp.com, crm.example.bitnamiapp.com and shop.example.bitnamiapp.com (or example.com instead of example.bitnamiapp.com if you have already assigned an external custom domain to your server).

While BitNami Cloud Hosting has always allowed you to change the URL, until now you had to access the machine and execute commands in the terminal. This required several steps, was error-prone and could be intimidating for people who are not familiar with UNIX. Now, when you create a new server and add applications, you can select between using the prefix configuration or the subdomain configuration for the URL (only if the application already supports it) by clicking on the application icon and editing its properties. Please note that, currently, if you select a subdomain configuration, you will not be able to change it to the prefix configuration later.


Once the server is ready, you will be able to view the URLs in the new Applications tab. In this tab, you can fine tune your URL layout, for instance changing url-demo.bitnamiapp.com/magento to shop.url-demo.bitnamiapp.com.


If you did not assign an external custom domain for your application, you will need to keep the domain "demo.bitnamiapp.com" (in the example) in the URL.

For further information on this feature, please visit our documentation. Also, note that this feature is currently available for Drupal, Joomla, Magento, SugarCRM and WordPress. It is coming soon for the rest of the BitNami applications.

Run Multiple Instances of The Same Application in One Server

One of our most popular feature requests was the ability to run more than one instance of a particular application, such as WordPress, in a single server. We are happy to share that this is now possible in BitNami Cloud Hosting. This feature is currently available for WordPress, with more apps to come.

To use this new feature, just create a new server, click the 'add applications' button and then choose WordPress and click to add it. Repeat the process until you have as many WordPress instances as you would like.

In connection with this feature, we have introduced the concept of 'nicknames' for applications. By default, each WordPress installation will be identified as wordpress, wordpress1, wordpress2, etc. This identifier is what we call the 'nickname' and it will be used for the database name and user, the installation directory and the default URL. The 'nickname' is set before launching the server. You can select a different 'nickname' before the server is built but not after the server is launched.


After you have launched your server, you can customize the URL for each WordPress instance in the Applications tab. In the Applications tab, the 'nickname' is shown in square brackets and it cannot be edited, but you can edit the URL.




As mentioned, we will be adding support for these features to all of the applications supported in BitNami Cloud Hosting over time. Enjoy!

If you are not already using BitNami Cloud Hosting, sign up for a free developer account.