Changing URL for panel.

valdeg
Posts: 3
Joined: Sat 26. Mar 2016, 15:23

Changing URL for panel.

Post by valdeg »

Hello,

How can I correctly move installed Keyhelp from main domain to subdomain?
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Changing URL for panel.

Post 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.
Viele Grüße,
Martin
prune
Posts: 85
Joined: Thu 14. Nov 2019, 11:22

Re: Changing URL for panel.

Post by prune »

Sorry for the necro bump, but is it possible to change server name domain now inside KH or via ssh? Thanks!
User avatar
Tobi
Community Moderator
Posts: 2812
Joined: Thu 5. Jan 2017, 13:24

Re: Changing URL for panel.

Post by Tobi »

Settings => Hostname is your friend
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
prune
Posts: 85
Joined: Thu 14. Nov 2019, 11:22

Re: Changing URL for panel.

Post by prune »

Thank you obito, will check it out :D
kudouyuzi
Posts: 12
Joined: Tue 14. Apr 2020, 16:14

Re: Changing URL for panel.

Post by kudouyuzi »

Hi,
Anyone know, how to add a port to KH URL?
It will like https://domain:1000

Thank you!
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Changing URL for panel.

Post 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
Viele Grüße,
Martin
kudouyuzi
Posts: 12
Joined: Tue 14. Apr 2020, 16:14

Re: Changing URL for panel.

Post 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?
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Changing URL for panel.

Post 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.
Viele Grüße,
Martin
kudouyuzi
Posts: 12
Joined: Tue 14. Apr 2020, 16:14

Re: Changing URL for panel.

Post 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?
User avatar
george
Posts: 87
Joined: Fri 3. Jan 2020, 05:53
Location: AUSTRALIA

Re: Changing URL for panel.

Post 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>
kudouyuzi
Posts: 12
Joined: Tue 14. Apr 2020, 16:14

Re: Changing URL for panel.

Post 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
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Changing URL for panel.

Post 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.
Viele Grüße,
Martin
kudouyuzi
Posts: 12
Joined: Tue 14. Apr 2020, 16:14

Re: Changing URL for panel.

Post 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?
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Changing URL for panel.

Post 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.
Viele Grüße,
Martin
Locked