πWebsite and APIs
Last updated
Last updated
On Discloud, any app that uses a port and requires external access through it to be accessed is considered a site. This includes bots with dashboards, dashboards, APIs, static and dynamic sites, and many othersβ¦
To allow external access to your app, Discloud offers the option to create a custom subdomain. This subdomain redirects traffic through a proxy to port 8080 of your app, allowing you and users to access your site securely and reliably.
You need a Platinum Plan or higher.
You need to register a subdomain. (You can do this via our Bot using the
.sd
command or on the ourdashboard
).
You must use port
8080
in your application.Put your subdomain in the discloud.config file. To insert your subdomain, simply put your subdomain on the
ID=subdomain
line, replacing "subdomain
" with just the name of your subdomain(do not type the .discloud.app part, it is not necessary).
Do you have a Diamond plan or higher? Learn how to use your own domain.com on Discloud!