Redirecting to ip address instead of server hostname

charliecres

Active Member
Mar 5, 2020
34
3
8
Dhaka
cPanel Access Level
Root Administrator
i am facing problem with ip redirecting issue.

explaining this issue..

i have configured my server with whmcs. when my customer trying to login to their cpanel from whmcs client area ,they are redirecting with server ip address instead of server hostname ,, previously it was redirected with server hostname and it was working perfectly for couple of year.

but suddenly i am facing this issue. any solution for this?
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
542
252
138
IN
cPanel Access Level
Root Administrator
Is your hostname is still resolving to the server IP address?
 
  • Like
Reactions: cPanelWilliam

cPanelWilliam

Administrator
Staff member
Mar 13, 2018
161
23
93
Houston
cPanel Access Level
Root Administrator
Hi! I agree with @kodeslogic , checking where your hostname resolves would be a good first step to troubleshooting this. If your hostname does not resolve directly to the server, it can cause the type of behavior you mentioned. For example, we've seen this issue come up when a client proxied their hostname behind CloudFlare.
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
542
252
138
IN
cPanel Access Level
Root Administrator
You need to check the inputs for WHMCS >> System Settings >> Servers >> Click on EDIT for your cPanel server.

Make sure you have your hostname set correctly for the Hostname field.
 

charliecres

Active Member
Mar 5, 2020
34
3
8
Dhaka
cPanel Access Level
Root Administrator
there is no issue from the side of WHMCS. i have tested this on multiple WHMCS. same error.

note: there are other servers configured at same WHMCS. and all are working perfectly without that one server.