BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] [EXT] Re: apache
- Subject: [Discuss] [EXT] Re: apache
- From: cra at WPI.EDU (Chuck Anderson)
- Date: Fri, 24 Apr 2020 16:40:43 -0400
- In-reply-to: <20200424203109.GA19608@randomstring.org>
- References: <20200424202637.GA783756@arcturas.localdomain> <20200424203109.GA19608@randomstring.org>
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 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? 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
- References:
- [Discuss] apache
- From: jdm at moylan.us (dan moylan)
- [Discuss] apache
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] apache
- Prev by Date: [Discuss] apache
- Next by Date: [Discuss] apache
- Previous by thread: [Discuss] apache
- Next by thread: [Discuss] apache
- Index(es):