• 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

webmail

elusiven

New Pleskian
Hello

my webmail.domain.tld does not work..Just displays 404 not found. I tried contacting my domain registrar but they said it's something to do within plesk panel because everything is fine on their end including dns. Any ideas pls
 
Hi elusiven,

first solution, if you experience issues with a domain / subdomain, is to investigate the cause with the depending configuration files and error - logs.

Please read and bookmark (?!? ):



Second, Plesk offers a very quick solution to recreate domain - specific configuration files with the "httpdmng" - utility. You even could recreate the necessary server configuration files.

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
or
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain YOURDOMAIN.COM

For more possible command options and informations about the utility, please use:

/usr/local/psa/admin/sbin/httpdmng --help


Third, please make sure that your webserver(s) are up and running:

apache webserver:

service httpd status
or /etc/init.d/httpd status ( CentOS/RHEL )
service apache2 status or /etc/init.d/apache2 status ( Debian/Ubuntu )

or : apachectl status

... to restart the apache webserver, please use:

service httpd restart or /etc/init.d/httpd restart ( CentOS/RHEL )
service apache2 restart or /etc/init.d/apache2 restart ( Debian/Ubuntu )

nginx webserver:

service nginx status
/etc/init.d/nginx status

... to restart the nginx webserver, please use:
service nginx restart
/etc/init.d/nginx restart



If you experience issues with apache and/or nginx, please have a look at the corresponding log - files of the webservers and be reminded, that there are as well corresponding domain - specific log - files ( locations as described in the mentioned KB - article above ). If you can't solve issues on your own, please consider to post the errors from your logs here in the forum, so that others are able to make some suggestions to your issues, based on your error(s)/issue(s)/problem(s).

It is always wise to include your Plesk version, including the current MU - version. The latest MU - updates are posted as threads in the forum, as for example: Plesk 12.0.18 MU#64 - Are you maybe experiencing a previous described issue(s) from these threads? Are there solutions and work-arounds described in these threads, which you tried and which didn't work for you? Which ones, please? Which errors did you get, when trying the solutions and work-arounds from the mentioned threads?
 
Last edited by a moderator:
Hi elusiven,

please have a CLOSER look at the mentioned KB - article:

Apache
  • Logs
    • Global Access and Error logs: /var/log/httpd/
    • Domain logs: /var/www/vhosts/<domain>/logs
  • Services
    • Stop: /etc/init.d/httpd stop
    • Start: /etc/init.d/httpd start
    • Restart: /etc/init.d/httpd restart
  • Configuration
    • /etc/httpd/conf/httpd.conf
    • /etc/httpd/conf.d/zz010_psa_httpd.conf (includes generated configuration files with the rest of the vhosts and server configuration)
  • NOTE: On SuSE, Debian, and Ubuntu, the service is called "apache2". The path to its logs is /var/log/apache2and the path to configs is /etc/apache2.
NGINX
  • Logs
    • Error log: /var/log/nginx/error.log
    • Access log: /var/log/nginx/access.log
    • Domain logs: /var/www/vhosts/<domain>/logs/proxy_access*_log
  • Services
    • Stop: /etc/init.d/nginx stop
    • Start: /etc/init.d/nginx start
    • Restart: /etc/init.d/nginx restart
    • NOTE: To disable nginx, go to "Tools & Settings > Services Management" and stop nginx from there.
  • Configuration
    • /etc/nginx/nginx.conf
    • /etc/nginx/conf.d/zz010_psa_nginx.conf (includes generated configuration files with the rest of the vhosts' and server configuration)

AND
Horde
  • Logs
    • Error log: /var/log/psa-horde/psa-horde.log
  • No service control (works via Apache web-server)
  • Configuration
    • /etc/psa-webmail/horde/horde.conf
    • /etc/psa-webmail/horde/horde/conf.php
Roundcube
  • Logs
    • Error log: /var/log/plesk-roundcube/errors
  • No service control (works via Apache web-server)
  • Configuration
    • /etc/psa-webmail/roundcube/*
 
Hello,
Are you sure you have a necessary entries in the hosts file at the requestor's machine?
Something like: xx.xx.xx.xx - webmail.domain.com, where xx.xx.. - your Plesk IP
Try to execute 'ping' command to your webmail. What is the response?
 
my hosts file:

127.0.0.1 localhost

149.202.57.59 vps197101.ovh.net vps197101

149.202.57.59 webmail.vps197101.ovh.net







root@vps197101:/etc# sudo nano hosts

root@vps197101:/etc# service apache2 restart

* Restarting web server apache2 AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6

[ OK ]

root@vps197101:/etc# ping webmail.vps197101.ovh.net

PING webmail.vps197101.ovh.net (149.202.57.59) 56(84) bytes of data.

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=1 ttl=64 time=0.079 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=2 ttl=64 time=0.037 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=3 ttl=64 time=0.043 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=4 ttl=64 time=0.043 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=5 ttl=64 time=0.048 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=6 ttl=64 time=0.059 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=7 ttl=64 time=0.046 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=8 ttl=64 time=0.031 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=9 ttl=64 time=0.045 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=10 ttl=64 time=0.051 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=11 ttl=64 time=0.040 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=12 ttl=64 time=0.033 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=13 ttl=64 time=0.035 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=14 ttl=64 time=0.045 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=15 ttl=64 time=0.052 ms

64 bytes from vps197101.ovh.net (149.202.57.59): icmp_seq=16 ttl=64 time=0.048 ms
 
Back
Top