• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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