Discloud Docs
English
English
  • πŸ‘‹Welcome
  • Suport
    • ☁️How to Host
      • πŸ€–Bots
        • πŸ”ŒBot
        • 🧩VSCode Extension
        • ⌨️CLI
      • 🌎Website and APIs
        • πŸ”ŒBot
        • 🧩VSCode Extension
        • ⌨️CLI
    • ⌨️Languages
      • 🟨JavaScript
        • πŸ“„Create the package.json
      • 🐍Python
        • πŸ“„Create the requirements.txt
      • β˜•Java
      • πŸ’ŽRuby
        • πŸ“„Create the Gemfile
      • 🐿️Go
      • 🐘Php
      • πŸ¦€Rust
        • πŸ“„Create the Cargo.toml
    • ⛓️Integrations
      • 🌐Your Own Domain
      • πŸ™GitHub and GitLab
      • 🎧Lavalink
      • πŸ’ΎDatabase
        • MongoDB Atlas (mLab)
    • ❓Frequently Asked Questions (FAQ)
      • How to compress my files?
      • Discloud ModMail (Ticket)
      • How do I get my bot's ID?
      • What is the main file?
      • Configuring Puppeteer
      • How to report an offender?
      • Why can't I access my website?
      • Very Heavy BOT
    • βš’οΈCommands
      • How to get API token
      • How to integrate Github
    • 🀲Donations
  • configuration
    • βš™οΈdiscloud.config
      • πŸ“¦APT (Install Packages)
      • πŸ—οΈVERSION (Switch between Versions)
  • πŸ–₯️local environment
    • βš™οΈInstall
      • 🟨JavaScript (NodeJS)
      • 🐍Python
      • πŸ’ŽRuby
      • πŸ¦€Rust
  • API
    • πŸ“‘Using the API
    • πŸ”—Routes
  • About
    • 🎨Discloud Brand
      • Name origin
      • Visual Identity
  • πŸ”—Links
    • 🌎Website
    • πŸ“ŠDisCloud Status
  • πŸ“œLegal
    • πŸ“„Terms of Service (TOS)
Powered by GitBook
On this page
  • Requirements
  • Use your own domain
Edit on GitHub
  1. Suport
  2. How to Host

Website and APIs

PreviousCLINextBot

Last updated 1 year ago

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.

Requirements

To start hosting your site on DisCloud, you need to meet the following requirements:

  • You need to register a subdomain. (You can do this via our Bot using the .sd command or on the our dashboard).

  • You must use port 8080 in your application.

Use your own domain

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!

☁️
🌎
Platinum Plan
discloud.config
Diamond plan or higher
🌐Your Own Domain
πŸ“