Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Add multiple domain support #14

Open
BenNotix opened this issue Apr 12, 2022 · 3 comments
Open

Add multiple domain support #14

BenNotix opened this issue Apr 12, 2022 · 3 comments
Labels
🤯 feature request Features requested and compatible for implementing

Comments

@BenNotix
Copy link

I think it would be interesting to have the ability to manage multiple redirect domains from a single Pckw instance. For example, we could manage all domains of the instance as administrators from the panel (see issue #13). This can be useful in many situations, instead of having to host several instances for several domains.

@Just-Moh-it
Copy link
Owner

Actually, you could point the domain to the Pckd instance's port using something like Nginx proxy pass. For example, having Pckd running on port 4000 and pointing nginx to proxy pass both domains to the same port, will make it work. The frontend dynamically queries the backend based on the current domain you're requesting from.

@Just-Moh-it
Copy link
Owner

However, I guess you're asking for different behavior based on different domains. Like you could use a common account, and have the domains configured such that /something requested through one domain returns url1 redirect and when requested through another domain redirects to url2.

This is definitely a great addition, and will be implemented once the admin panel is all setup. It will also help to stand out among different URL shorteners out there. If that's what you're asking for, thanks for the suggestion

@Just-Moh-it Just-Moh-it added the 🤯 feature request Features requested and compatible for implementing label Apr 13, 2022
@DrMxrcy
Copy link

DrMxrcy commented May 2, 2022

+1 On this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤯 feature request Features requested and compatible for implementing
Projects
None yet
Development

No branches or pull requests

3 participants