[Discuss] apache

dan moylan jdm at moylan.us
Fri Apr 24 16:26:37 EDT 2020


dan ritter writes:
> Both of them need to know the relatiionship between names and IP
> addresses. This can be done via DNS or via /etc/hosts entries.

yes, aok in /etc/hosts.

> Then the apache servers need to know what servernames that they
> are serving. This is typically in /etc/apache2/sites-enabled/*
> or similar, with stanzas like this:

<VirtualHost _default_:443>
                ServerAdmin webmaster at localhost
                DocumentRoot /var/www/html
</VirtualHost>

> _default_ should only occur zero or more times; otherwise, it
> gets replaced by a full domain name.

hmmm -- no /etc/apache2 on either machine.  no man pages for
apache or apache2.  gimmie a hint.

ole dan

j. daniel moylan
84 harvard ave
brookline, ma 02446-6202
617-777-0207 (cel)
jdm at moylan.us
www.moylan.us
[no html pls]


More information about the Discuss mailing list