Lunalytics icon indicating copy to clipboard operation
Lunalytics copied to clipboard

[Feature]: Ability to set domain name for status page with base path at the root

Open Buco7854 opened this issue 6 months ago • 4 comments

What do you imagine 💭

Currently status page is on /status/test for example. What would be nice is to be able to setup something like https://status.example.com. Currently at best you could have https://status.example.com/status/test

I have checked the other issues and pull-requests for similar issues.

  • [x] I've checked existing issues
  • [x] I've checked existing pull-requests

Buco7854 avatar Jul 08 '25 21:07 Buco7854

You can use "default" as the "Status Page URL" and it'll show up on https://status.example.com

KSJaay avatar Jul 08 '25 22:07 KSJaay

Just tried it, thank you did not actually see it, I apologize. Altough that is nice there is still an issue. If you monitor multiple domains you cannot have https://status.example1.com and https://status.example2.com since the /default route is already set for first one.

What uptime kuma does is that you configure the domain(s) from which the status page is accessible.

(Noms de domaine = Domain names) Image That is, I think, the only way to allow multiple domains.

Buco7854 avatar Jul 08 '25 23:07 Buco7854

Glad that it works for a single domain, for multiple domains that's something I would need to explore a bit more and try to understand how that would work. From a high level perspective we'd need to setup Lunalytics to interact with proxy manager possibly?

I will add this to the list of features for the future, but as of right now it's not high on the list of features to implement. Currently working on the next major version and then I may start looking into this.

KSJaay avatar Jul 08 '25 23:07 KSJaay

Sure no problem. Regarding how to implement i would just make it so that the user must provide a path for the status page and one or multiple domains. That way the uniqueness would be a combination of domain and path.

I did not look into the code but basically if the path match a status page and the requested Host does too then display status page

Buco7854 avatar Jul 09 '25 00:07 Buco7854