Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2020 20:38:34 +0100
From:      freebsd@boosten.org
To:        freebsd-questions <freebsd-questions@freebsd.org>
Cc:        Dale Scott <dalescott@shaw.ca>
Subject:   Re: Please help with Apache virtual servers and DNS trouble (I think)
Message-ID:  <3D5DAD93-8EE2-487B-B678-F07F7B753A44@boosten.org>
In-Reply-To: <436222222.38328265.1605899638737.JavaMail.zimbra@shaw.ca>
References:  <dbf88edf-7b25-4944-b6c9-5e0d08533265@email.android.com> <df9e09e9-587b-f01b-2849-a90cbd518534@yuripv.dev> <958896405.36997717.1605885037710.JavaMail.zimbra@shaw.ca> <57E903C2-0CB4-4DAD-8F10-12A6879A8029@boosten.org> <436222222.38328265.1605899638737.JavaMail.zimbra@shaw.ca>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

>=20
>> What do you mean with =E2=80=99subdomain=E2=80=99? A subdomain would =
mean something like
>> 'servers.dalescott.net' in your case, and your mantisbt server would =
then be
>> reachable as mantisbt.servers.dalescott.net. So please elaborate.
>=20
> Networking is not my strength ; IIUC my tld is dalescott.net, and I am =
using subdomains
> www, mantisbt, timetracker... or fully qualified www.dalescott.net, =
mantisbt.dalescott.net,
> timetracker.dalescott.net, etc. Is my terminology incorrect?


Yes, tld (Top Level Domain) =3D .net. Your domain name is dalescort.net, =
and =E2=80=98www=E2=80=99 (and others) are called hosts (which in DNS =
terminology are either A records or CNAMEs, if they refer to another A =
record).


>=20
> Also, fwiw, from my httpd.conf:
>=20
> Listen 80
> ServerName www.dalescott.net:80
>=20
> and my typical vhost entry in httpd-vhosts.com:
>=20
> <VirtualHost mantisbt.dalescott.net:80>
>    DocumentRoot "/usr/local/www/mantisbt"
>    <Directory "/usr/local/www/mantisbt">
>        allow from all
>        Options None
>        Require all granted
>    </Directory>
> </VirtualHost>
>=20


I think you need a ServerName directive in your VirtualHost setup, so in =
the above example ServerName mantisbt.dalescott.net =
<http://mantisbt.dalescott.net/>. Without that directive my hosts =
don=E2=80=99t work.

Peter

=E2=80=94
It never hurts to help =E2=80=94 Eek!






Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?3D5DAD93-8EE2-487B-B678-F07F7B753A44>