Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've setup a Plesk 9 vps recently.

The plesk admin is accessible at, say, http://superawesomedomain.com:8443.

I'm setting up a couple of client domains on the server.

I'd like clients to be able to access plesk via a similar url, but instead it would be something like http://inferiorclientdomain.com:8443.

This works ok in a sense, but it always redirect the request for inferiorclientdomain.com:8443 to superawesomedomain.com:8443.

I'd like the control panel access url to remain on inferiorclientdomain.com.

Is that possible?

EDIT: System Info. Plesk 9.5.2 on CentOS 5 (Build 95100504.12)

share|improve this question

put on hold as off-topic by masegaloeh, womble, HBruijn, Jenny D, quux 13 hours ago

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
Plesk on linux or Windows? –  calman Feb 8 '11 at 18:21
    
@calman. Sorry, should have specified. It's on Linux –  Ben Feb 8 '11 at 22:22

1 Answer 1

up vote 3 down vote accepted
+25

You can comment out these lines in /usr/local/psa/admin/conf/ssl-conf.sh

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

https://inferiorclientdomain.com:8443 will work as you want it, but http://inferiorclientdomain.com:8443 will still forward to https://superawesomedomain.com:8443.

share|improve this answer
    
thanks, that's very interesting. What would happen with the http:// requests? any way to tweak those too? –  Ben Feb 12 '11 at 4:10
    
The http requests will get redirected to https the same way they do now. I don't know of any way to change that behavior, unfortunately. –  calman Feb 12 '11 at 7:30
    
Ok, thanks –  Ben Feb 14 '11 at 2:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.