• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

[Urgent] Problem with vritual host / configuring new webmail client

stefanoostwegel

Basic Pleskian
I installed roundcube over my shell.
I followed these instructions:

# mkdir /var/www/vhosts/roundcube
# cd /var/www/vhosts/roundcube
# wget roundcube install from http://roundcube.net/download
# tar -xvzf roundcubemail-version.tar.gz
# mv /var/www/roundcube/roundcubemail-version/* /var/www/vhosts/roundcube/
# chown -R apache.apache logs temp
# chmod 777 logs temp

then i created the database, installed the sql file, and then i made this:

# vi /etc/httpd/conf.d/roundcube.conf
<VirtualHost SERVER_IP:80>
ServerName webmail
ServerAlias roundcube.*
DocumentRoot /var/www/vhosts/roundcube/
<Directory "/var/www/vhosts/roundcube/">
</Directory>
</VirtualHost>

I performed a httpd restart and everythig was fine.
I added an DNS record:

roundcube.<domain> A <ip>
roundcube.<domain> AAAA <ipv6>
webmail.<domain> A <ip>
webmail.<domain> AAAA <ipv6>

Then, i added to my webmail configuration the following lines:

*register new webmail
webmail service name: Roundcube
webmail service URL: http://roundcube.mymaindomain.com

Now, when i visit the address roundcube.anydomainihost.com i get the plesk default page, telling me there are no files to be found. I cant seem to access any files that are supposed to be in that directory.
Please help me out, im in need of roundcube webmail wich works extremly great for email clients!!!!
 
Have you checked the apache logs? They might give you a clue to what's happening.

For example:

/var/log/httpd/error_log

This might show you what is not loading and whether something is pointing to the wrong place.

Where did your instructions come from?

It is not clear which user the actual roundcube files now belong to, nor what their default permissions are.

Take a look at your horde installation and compare it with your roundcube one. Are the owner and permissions the same? If not, try matching them.
 
I didn't see this in your install notes:

<VirtualHost SERVER_IP:80>

ServerName default
ServerAlias default.*
DocumentRoot /var/www/vhosts/default/htdocs
<Directory "/var/www/vhosts/default/htdocs">
</Directory>
</VirtualHost>
 
Back
Top