Imagine you are on vacation in the middle of Australia, and you want to upload some photos on your website so that all the family knows you are alive and having BIG fun. Except. In the middle of nowhere. There is almost no Internet.
Luckily, Boomla works in both Local and Offline modes. Let’s see the differences.
In Local mode, Boomla runs on your machine, you are editing your website
locally. Your local website runs on a
boomla.me subdomain, for example,
amazing.boomla.me. Your entire website is on your computer, but your
computer doesn’t know where the domain
amazing.boomla.me is to be found.
For that, it relies on the Internet, a so called
DNS or Domain Name Service,
that tells your browser to look for the website on your own machine.
Without an Internet connection, your browser won’t find it.
That should be okay even if you are on a very slow connection, because looking up the domain takes very little data. On the other hand, if your connection is super limited, or you have no connection at all (like on an airplane), you can also work in Offline mode.
In Offline mode, you need no connection at all. To achieve this, you have
to configure your computer to know where
lives. It’s a simpe text file you need to edit, though it’s a bit more
complicated due to access rights.
Let’s start with installing Boomla locally.
Here is a step-by-step guide. I’ll assume you already have a public Boomla website which you want to download for working on it; and that you want to upload it again once you are done.
amazing.boomla.me, or whatever.
amazing.boomla.me. You can edit it as usual.
Once you are done with editing your website locally, you can upload it back to the Boomla Cloud for others to see. This is called pushing your website.
boomla.me), go to your website group’s website list, and find the up arrow next to the desired website for pushing it.
Voila, your website should be live for all to see!
Boomla optimizes this for you. First, you always ever upload new modifications. If you website already contained 1000 images, and you add a new one, only that new image will be uploaded.
Second, if you partially upload changes, but the connection breaks, that’s okay. The next time you retry, you will continue where you left off.
You’ll need to tell your OS that
boomla.me and any website you want to use
offline lives on your machine, that is, on the IP address
For that you need to edit your
hosts file, which is a simple text file.
On Windows, you can find it at
You will typically run into access control issues, so I suggest you copy the
file onto your desktop before making any changes, than make those changes and
copy it back.
You have to edit it with a decent text editor. I suggest you install and use Sublime Text. (MS Word is not a text editor. Notepad is not decent.)
The format of this file is super simple. For the above example, you’d have to append the following lines to the bottom of the hosts file:
127.0.0.1 boomla.me 127.0.0.1 ide.boomla.me 127.0.0.1 amazing.boomla.me
The lines start with an IP address (always
127.0.0.1), followed by some spaces
or tabs, followed by the domain without any
http:// or other path fragments.
In the middle, you can use as many spaces or tabs as you like.
Make sure to replace
amazing.boomla.me with your domain!
ide.boomla.me is a built-in IDE, that is, an Integrated Developer Environment
that ships with Boomla, which allows you to work with your website’s
filesystem. If you want to use it or not, just add this line anyway.
Save, then copy the hosts file back into the directory
Note that Chrome will give you an error message if you want to visit any website in offline mode, even if it lives on your machine. The simplest solution: when working offline, use Firefox.