Submitted by ttaylor57 on Thu, 05/04/2017 - 00:48
Hi, To get to my email I have type "my-domain.com/roundcube/" I'd like to create an alias for this and would like the alias to be "email.my-domain.com". How do I accomplish this in Virtualmin?
Status:
Active
Comments
Submitted by andreychek on Thu, 05/04/2017 - 09:01 Comment #1
Howdy -- Virtualmin comes with a "webmail" alias built-in, would that work for you?
You can make it so that going to "webmail.domain.com" redirects to any URL that you want.
You can tweak where the webmail alias points in System Settings -> Server Templates -> Default -> Apache Website, and there, look for the "URL for Webmin Redirect" option.
Submitted by JamieCameron on Fri, 05/05/2017 - 12:09 Comment #2
You could also create a separate email.my-domain.com virtual server, and configure it to just redirect to my-domain.com/roundcube
Submitted by ttaylor57 on Fri, 05/05/2017 - 12:14 Comment #3
Yes... that sounds like what I would like. How do I configure server to redirect?
Submitted by andreychek on Fri, 05/05/2017 - 14:01 Comment #4
Sorry which idea above was it you wanted to try? Comment #1 or Comment #2? :-)
Submitted by ttaylor57 on Fri, 05/05/2017 - 14:21 Comment #5
Answers to both would be GREAT!!! Buuutttt... I was referring to number 2.
Submitted by andreychek on Sat, 05/06/2017 - 14:28 Comment #6
Okay, let's start with Jamie's idea in #2.
What you would do first is create a new Virtual Server with your preferred name (such as email.my-domain.com).
Then, go into Server Configuration -> Website Redirects, and there, you can setup a redirect to any URL you wish.