Creating Sub-categories in Moodle

Creating sub-categories in Moodle is simple if you are using version 1.5 or above.
Create a category by gicing a name a clicking on the add new category. If you want this to be a sub-category then choose the category from the drop down box as shown in the picture.
There is no need to edit any configuration in the config file.