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 previous had both Web and Mail on the same server and for each of my vhosts/domains, I could visit example.com/mail or foo.com/mail which would display the Roundcube Webmail across all vhosts.

E.g Alias /mail "/usr/share/apache2/roundcub/"

Although now I have moved the Mail server onto a completely different server and now have a SSL for the main domain. https://mail.example.com which is now the new location of Roundcube for all vhosts/domains.

Question: is it possible to redirect all alias for "/mail" from the Web server to the new URL?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

It is definitely possible, but you would have to use a Redirect instead of an alias.

Redirect /mail https://mail.example.com/mail
share|improve this answer
add comment

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.