Website and APIs
Last updated
Was this helpful?
Last updated
Was this helpful?
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 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.
You need a or higher.
Put your subdomain in the 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 ? Learn how to use your own domain.com on Discloud!