- Server operating system version
- debian
- Plesk version and microupdate number
- 18.0.66
Hello,
I'm running Plesk Obsidian on a Debian VPS.
I have a Linktree-like service hosted on my Plesk server.
My main site is example.com where my clients have their profile page accessible via example.com/hub/clientname/
I want to allow my clients to use their own domain with a 'link' subdomain.
For example, if my client owns client1.com, they set up a CNAME:
link.client1.com → example.com
When a visitor accesses link.client1.com, I want them to be automatically redirected to example.com/hub/client1/
The DNS works correctly (CNAMEs point to my server), but I can't configure the automatic redirection to transform:
link.client1.com → example.com/hub/client1/
link.client2.com → example.com/hub/client2/
etc.
I've tried:
1. Nginx configuration via additional directives
2. Domain aliases in Plesk (but no wildcard possible)
3. PHP redirection
How can I configure this dynamic redirection on my Plesk server?
Thank you in advance!
Have a great day.
Feel free to ask if you need any additional information.
I'm running Plesk Obsidian on a Debian VPS.
I have a Linktree-like service hosted on my Plesk server.
My main site is example.com where my clients have their profile page accessible via example.com/hub/clientname/
I want to allow my clients to use their own domain with a 'link' subdomain.
For example, if my client owns client1.com, they set up a CNAME:
link.client1.com → example.com
When a visitor accesses link.client1.com, I want them to be automatically redirected to example.com/hub/client1/
The DNS works correctly (CNAMEs point to my server), but I can't configure the automatic redirection to transform:
link.client1.com → example.com/hub/client1/
link.client2.com → example.com/hub/client2/
etc.
I've tried:
1. Nginx configuration via additional directives
2. Domain aliases in Plesk (but no wildcard possible)
3. PHP redirection
How can I configure this dynamic redirection on my Plesk server?
Thank you in advance!
Have a great day.
Feel free to ask if you need any additional information.