• 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.

redirect webmail.mydomain.com to another url

R

Roosta21

Guest
I am changing my mx settings to another server, I want the same webmail address to go to another site.. how do redirect webmail.mydomain.com It seems to be hard wired in some server level conf.. to always take it to horde. but I can't find a way to change it
 
Hi

The easiest way would be to configure it by making a new entry in your DNS server. However, I think this is not what you want, since this would be too easy and obvious to post that question in here.

So the following certainly is not the best solution, but you may want to try to edit the file /usr/share/psa-horde/index.php and put the following line of code as the first line of the file:

<?php header('Location: http://www.example.com/blah/'); exit(); ?>

The better solution would be to do a server-configured redirect in the apache config file, I found something at
/etc/httpd/conf.d/zz010_psa_httpd.conf

I know it is possible to do some permanent redirections with the apache config, but have forgotten about how doing that. However, I have the strong feeling that by upgrading Plesk, both of these modifications would get lost.

Greetings, Greg
 
Originally posted by gregi

I know it is possible to do some permanent redirections with the apache config, but have forgotten about how doing that.

Correct, there is an entry in the httpd.conf that redirects headers from http://webmail.* to Horde IIRC.
 
Where is that in http.conf can't seem to find it........ yeah your right if you change anything in zz010_psa_httpd.conf.(which is httpd.conf) an if you resst plesk and it get changed but if you'll let let me know what change.....
 
Thanks for the reply.. will try theses..i've tried adding the domain in plesk webmail.mydomain.com then setting up a meta refresh to another site.. but still automatically gets forwarded to horde.. it must be as the redirect to Horde is set at higher level within the server config.. don't seem to be able ti find anywhere though.
 
Basically I removed all of the text in the httpd.conf that related to horde, and it stopped redircting
 
Back
Top