BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] apache
- Subject: [Discuss] apache
- From: dsr at randomstring.org (Dan Ritter)
- Date: Fri, 24 Apr 2020 16:10:33 -0400
- In-reply-to: <20200424200425.GA754219@arcturas.localdomain>
- References: <20200424200425.GA754219@arcturas.localdomain>
dan moylan wrote: > > i have two computers at home, arcturas and aldeberon, both > running fc31 and chrome browsers, and both running apache > servers. on arcturas, i can access my home website using > localhost/moylan/ or arcturas/moylan/. on aldeberon the > same. however neither can access the other -- i.e. if i > try aldeberon/moylan/ from arcturas, i see: > > This site can???t be reached > http://aldeberon/moylan/ is unreachable. > ERR_ADDRESS_UNREACHABLE > > what do i need to do? Both of them need to know the relatiionship between names and IP addresses. This can be done via DNS or via /etc/hosts entries. 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. -dsr-
- References:
- [Discuss] apache
- From: jdm at moylan.us (dan moylan)
- [Discuss] apache
- Prev by Date: [Discuss] apache
- Next by Date: [Discuss] [EXT] apache
- Previous by thread: [Discuss] apache
- Next by thread: [Discuss] [EXT] apache
- Index(es):