[kwlug-disc] baffled - how is this site working?
Charles M
chaslinux at gmail.com
Thu Jul 16 08:55:59 EDT 2020
Thanks Chris and Paul. As Chris mentioned I'd changed the Nameservers
from Gandi to Linode. Before I posted I used one of those "see how
your website looks to 6 sites around the world" services and it
actually appeared on all 6, so I figured the DNS transition was
happening faster than expected.
Early this morning I created an Apache config file for the chaslinux
web site and re-ran certbot to bring in all the variations of the
site. Thanks again!
Charles
On Wed, Jul 15, 2020 at 11:32 PM Chris Irwin <chris at chrisirwin.ca> wrote:
>
> On Wed, Jul 15, 2020 at 11:18:07PM -0400, Paul Nijjar via kwlug-disc wrote:
> >
> >Is chaslinux.com actually pointing to your web server?
> >
> >I see:
> >
> >npnijjar at nb-heartburn:~$ nslookup chaslinux.com
> >Server: 206.248.154.22
> >Address: 206.248.154.22#53
> >
> >Non-authoritative answer:
> >Name: chaslinux.com
> >Address: 217.70.184.38
> >Name: chaslinux.com
> >Address: 2600:3c03::f03c:91ff:fe73:e9fa
>
> Not sure if Charles is changing his DNS while we're looking it up, but I
> got different results:
>
> $ nslookup chaslinux.com
> Server: 10.10.10.1
> Address: 10.10.10.1#53
>
> Non-authoritative answer:
> Name: chaslinux.com
> Address: 50.116.61.78
> Name: chaslinux.com
> Address: 2600:3c03::f03c:91ff:fe73:e9fa
>
> I get the same address (both legacy and v6) for comprec.org and
> fasteroids.ca.
>
> Apache with multiple virtual hosts will pick the vhost based on the
> request url if possible. However, the first vhost is used if the domain
> doesn't match. So I could point charles.chrisirwin.ca to the above
> addresses, and probably get the same drupal landing page.
>
> If you want an error page for unmatched domains (or a redirect to a
> "default" domain), you'll have to make a dummy vhost with a name like
> 0-dummy.conf or something so it gets loaded before your other vhosts.
>
> --
> Chris Irwin
>
> email: chris at chrisirwin.ca
> xmpp: chris at chrisirwin.ca
> web: https://chrisirwin.ca
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
--
Charles McColm
Fasteroids: http://chaslinux.itch.io/fasteroids
Twitter/Identica/Google+: @chaslinux
More information about the kwlug-disc
mailing list