Hi, Just a thought, but can you show the output from: apache2ctl -S
Ed On Fri, 11 Nov 2022 at 13:06, <[email protected]> wrote: > Hello > > I just created config files under /etc/apache2/sites-enabled directly. > > $ ls /etc/apache2/sites-enabled > lrwxrwxrwx 1 root root 35 Oct 20 14:42 000-default.conf -> > ../sites-available/000-default.conf > -rw-r--r-- 1 root root 1850 Nov 11 03:58 webmail-le-ssl.conf > -rw-r--r-- 1 root root 1469 Nov 11 03:59 webmail.conf > > so no a2ensite command is needed. > Thanks > > > November 11, 2022 at 8:55 PM, "😉 Good Guy 😉" <[email protected]> wrote: > > > > > > On 11/11/2022 12:05, [email protected] wrote: > > > > > > > > And apache2 restarted without error. > > > > > > but http://mail.openmbox.net/ still go to default site. > > > > > > any idea? > > > > > > regards. > > > > > > > Can I just ask a simple but obvious question. Have you enabled the site? > A simple command such as "sudo a2ensite openmbox.conf". I am assuming > openmbox.conf file is created. I always create separate conf files for each > site/domain to make things simple but some people have different vies about > this. You can enable all sites with "*.conf" parameter to make it even more > simpler. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
