More actions
Add Subdomains and Custom Domains page |
→Subdomains: Add section about removing subdomains |
||
Line 5: | Line 5: | ||
nest subdomain add <name> | nest subdomain add <name> | ||
where <code>name</code> is the name of the subdomain you want to add. If your username is <code>orpheus</code>, and you'd like to configure <code>drawing.orpheus.hackclub.app</code>, then you would run <code>nest subdomain add drawing</code>. The Nest CLI will automatically configure it in the system and add a block to your Caddyfile to get you started. See [[Caddy]] for more information about the Caddyfile. | where <code>name</code> is the name of the subdomain you want to add. If your username is <code>orpheus</code>, and you'd like to configure <code>drawing.orpheus.hackclub.app</code>, then you would run <code>nest subdomain add drawing</code>. The Nest CLI will automatically configure it in the system and add a block to your Caddyfile to get you started. See [[Caddy]] for more information about the Caddyfile. | ||
If you'd like to remove a subdomain from the configuration, you can also run | |||
nest subdomain remove <name> | |||
== Custom Domains == | == Custom Domains == | ||
Custom domains are a feature that we have not yet implemented - it's coming soon, though! | Custom domains are a feature that we have not yet implemented - it's coming soon, though! |
Revision as of 00:38, 27 March 2024
While a subdomain of https://hackclub.app is automatically configured for you when you sign up for Nest, you'll need to use the Nest CLI to configure new subdomains under your user subdomain (https://<username>.hackclub.app).
Subdomains
To configure any subdomains of your user subdomain of hackclub.app, you can simply run the following command:
nest subdomain add <name>
where name
is the name of the subdomain you want to add. If your username is orpheus
, and you'd like to configure drawing.orpheus.hackclub.app
, then you would run nest subdomain add drawing
. The Nest CLI will automatically configure it in the system and add a block to your Caddyfile to get you started. See Caddy for more information about the Caddyfile.
If you'd like to remove a subdomain from the configuration, you can also run
nest subdomain remove <name>
Custom Domains
Custom domains are a feature that we have not yet implemented - it's coming soon, though!