Panel link for clients
Panel link for clients
Hello, I'm trying to set for every new created user to get the link for keyhelp panel but automaticly without manually making subdomain and redirecting it to my panel link.Is it possible somehow to be domain.com/panel and to redirect to my serveer/panel link?
Re: Panel link for clients
KH use a FQDN -not a subdomain- for the server and for login, like e.g. server.domain.com.
Every new created user get an email with this loginlink and the creditals.
Every new created user get an email with this loginlink and the creditals.
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
Re: Panel link for clients
So I can't make it automaticly like user has a domain example.com to be panel.example.com?
Re: Panel link for clients
You can not do this automatically out of the box.
---
As a starter, some ideas - depending on your setup they might not be suitable / not complete!
If you want to go the "Path" way (eg. https://client-domain.com/keyhelp -> redirection to KeyHelp login):
You could create a cronjob, which regularly iterates over all user domain target folders (/home/users/*/www/...), and do either 1) or 2).
1) create a folder keyhelp/. Then put an index.php file into the created keyhelp/ folder with the content:
2) create a .htaccess with the content:
---
As a starter, some ideas - depending on your setup they might not be suitable / not complete!
If you want to go the "Path" way (eg. https://client-domain.com/keyhelp -> redirection to KeyHelp login):
You could create a cronjob, which regularly iterates over all user domain target folders (/home/users/*/www/...), and do either 1) or 2).
1) create a folder keyhelp/. Then put an index.php file into the created keyhelp/ folder with the content:
Code: Select all
<?php
header('Location: https://<URL TO YOUR LOGIN>');
Code: Select all
RewriteEngine On
RewriteRule ^keyhelp$ https://<URL TO YOUR LOGIN> [R=302,NE,L]
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Panel link for clients
Great! Thanks for the info, do you have any example just to see how it goes with cronjob.