mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-18 12:50:46 -05:00
Add additional domains? #285
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maietta on GitHub (May 1, 2025).
I can't seem to find a way to add additional domains to this software so that I can tunnel with them.
Are multiple domains supported? If so, how?
@tannkosten commented on GitHub (May 1, 2025):
It is supported
https://forum.hhf.technology/t/adding-multiple-domains-to-your-pangolin-stack/563
@maietta commented on GitHub (May 1, 2025):
Absolutely pathetic that I have to sign up for a forum to see this. It wasn't in the docs, either. So, I've had Grok clean it up for others to find.
Adding Multiple Domains to Your Pangolin Stack
This feature enables managing resources across multiple domains from a single Pangolin instance. Below are two methods to add domains: an automated script (recommended) and manual configuration.
Method 1: Using the Automated Script (Recommended)
The automated script simplifies domain management by handling formatting, validation, and stack restarts.
Step 1: Download the Domain Management Script
add_domain.shto your Pangolin installation directory:Step 2: Add Domains Using the Script
Run the script to add domains to your Pangolin configuration:
The script will:
After the stack restarts, refresh the Pangolin UI to see the new domains.
Script Benefits:
./config/config.yml.bak).Step 3: Configure DNS Records
For each domain:
Arecords pointing to your Pangolin server’s IP address.*.your-domain.comDNS records.Step 4: Create Resources on Different Domains
Verification
Ensure:
Method 2: Manually Edit the Configuration File
Step 1: Edit the Configuration File
appsection and verify the main dashboard URL.domainssection (if not present) with entries for each domain. Example:Common Issues and Troubleshooting
Notes
./config/config.yml.bakbefore changes.For further assistance, refer to the Pangolin documentation or share logs in this issue.
People should not have to sign up for a forum to see the instructions. They should only have to sign up to be able to reply.
@miloschwartz commented on GitHub (May 2, 2025):
It's not super clear and we need to eventually add this to the UI but it's pretty easy to add multiple domains via the config file:
https://docs.fossorial.io/Pangolin/Configuration/config
Look at the
domainssection.