Page 1 of 2

Changing URL for panel.

Posted: Wed 18. May 2016, 13:04
by valdeg
Hello,

How can I correctly move installed Keyhelp from main domain to subdomain?

Re: Changing URL for panel.

Posted: Wed 18. May 2016, 14:38
by Martin
Hello,

currently this is not directly supported via KeyHelp. You will be able to change KeyHelp Paneldomain as long with servername with an future update of KeyHelp.

Currently the recommended way would be a reinstallation.

Re: Changing URL for panel.

Posted: Fri 10. Apr 2020, 01:58
by prune
Sorry for the necro bump, but is it possible to change server name domain now inside KH or via ssh? Thanks!

Re: Changing URL for panel.

Posted: Fri 10. Apr 2020, 08:51
by Tobi
Settings => Hostname is your friend

Re: Changing URL for panel.

Posted: Sat 11. Apr 2020, 03:05
by prune
Thank you obito, will check it out :D

Re: Changing URL for panel.

Posted: Tue 14. Apr 2020, 16:17
by kudouyuzi
Hi,
Anyone know, how to add a port to KH URL?
It will like https://domain:1000

Thank you!

Re: Changing URL for panel.

Posted: Tue 14. Apr 2020, 21:01
by Martin
Hello,

as KeyHelp is delivered by the standard apache, there is no different Port. Of course you are free to change the port of Apache itself, but this will affect all websites.

Best Regards
Martin Dannehl

Re: Changing URL for panel.

Posted: Wed 15. Apr 2020, 17:37
by kudouyuzi
Martin wrote: Tue 14. Apr 2020, 21:01 Hello,

as KeyHelp is delivered by the standard apache, there is no different Port. Of course you are free to change the port of Apache itself, but this will affect all websites.

Best Regards
Martin Dannehl

So do you have a better way to protect KH?

Re: Changing URL for panel.

Posted: Wed 15. Apr 2020, 18:08
by Martin
Hello,

how should a different Port protect KeyHelp?

KeyHelp Login itself is already with bruteforce protection and you can enable two-factor authentification also.

Re: Changing URL for panel.

Posted: Wed 15. Apr 2020, 18:34
by kudouyuzi
Martin wrote: Wed 15. Apr 2020, 18:08 Hello,

how should a different Port protect KeyHelp?

KeyHelp Login itself is already with bruteforce protection and you can enable two-factor authentification also.
how should a different Port protect KeyHelp?
>> First, it will effectively prevent most people from directly seeing the control panel, second is easy to set up. Only whitelisted IPs can access the panel.

KH has prevented search engines crawling KH's URL?

Re: Changing URL for panel.

Posted: Wed 15. Apr 2020, 23:43
by george
Only whitelisted IPs can access the panel.
You can do this already:

KeyHelp has such a security feature for Administrators.
Restrict administrative access:
Here you can restrict the login for administrator accounts to one or more IPs or subnet addresses
KeyHelp > SETTINGS > Configuration / Login & session


You can also place a .htaccess in KeyHelp directory to limit by IP. The .htaccess file may include something like this:

# RESTRICT ACCESS TO DIRECTORY BY IP ADDRESS
# Include in .htaccess of any directory
<RequireAny>
Require all denied
Require ip 1.2.3.4
Require ip 5.6.7.8/12
# If local server access to the directory is required
# add the following; include the server ip addresses (ipv4 & ipv6)
Require local
Require ip 9.10.11.12
Require ip 2001:0db8:85a3:0000:0000:8a2e:0370:7334
</RequireAny>

Re: Changing URL for panel.

Posted: Thu 16. Apr 2020, 09:07
by kudouyuzi
george wrote: Wed 15. Apr 2020, 23:43
Only whitelisted IPs can access the panel.
You can do this already:

KeyHelp has such a security feature for Administrators.
Restrict administrative access:
Here you can restrict the login for administrator accounts to one or more IPs or subnet addresses
KeyHelp > SETTINGS > Configuration / Login & session


You can also place a .htaccess in KeyHelp directory to limit by IP. The .htaccess file may include something like this:

# RESTRICT ACCESS TO DIRECTORY BY IP ADDRESS
# Include in .htaccess of any directory
<RequireAny>
Require all denied
Require ip 1.2.3.4
Require ip 5.6.7.8/12
# If local server access to the directory is required
# add the following; include the server ip addresses (ipv4 & ipv6)
Require local
Require ip 9.10.11.12
Require ip 2001:0db8:85a3:0000:0000:8a2e:0370:7334
</RequireAny>
1. What is the KeyHelp directory? Plz tell me the path.
2. How to edit httpd.conf, php.ini and my.cnf?
3. Does KH have NGINX? If it has so how to edit nginx.conf

Re: Changing URL for panel.

Posted: Thu 16. Apr 2020, 09:24
by Martin
Hello,

1) KeyHelp is stored within /home/keyhelp/www/keyhelp but you must not store any additonal files there, as they will be deleted.

2) For additonal Apache settings, you have a setting tab within each domain. For PHP settings you find a setting tab for each User. MySQL Settings may be changed within /etc/mysql/mariadb.conf.d/90-tuning.cnf

3) Nginx is not supported. You are able to change Apache Port itself to whatever you like within KeyHelp configuration and manually configure Nginx (or Varnish etc.) as Reverseproxy manually.

Re: Changing URL for panel.

Posted: Thu 16. Apr 2020, 09:41
by kudouyuzi
Martin wrote: Thu 16. Apr 2020, 09:24 Hello,

1) KeyHelp is stored within /home/keyhelp/www/keyhelp but you must not store any additonal files there, as they will be deleted.

2) For additonal Apache settings, you have a setting tab within each domain. For PHP settings you find a setting tab for each User. MySQL Settings may be changed within /etc/mysql/mariadb.conf.d/90-tuning.cnf

3) Nginx is not supported. You are able to change Apache Port itself to whatever you like within KeyHelp configuration and manually configure Nginx (or Varnish etc.) as Reverseproxy manually.
So and how to edit httpd.conf?

Re: Changing URL for panel.

Posted: Thu 16. Apr 2020, 09:51
by Martin
Hello,

there is no httpd.conf and also usually no need to manually change configuration files in /etc/apache2.
As written before you can add custom apache directives in the apache tab within the settings menu of each domain.