Articles in this section

Unable to access webmail when webmail configuration does not exist on a Plesk for Linux server: The requested URL was not found on this server

Plesk for Linux kb: technical ABT: Group A

Applicable to:

  • Plesk for Linux

Symptoms

  • Horde/Roundcube webmail is unreachable with one of the following error messages in a web-browser:

    PLESK_INFO: Not Found
    The requested URL /roundcube/index.php was not found on this server.
    Apache Server at webmail.example.com Port 80


    PLESK_INFO: The requested URL /login.php was not found on this server.


    PLESK_INFO: The requested document was not found on this server.
    Web Server at example.com

  • When opening webmail.example.com in a web-browser, the Web Server's Default Page is shown or the page it is redirected to the domain example.com.

  • Webmail configuration is missing in Apache:

    • on CentOS/RHEL-based distributions:

      # httpd -S | grep "webmail.example.com"
      #

    • on Debian/Ubuntu-based distributions:

      # apache2ctl -S | grep "webmail.example.com"
      #

Cause

Misconfiguration of the web-server.

Resolution

  1. Connect to the Plesk server via SSH.

  2. Make sure webmail configuration is included in Apache configuration file zz010_psa_httpd.conf using the command below:

    • on CentOS/RHEL-based distributions

      # grep webmails /etc/httpd/conf.d/zz010_psa_httpd.conf
      IncludeOptional '/etc/httpd/conf/plesk.conf.d/webmails/*.conf'

    • on Debian/Ubuntu-based distributions

      # grep webmails /etc/apache2/conf-enabled/zz010_psa_httpd.conf
      IncludeOptional '/etc/apache2/plesk.conf.d/webmails/*.conf'

    If the line above does not exist, add it using a text editor (for example, the vi editor).

  3. Repair server-wide configuration:

    # plesk repair web -server

Was this article helpful?

Comments

1 comment
Date Votes
  • Not working, still the same error even with a reboot

     

    0

Please sign in to leave a comment.