# Deploying CommandBox

CommandBox may also be used in production or continuous deployments, since it allows you to orchestrate your server environment. This eliminates dependency on hardware, and makes your CFML applications more portable, as a whole.&#x20;

{% hint style="info" %}
For advanced server configurations, be sure to check out the [`CFConfig` module](https://cfconfig.ortusbooks.com/).
{% endhint %}

Since the startup of a CommandBox server allows you specify a host and server port, you can easily bind your server to a machine IP address and specify which port it should serve the application on. This allows you to proxy traffic to the application from IIS, Apache, or NGINX and even allows you to serve traffic directly on HTTP port 80 or 443, if you choose.

Container-based deployments are also supported, with official Docker Images and a buildpack for Heroku/Dokku.

![Docker Logo](/files/-LA-UiMgnMfRYS-CaNhq)

[*Click to learn more.*](/deploying-commandbox/docker.md)

![Heroku Logo](/files/-LA-UnGSuU58ejX45FQQ)

[*Click to learn more.*](/deploying-commandbox/heroku.md)

![Amazon Lightsail](/files/-LlFHPmIBNiXTy4xMjP3)

[*Click to learn more.*](/deploying-commandbox/amazon-lightsail.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://commandbox.ortusbooks.com/deploying-commandbox.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
