Change List Accounts "Open Panel" link to hostname instead IP address

Started by redy, February 05, 2022, 12:05:28 PM

Previous topic - Next topic

redy

Has anyone know about how to change User panel link in "List Accounts" page ?
really need this to work because I use a proxy under my server.

Thanks


rcschaff

Server Settings -> Change Hostname

It seems you don't have one set, so it uses the IP instead.
Google Hangouts:  rcschaff82@gmail.com

redy

Hostname is set in there.
But the panel link still show IP address

I used a proxy to server, and panel access from hostname is just work.

rcschaff

Not sure then.  If you hit save, it should have changed it from IP to Hostname.  Every CWP i've ever done uses the hostname.   Possible check /etc/hostname to make sure it's set there.  Also remember the hostname has to be a FQDN
Google Hangouts:  rcschaff82@gmail.com

josemnunez

Hola

this link applies to the condition, if the hostname is valid and the ssl is valid, the hosname will be shown, but the public ip will be shown

redy

Hostname is valid (listed in cloudflare dns without proxy)
SSL is valid, verified at SSL shopper.

Is there any I can do ?

ljb

This seems to be an ongoing issue where the IP address appears instead of the hostname. I have a valid SSL cert and my FQDN is internet routable. Has anyone come up with a solution to this?

overseer

I don't experience this; I have FQDN, routable DNS, and valid SSL -- so it shows the server hostname as the Open Panel link.

rcschaff

It seems that the people having an IP issue, are the ones using Cloudflare as a proxy.  You have SSL through Cloudflare, but the end server does not know this.  If it doesn't have an SSL certificate installed for the hostname on the server, CWP will not change it from IP to hostname.
Google Hangouts:  rcschaff82@gmail.com

overseer

Good call. I use Cloudflare for DNS and other features but NOT for SSL, as I have had problems with their implementation. I still use AutoSSL on my CWP-hosted sites, so the SSL certs are indeed on the server.

ljb

My CWP appliance lives on my homelab and I'm not using Cloudflare. Instead, I have a VPN server with multiple IP addresses that breaks out in a DC in my region. My CWP SSL cert is valid, my hostname is internet resolvable, my rDNS does not match my hostname (FQDN).

I would love to know how to circumvent this as I have no interest in changing my reverse DNS.