Roundcube customization by ISPConfig

Posted March 20, 2014 7.2k views
Hi everybody, I installed with success roundcube by ISPConfig and it works I visualize: http://www.domain.ext/webmail I would like to have webmail.domain.ext How can I fix it? Thanks in advance Regards

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers
Hello Paolo

You can create a virtual host in Apache that points to your roundcube directory. Then make sure that webmail.domain.tld points to the server which is running your roundcube.

A quick example:

1. go to /etc/apache2/sites-available

2. then create a new file called webmail.domain.tld

3. inside that file insert the following

DocumentRoot /your/path/to/roundcube
DirectoryIndex index.php
ServerName webmail.domain.tld

4. use the command --> a2ensite webmail.domain.tld

5. use the command --> service apache2 reload

6. make sure your DNS is pointing webmail.domain.tld to your server with Roundcube.
Edit to last post:

seems like it didn't wanted to have the "
3. at the very start there should be and at the end there should be
Hmm it doesn't like the reversed ">" sign and just deletes everything on a line after it here.

there should be >VirtualHost *:80> at the start and >/VirtualHost> at the end of the 3. part.

Hope it works this time and the ">" sign should ofc be turned the right way when you insert it.