You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Set Otoroshi admin and routes domains at creation
3
+
description: You can now set custom domains for Otoroshi admin interface and routes when creating the add-on on Clever Cloud
4
+
date: 2025-12-28
5
+
tags:
6
+
- addons
7
+
- otoroshi
8
+
authors:
9
+
- name: Sébastien Allemand
10
+
link: https://github.com/allemas
11
+
image: https://github.com/allemas.png?size=40
12
+
- name: David Legrand
13
+
link: https://github.com/davlgd
14
+
image: https://github.com/davlgd.png?size=40
15
+
excludeSearch: true
16
+
---
17
+
18
+
When you deploy an Otoroshi add-on on Clever Cloud, you can access its admin interface through a `<random_chars>-otoroshi.services.clever-cloud.com` domain. When you create a new route, it starts with a `app-id.cleverapps.io`. You can now set custom domains at creation through the `base-domain` and `routes-domain` options in Clever Tools:
These domains' DNS configuration needs to point to Clever Cloud's servers. For example, if the Otoroshi add-on is deployed in the `par` (Paris) region, you need to create CNAME records pointing to `domain.par.clever-cloud.com.`.
25
+
26
+
-[Learn more about Otoroshi on Clever Cloud](/doc/addons/otoroshi/)
27
+
-[Learn more about DNS and custom domains on Clever Cloud](/doc/administrate/domain-names/)
Copy file name to clipboardExpand all lines: content/doc/addons/otoroshi.md
+26-2Lines changed: 26 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,15 +55,29 @@ An initial account has been created, change the password at first login (Securit
55
55
Learn more about Otoroshi with LLM on Clever Cloud: https://www.clever.cloud/developers/doc/addons/otoroshi/
56
56
```
57
57
58
+
By default we use Clever Cloud's domain names for both the admin interface and the routes you'll manage through Otoroshi, but you can set custom domains at creation through the `base-domain` and `routes-domain` options that you can use independently:
These domains' DNS configuration needs to point to Clever Cloud's servers. For example, if the Otoroshi add-on is deployed in the `par` (Paris) region, you need to create CNAME records pointing to `domain.par.clever-cloud.com.`.
67
+
58
68
Refer to the [Clever Tools documentation](/doc/cli/addons/) for more details on add-on management.
59
69
70
+
> [!TIP] Routes management
71
+
> When you create routes in Otoroshi, they will use the routes domain you set at creation, or `app-id.cleverapps.io`. But you can add as many custom domains as you need on the underlying Java application and use them in Otoroshi routes.
72
+
60
73
## Version management
61
74
62
75
To change the version of an Otoroshi add-on on Clever Cloud, you can use the `CC_OTOROSHI_VERSION` environment variable of its Java Application and rebuild it. But there are various ways to do it simpler with [Clever Tools](/doc/cli/):
@@ -81,7 +95,17 @@ clever otoroshi version update myOtoroshi <new_version>
81
95
82
96
## Accessing the Otoroshi with LLM interface
83
97
84
-
Once you created your add-on, open the management URL or look for `CC_OTOROSHI_URL` value in the Otoroshi with LLM dashboard from the Console. The first time you connect, change the initial password (Security -> Administrators -> Edit user).
98
+
Once you created your add-on, open the management URL in the Otoroshi with LLM dashboard from the Console. You can also use Clever Tools to open Java underlying application logs or the Otoroshi web UI directly:
99
+
100
+
```bash
101
+
# Enable Operators commands
102
+
clever features enable operators
103
+
104
+
clever otoroshi open logs myOtoroshi
105
+
clever otoroshi open webui myOtoroshi
106
+
```
107
+
108
+
The first time you connect, change the initial password (Security -> Administrators -> Edit user).
85
109
86
110
*[Learn how to use Otoroshi](https://maif.github.io/otoroshi/manual/how-to-s/index.html)
0 commit comments