Thanks. So I know that it's due to 000-default.conf was using the system hostname as its default virtual server.
And my system hostname is just same as web domain name. # hostname mail.openmbox.net After I removed 000-default.conf the site does work. Thanks a lot. November 11, 2022 at 9:27 PM, "Eric Covener" <[email protected]> wrote: > > On Fri, Nov 11, 2022 at 8:27 AM <[email protected]> wrote: > > > > > Hello > > > > # rm -f 000-default.conf > > # service apache2 restart > > > > After I removed 000-default.conf the site http://mail.openmbox.net/ just > > works. > > so the reason is due to 000-default.conf? we should remove this file in a > > regular webserver? > > > > If the systems hostname matches one of your other port 80 vhosts, you > should set a ServerName in it and not it let implicitly use the system > hostname. > > --------------------------------------------------------------------- > 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]
