[Discuss] apache
Dan Ritter
dsr at randomstring.org
Fri Apr 24 16:31:09 EDT 2020
dan moylan wrote:
>
> 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.
You said you were running apache, so I believed you.
Where your system configures it, that's where it is.
find / -name apache2.conf -print
should find the directory. If it doesn't... are you sure you
have apache installed?
-dsr-
More information about the Discuss
mailing list