• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

hostname changed, but plesk keep redirecting me

EvolutionCrazy

Basic Pleskian
i've changed the hostname of my server through the plesk admin interface...

restart the server...

everything now around the server is setted with the new hostname... except when i access to the plesk interface without specifing https.... (i just tipe http://sub.domain.tld)

it redirect me to https://oldsub.domain.tld

what i've to change to be able to access to the interface from the new hostname?
 
Sometimes changing the hostname in Plesk is not quite enough. What OS are you using? Log in via SSH and run the command

#hostname

See if the new hostname is presented. You may have to make some changes to the OS.
 
Originally posted by phoenixisp
Sometimes changing the hostname in Plesk is not quite enough. What OS are you using? Log in via SSH and run the command

#hostname

See if the new hostname is presented. You may have to make some changes to the OS.

plesk takes care of

#hostname

the only thing i've noticed it hasn't changed is the /etc/hosts... that i've modified manually...

however i do not understard why it redirect me to the old hostname if i access to plesk without specifing the secure protocol...

http instead of https...
 
Check your /path_to_psa/psa/admin/conf/httpsd.conf file for the following:

Code:
#ServerAdmin @adminemail@
ServerName <server_name>
DocumentRoot "/usr/local/psa/admin/htdocs"
<Directory />
#    SSLRequireSSL ## disabled for allowing http redirect to https by 400 Error (Bad Request see bug #25466)
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Directory "/usr/local/psa/admin/htdocs">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

## http redirect to https (Bad Request see bug #25466)
## it requires that SSLRequireSSL is turned off in other case 403 error is generated
[b]ErrorDocument 400 [url]https://<your_old_server_name_here>:8443[/url][/b]

If the line in bold refers your old servername thats why it's redirecting wrong - correct this :)
 
Wanted to say thank you!

I have been asking my server provider for answer and no luck, been several days ;)
 
Back
Top