• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

[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