Pckd
Pckd copied to clipboard
Add multiple domain support
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.
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.
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
+1 On this!