Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: auricular on January 21, 2017, 02:25:38 PM

Title: move mysite.com/mail to mail.mysite.com
Post by: auricular on January 21, 2017, 02:25:38 PM
Hi,

I've installed roundcube via iredmail onto my ubuntu aws instance.

I need some help moving the webmail access from the standard "example.com/mail" to a subdomain "mail.example.com". this would include the imap and smtp server being located at "mail.example.com"

I believe that this requires setting up a virtual host on the apache2 server, but i have no idea how to do this.

Some instructions would be really helpfull!

Thanks,
Title: Re: move mysite.com/mail to mail.mysite.com
Post by: JohnDoh on January 22, 2017, 02:32:41 AM
first of all you'll need to setup DNS for mail.example.com to point to the correct place. then there are lots of examples of how to setup virtual hosts in the apache documentation, see https://httpd.apache.org/docs/2.4/vhosts/examples.html for example.

about your imap and smtp servers is a different thing, imap is probably quite straight forward but for smtp i'd suggest you ask in your smtp server's community as there are other considerations like reverse dns and things there.
Title: Re: move mysite.com/mail to mail.mysite.com
Post by: rm13 on January 23, 2017, 12:04:42 AM
If you installed iredmail, you should probably check their support forum and documentation on making changes. It installs as an "appliance" so you may want to keep consistent with it if you want to install updates.