To create a separate message for each domain
su -
to assume root user privileges./home/virtual/
<domain_name>/etc/motd
with the message of the day, where <domain_name> is the name of the domain for which you want the message of the day to be displayed.motd
, to the Site Administrator and group using chown
and then set the permissions to 0644
. The Site Administrator cannot create or delete this file but can edit it. If you do not want the Site Administrator to change this file, set the ownership to root
.