On Fri, Apr 24, 2020 at 04:31:09PM -0400, Dan Ritter wrote: > 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@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?
Fedora and derivatives use files in: /etc/httpd The main config is in /etc/httpd/conf/httpd.conf, but usually you should edit or create a new file in /etc/httpd/conf.d/*. I would create a new file there and put your virtual host directive inside. This may be helpful: https://robbinespu.github.io/eng/2018/02/25/Creating_Vhost_Apache_Httpd_Fedora.html _______________________________________________ Discuss mailing list Discuss@lists.blu.org http://lists.blu.org/mailman/listinfo/discuss