• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Plesk login redirects from other domains to host domain

alextl

New Pleskian
Hi,

I have been searching around for an answer for this for a while so apologies if I have missed something obvious, or the wording doesn't make much sense (still new to Plesk).

My problem is, when I attempt to access a seperate webspace's control panel login through webspace2.com:8443 it automatically redirects me to https://hostname.com:8443.

If however I go to https://webspace2.com:8443 this redirect does not happen and I can log straight in through this domain.

Ideally I need to keep these domains separate and need to remove this non-https redirect that is currently happening.

Any help would be greatly appreciated.

Thanks,
Alex
 
Just in case anyone was interested, I ended up commenting this line out in /usr/local/psa/admin/conf/ssl-conf.sh

if [ -n "$hostname" ]; then
echo "ssl.pain-redirect = \"https://$hostname:8443/\""
fi

There is probably a better way of doing this but no more annoying redirects :).
 
Back
Top