• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

[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