This is our final installment of the 12 Tips of (CommandBox) Christmas and we hope you've learned some new tricks. In this last segment, we'll cover setting up custom error pages for your CommandBox-based web servers. This applies to all CF engines that you start and can help you add a bit of polish to a CommandBox-powered site you want to make public.
CommandBox's server started as a development tool, but has now grown to a fully-functional and performant web server that can handle most any site. You can customize the error page that CommandBox servers return when a missing file is requested. You can have a setting for each status code including a default error page to be used if no other setting applies.