Possible to change panel URL only ?
Possible to change panel URL only ?
Hello,
I know I can change hostname but that also changes for example Postfix's hostname which I would rather keep at something else..
I usually do panels like admin.domain.com but prefer to have MX's as mx?.domain.com
Is something like this possible ?
I know I can change hostname but that also changes for example Postfix's hostname which I would rather keep at something else..
I usually do panels like admin.domain.com but prefer to have MX's as mx?.domain.com
Is something like this possible ?
Re: Possible to change panel URL only ?
Hello,
you can rename the server with the "Hostname" feature. After that, create a new domain (preferably unter a separate user) and assign a lets encrypt certificate. Additionally you can create a redirect from this domain to the new login URL of your KeyHelp Panel.
Now you can use the new and the old name, like nothing has changes.
you can rename the server with the "Hostname" feature. After that, create a new domain (preferably unter a separate user) and assign a lets encrypt certificate. Additionally you can create a redirect from this domain to the new login URL of your KeyHelp Panel.
Now you can use the new and the old name, like nothing has changes.
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: Possible to change panel URL only ?
So basically I change domain to one I want under MX records/Postfix under Hostname option than I create user, create admin.domain.com under that user and than chose Forwarding with destination address I previously set under Hostname ?
Re: Possible to change panel URL only ?
Yes.
You can always access KeyHelp with the IP, if something goes wrong, so you are able to revert the changes in that case.
Please note the sentence about HSTS below the "Hostname" input field: You may probably need to delete your browser cache.
You can always access KeyHelp with the IP, if something goes wrong, so you are able to revert the changes in that case.
Please note the sentence about HSTS below the "Hostname" input field: You may probably need to delete your browser cache.
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: Possible to change panel URL only ?
Thanks.. but that is only "uggly" hack to redirect 1st time visit to another URL. I guess there is no way to preserve URL in bar.
Something to maybe implement in future releases
A.
Something to maybe implement in future releases
A.
Re: Possible to change panel URL only ?
You could use Apache proxy.
Then the URL stays as it is.
You´ll find several topics about Apache proxy on this board
Then the URL stays as it is.
You´ll find several topics about Apache proxy on this board
Gruß,
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Re: Possible to change panel URL only ?
Yeah.. I am getting Status 500 with something like this under Domain>Apache Settings> Directives for HTTPS:
ProxyPass / https://mx2.domain.com
ProxyPassReverse / https://mx2.domain.com/
mx2.domain.com is actual panel url (Hostname)
ProxyPass / https://mx2.domain.com
ProxyPassReverse / https://mx2.domain.com/
mx2.domain.com is actual panel url (Hostname)
- Jolinar
- Community Moderator
- Posts: 3607
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: Possible to change panel URL only ?
Check, if the Apache modul proxy_http is enabled
Code: Select all
a2enmod proxy_http
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
- In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
In this color, I write as a moderator and provide moderative guidance or justify moderative interventions - In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
In this color, I write as a community member and share my personal opinions and views
Re: Possible to change panel URL only ?
According to your thread title
and your initial textPossible to change panel URL only ?
My solution is perfectly valid and i would not consider it hacky at all. If this is not the solution you looked for, you may need to specify what solution you are looking for.I know I can change hostname but that also changes for example Postfix's hostname which I would rather keep at something else..
The "redirect" was just a bonus and I have only mentioned it for convenience for your customers.
-> You wanted an other panel URL (i assume for log in) that's what you've got when changing the Hostname.
-> You wanted to keep the MX and etc. that's what you achieve when creating a new domain with the old name.
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: Possible to change panel URL only ?
I am looking for:
- Set Hostname to mx.domain.com
- Set panel (HTTP/HTTPS) URL to admin.domain.com
- Make admin.domain.com permanenent not only one time redirection to mx.domain.com
Creating admin.domain.com domain and redirecting it to https://mx.domain.com makes no sense to me as any action/click after that would be on https://mx.domain.com and in that case I could just give users panel URL in form of https://mx.domain.com
Would make sense (IMO) to make something in settings like:
- Change Panel URL (which would change only that and change this under Apache only in /etc/apache2/keyhelp/keyhelp.conf)
- Change Hostname > change /etc/hostname and anything related to that ie. Postfix/Dovecot/etc (which currently this setting is doing)
Again, not sure how this affects backend but seems sane to me from here.
A.
- Set Hostname to mx.domain.com
- Set panel (HTTP/HTTPS) URL to admin.domain.com
- Make admin.domain.com permanenent not only one time redirection to mx.domain.com
Creating admin.domain.com domain and redirecting it to https://mx.domain.com makes no sense to me as any action/click after that would be on https://mx.domain.com and in that case I could just give users panel URL in form of https://mx.domain.com
Would make sense (IMO) to make something in settings like:
- Change Panel URL (which would change only that and change this under Apache only in /etc/apache2/keyhelp/keyhelp.conf)
- Change Hostname > change /etc/hostname and anything related to that ie. Postfix/Dovecot/etc (which currently this setting is doing)
Again, not sure how this affects backend but seems sane to me from here.
A.
Re: Possible to change panel URL only ?
Simple solution for this is to:
- Edit /etc/apache2/keyhelp/keyhelp.conf
- Add ServerAlias like so
Now probably this will be overwritten on update(s) ? But something I can live with and adjust from time to time..
- Edit /etc/apache2/keyhelp/keyhelp.conf
- Add ServerAlias like so
Code: Select all
# KeyHelp / Tools
<VirtualHost *:443>
ServerName mx2.domain.com
ServerAlias admin.domain.com
ServerAdmin root@mx2.domain.com