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

I have a VPS that I installed Plesk into. It has an external IP but only ports 22,80,443 are allowed through the firewall. Plesk uses port 8443 so currently the only way to access it is to tunnel through SSH.

Is it possible to use a Alias to proxy to the plesk panel? Similar to the way phpmyadmin works. All articles I've read so far have you setup a domain, subdomain, create a vhost.conf file and forward through that. I'd prefer to access the server directly using https://Server%5FIP/plesk

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I'm afraid I'm not au fait with plesk, but yes it may be possible that you cannot use it through an alias. Why? It depends on how it handles it links. It may expect to be the only thing on a domain and if it does, the links it generates may be absolute links. i.e. links start with a "/"

Your safest bet is to use a domain name. If you're worried about potential problems with DNS, you can always stick an entry into your hosts file on your own machine to overcome DNS problem if / when they should arise.

However, you can always try it:

SSLProxyEngine on
ProxyRequests off
ProxyPass        /myalias/ https://1.2.3.4:8443/
ProxyPassReverse /myalias/ https://1.2.3.4:8443/
share|improve this answer
    
Almost there. I've added that bit of code to the /etc/httpd/conf/zzSA...conf. But I'm getting a file not found login.php3 error. –  Joe Chin Nov 20 '09 at 11:44
    
This could be because the Plesk is simply not setup to do such a thing, I'm afraid I don't know enough about it, but as explained above, it's a distinct possibility (most apps wouldn't be!) –  Philip Reynolds Nov 20 '09 at 12:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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