• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

domain.com:8443 gives redirects to "localhost.localdomain"

D

Dragons Master

Guest
Heya Folks,

Whenever I hit www.domain.com:8443 the browser tries to ge to "localhost.localdomain" - now I assume it's some configuaration file not set properly but when I search for file containing "localhost.localdomain" I get quite a big list - I suppose some of them should actually have that in them because except for the 8443 port going mad everything works perfect.

Anyone has an idea how to change it to the real localhost and localdomain needed?

Thanks,
- Ben
 
mian, the "full hostname" was already set.

BillyParadise, thank you so much it appears like that is what solved that - though when I gave it a second look it appears like just using https made it work too - but for the sake of lazyness i applied your fix and it worked - I can now go to http://www.domain.com:8443 and it brings up plesk :) thank you!
 
I had this after upgrading to 10.2 and have edited the host file but it still redirects to

https://localhost.localdomain:8443/relay

I have left these two lines in

::1 localhost6.localdomain localhost6
127.0.0.1 localhost.localdomain localhost

I have added a 3rd line with my internet IP and internet hostname

:( Any idea what else it could be?
 
Changed the loopback line to use the external FQDN and the hostname as well but still no luck :(

Anyone have any idea what I can do? It seems to redirect to https://localhost.localdomain:8443/relay

Not sure what this relay bit is. if I hit esc on my browser as it redirects the bit before that is

https://x.x.x.x:8443/login_up.php3?window_id=&requested_url=https://x.x.x.x:8443/

My /etc/hosts is as follows.

# Do not remove the following line, or various programs
# that require network functionality will fail.
# ::1 localhost6.localdomain localhost6
# 127.0.0.1 localhost.localdomain localhost
127.0.0.1 server1-1-1-1.live-servers.net server1-1-1-1
1.1.1.1 server1-1-1-1.live-servers.net server1-1-1-1

Have changed my Ip to something random, this isnt the actual IP of course :)
 
Hi,

I have the same problem, when i try to connect on this adress "https://my-domain:8443/", I'm redirect to "https://127.0.0.1:8443/relay"

Any Idea ?

Thx
 
Back
Top