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 😉" <xfs...@hotmail.com> wrote:


> 
> On 11/11/2022 12:05, supp...@openmbox.net 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: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to