• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

How do I change webmail.domainname.com to something else?

P

Peach@

Guest
This is what I'm trying to accomplish:

I have a SSL certificate for www.xxxxx.com. I want to be able to read Horde email using the SSL certificate for www.xxxxx.com. If I simply go to https://webmail.xxxxx.com, I get a warning. So I want to use https://www.xxxxx.com/webmail to be the URL to access Horde. Is it possible?

I tried inserting these lines in vhost.conf
ProxyPass /webmail/ http://webmail.xxxxx.com/
ProxyPassReverse /webmail/ http://webmail.xxxxx.com/


It works fine for the login page. When I login, though, the site switches back to http://webmail.xxxxx.com. Could it simply be a PHP code problem in Horde? I f so, where can I find the Horde pages on the server?

This is for one domain only. I don't want to do it for other domains on the same IP or server.
Thanks!
 
OK, I found Horde files here:
/usr/share/psa-horde/

It looks like many pages in Horde call up $_SERVER['REMOTE_ADDR'] or $_SERVER['SERVER_NAME']. With ProxyPass an ProxyPassReverse, these variables return webmail.xxxxx.com. That may be why it's going back to webmail.xxxxx.com.

I also tried this, but this doesn't seem to work in vhosts.conf:
Alias /webmail/ /usr/share/psa-horde/

I get an error when I restar apache.

What else should I try?
Thanks!
 
Back
Top