Troubleshooting Apache
techlists at phpcoderusa.com
techlists at phpcoderusa.com
Fri Jun 11 08:41:50 MST 2021
Thanks. Either I cannot search well or how to create a BIND9 zone file
is not documented very well. This is making me more determined to
figure this out.
On 2021-06-11 07:42, Michael Butash wrote:
> Opps, unbound I meant for the replacement dns server.
> https://calomel.org/unbound_dns.html
>
> -mb
>
> On Fri, Jun 11, 2021 at 7:39 AM Michael Butash <michael at butash.net>
> wrote:
>
>> Bind zones can be tricky with formatting, probably just observing
>> what your tool is generating that works matches the formatting of
>> your hand-built zone. Manually managing bind zones is rather
>> annoying I've found, this was using it for some very large
>> companies.
>>
>> Last time I setup dns I used unbind on a hosted server, it's a bit
>> less quirky than bind, plus does things like dns over https and
>> other evolutionary dns security features. Might find it more to
>> your liking.
>>
>> -mb
>>
>> On Fri, Jun 11, 2021 at 7:27 AM Keith Smith via PLUG-discuss
>> <plug-discuss at lists.phxlinux.org> wrote:
>>
>>> Thank you for your help!!
>>>
>>> It appears Apache is working. The one domain that is using
>>> Zoneedit
>>> works fine. The domain that is using my zone is not working. Not
>>> sure
>>> why not.
>>>
>>> Last night I remembered there was a DNS/BIND doc on "The Linux
>>> Documentation Project" So I am just now looking at that.
>>>
>>> I think the problem might be as simple as my glue records and I
>>> have no
>>> idea how to verify they are correct.
>>>
>>> Still learning...
>>>
>>> On 2021-06-10 18:27, Stephen Partington via PLUG-discuss wrote:
>>>> A consideration. You can have multiple domains resolved to the
>>> same ip
>>>> address. Apache will even sort itself out very nicely in the
>>> process.
>>>>
>>>> That is a "working" scenario and apache basically only cares
>>> about the
>>>> domain that the browser is looking for and will load up what it
>>> has
>>>> matched.
>>>>
>>>> On Wed, Jun 9, 2021, 3:27 PM Keith Smith via PLUG-discuss
>>>> <plug-discuss at lists.phxlinux.org> wrote:
>>>>
>>>>> For BIND caching?
>>>>>
>>>>> On 2021-06-09 15:22, keith Miller wrote:
>>>>>> Try using 1.1.1.1, 8.8.4.4 and 8.8.8.8
>>>>>>
>>>>>> On Wed, Jun 9, 2021 at 3:04 PM Keith Smith via PLUG-discuss
>>>>>> <plug-discuss at lists.phxlinux.org> wrote:
>>>>>>
>>>>>>> For keithsmithinternetmarketing.com [1] [1] [1] I had hosts
>>> (glue
>>>>> records)
>>>>>>> set to my
>>>>>>> VPS until this morning when I parked the domain at GoDaddy.
>>>>>>>
>>>>>>> The two domains I am working with on my SOHO home server are
>>> 1)
>>>>>>> keiththewebguy.com [2] [2] [2] and 2) phpcodetest.com [3]
>>> [3] [3].
>>>>>>>
>>>>>>> I setup keiththewebguy.com [2] [2] [2] first and configured
>>> BIND9 for
>>>>> it on
>>>>>>> the same
>>>>>>> server.
>>>>>>>
>>>>>>> To try to troubleshoot I configures phpcodetest.com [3] [3]
>>> [3] on
>>>>> the same
>>>>>>> box,
>>>>>>> however it uses Zoneedit for DNS. phpcodetest.com [3] [3]
>>> [3] works
>>>>> as
>>>>>>> expected.
>>>>>>>
>>>>>>> keiththewebguy.com [2] [2] [2] does not work.
>>>>>>>
>>>>>>> I've tried everything I can think of. I've tested the config
>>>>> files,
>>>>>>> run
>>>>>>> dig, and verified port 53 is open.
>>>>>>>
>>>>>>> I took the zone file for phpcodetest.com [3] [3] [3] from my
>>> VPS that
>>>>> runs
>>>>>>> Plesk and
>>>>>>> previously hosted keiththewebguy.com [2] [2] [2]. I forgot
>>> to change
>>>>> the IP
>>>>>>>
>>>>>>> addresses in the zone to my SOHO box and the website on my
>>> VPS
>>>>> was
>>>>>>> accessible. When I changed the IP addresses in the zone file
>>> to
>>>>> my
>>>>>>> SOHO
>>>>>>> box the website quit working.
>>>>>>>
>>>>>>> I assumed this meant I had an Apache issue and that is when I
>>>>> added
>>>>>>> phpcodetest.com [3] [3] [3] to test Apache. I've checked
>>> apache
>>>>> several
>>>>>>> times...
>>>>>>> And I am about to verify one more time.
>>>>>>>
>>>>>>> Thank you for your help!!
>>>>>>>
>>>>>>> On 2021-06-09 14:21, Michael Butash wrote:
>>>>>>>> Some validation steps from my house here:
>>>>>>>>
>>>>>>>> ## check who owns it, this is same as whois effectively
>>>>>>>>
>>>>>>>> $ host -t NS keithsmithinternetmarketing.com [1] [1] [1] [1]
>>>>>>>> keithsmithinternetmarketing.com [1] [1] [1] [1] name server
>>>>>>> ns59.domaincontrol.com [4] [4] [4]
>>>>>>>> [2].
>>>>>>>> keithsmithinternetmarketing.com [1] [1] [1] [1] name server
>>>>>>> ns60.domaincontrol.com [5] [5] [5]
>>>>>>>> [3].
>>>>>>>>
>>>>>>>> ## confirm sanity that it thinks it owns it too, this is
>>> godaddy
>>>>>>> dns
>>>>>>>>
>>>>>>>> $ host -t NS keithsmithinternetmarketing.com [1] [1] [1] [1]
>>>>>>>> NS59.DOMAINCONTROL.COM [6] [6] [6] [4]
>>>>>>>> Using domain server:
>>>>>>>> Name: NS59.DOMAINCONTROL.COM [6] [6] [6] [4]
>>>>>>>> Address: 97.74.100.31#53
>>>>>>>> Aliases:
>>>>>>>>
>>>>>>>> keithsmithinternetmarketing.com [1] [1] [1] [1] name server
>>>>>>> ns59.domaincontrol.com [4] [4] [4]
>>>>>>>> [2].
>>>>>>>> keithsmithinternetmarketing.com [1] [1] [1] [1] name server
>>>>>>> ns60.domaincontrol.com [5] [5] [5]
>>>>>>>> [3].
>>>>>>>>
>>>>>>>> ## what does the current soa look like hosted on godaddy
>>>>>>>>
>>>>>>>> $ host -t SOA keithsmithinternetmarketing.com [1] [1] [1]
>>> [1]
>>>>>>>> keithsmithinternetmarketing.com [1] [1] [1] [1] has SOA
>>> record
>>>>>>>> ns59.domaincontrol.com [4] [4] [4] [2]. dns.jomax.net [7]
>>> [7] [7] [5].
>>>>> 2021060900
>>>>>>> 28800 7200
>>>>>>>> 604800 600
>>>>>>>>
>>>>>>>> ## does flash a-record exist? newp.
>>>>>>>>
>>>>>>>> $ host -t A flash.keithsmithinternetmarketing.com [8] [8]
>>> [8] [6]
>>>>>>>> Host flash.keithsmithinternetmarketing.com [8] [8] [8] [6]
>>> not
>>>>> found:
>>>>>>> 3(NXDOMAIN)
>>>>>>>>
>>>>>>>> ## It does have a base record though for the domain
>>>>>>>>
>>>>>>>> $ host -t A keithsmithinternetmarketing.com [1] [1] [1] [1]
>>>>>>> NS59.DOMAINCONTROL.COM [6] [6] [6]
>>>>>>>> [4]
>>>>>>>> keithsmithinternetmarketing.com [1] [1] [1] [1] has address
>>>>> 34.98.99.30
>>>>>>>>
>>>>>>>> ## is there a www record?
>>>>>>>>
>>>>>>>> host -t A www.keithsmithinternetmarketing.com [9] [9] [9]
>>> [7]
>>>>>>>> Host www.keithsmithinternetmarketing.com [9] [9] [9] [7] not
>>> found:
>>>>>>> 2(SERVFAIL)
>>>>>>>>
>>>>>>>> I get nothing from pulling up the base domain, just a blank
>>>>> page.
>>>>>>>> What urls are you set to currently for your vhosts?
>>>>>>>>
>>>>>>>> -mb
>>>>>>>>
>>>>>>>> On Wed, Jun 9, 2021 at 1:04 PM Keith Smith via PLUG-discuss
>>>>>>>> <plug-discuss at lists.phxlinux.org> wrote:
>>>>>>>>
>>>>>>>>> I have two domains being hosted on this box. The first is
>>>>>>> working
>>>>>>>>> with
>>>>>>>>> my BIND setup and does not work. The second I added as a
>>> check
>>>>>>> that
>>>>>>>>> is
>>>>>>>>> using a 3rd party DNS and it works fine. I assume that
>>> points
>>>>> to
>>>>>>> my
>>>>>>>>>
>>>>>>>>> DNS....
>>>>>>>>>
>>>>>>>>> Interestingly if I change the IP addresses on my Zone to
>>> the
>>>>> same
>>>>>>>>> domain
>>>>>>>>> that is hosted on my VPS it works. That I thought
>>> indicated it
>>>>>>> was
>>>>>>>>> an
>>>>>>>>> apache issue.
>>>>>>>>>
>>>>>>>>> Interesting problem.
>>>>>>>>>
>>>>>>>>> Still hoping for resolution....
>>>>>>>>>
>>>>>>>>> On 2021-06-09 10:54, Stephen Partington via PLUG-discuss
>>> wrote:
>>>>>>>>>> Yeah. There is a default configuration for apache. That
>>> needs
>>>>> to
>>>>>>>>> be
>>>>>>>>>> shut off or removed if it has not been already.
>>>>>>>>>>
>>>>>>>>>> On Wed, Jun 9, 2021, 9:05 AM Keith Smith via PLUG-discuss
>>>>>>>>>> <plug-discuss at lists.phxlinux.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> I am trying to configure just one domain. I assume you
>>> are
>>>>>>>>> talking
>>>>>>>>>>> about the Apache2 vhost configuration file? I have the
>>>>> default
>>>>>>>>> and
>>>>>>>>>>> the
>>>>>>>>>>> one for my domain. Can you expand on what your thoughts
>>> are
>>>>> in
>>>>>>>>>>> reference to "default"? Thanks!!
>>>>>>>>>>>
>>>>>>>>>>> On 2021-06-09 07:42, Stephen Partington via PLUG-discuss
>>>>> wrote:
>>>>>>>>>>>> do you have a possible conflict like "default" used in
>>> more
>>>>>>> than
>>>>>>>>>>> one
>>>>>>>>>>>> active config file?
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Jun 9, 2021 at 7:38 AM Keith Smith via
>>> PLUG-discuss
>>>>>>>>>>>> <plug-discuss at lists.phxlinux.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've configured Apache more than a few times with
>>> little
>>>>>>>>> trouble.
>>>>>>>>>>>>> For
>>>>>>>>>>>>> some reason I cannot see the current site I have
>>>>> configured.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am running Ubuntu 20.04lts and Apache2.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Apache is running. I can see the default page when
>>>>> entering
>>>>>>>>> the
>>>>>>>>>>>>> private
>>>>>>>>>>>>> or the public IP to the box in my browser.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I assume that proves that port 80 is open to the world.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I configured the vhost directive file and enabled it.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I checked the configuration with "apache2ctl -t" which
>>>>>>> returns
>>>>>>>>>>>>> "Syntax
>>>>>>>>>>>>> OK".
>>>>>>>>>>>>>
>>>>>>>>>>>>> When I try to access the website via my domain, it
>>> times
>>>>> out
>>>>>>>>> and
>>>>>>>>>>> the
>>>>>>>>>>>>>
>>>>>>>>>>>>> browser says the website is not reachable.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've looked in the Apache error logs and there is
>>> nothing
>>>>>>> that
>>>>>>>>>>>>> indicates
>>>>>>>>>>>>> a problem.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Is there another log or logs I should be looking at?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Any help much appreciated!!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Keith
>>>>>>>>>>>>> ---------------------------------------------------
>>>>>>>>>>>>> PLUG-discuss mailing list -
>>> PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>>>> To subscribe, unsubscribe, or to change your mail
>>> settings:
>>>>>>>>>>>>>
>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> A mouse trap, placed on top of your alarm clock, will
>>>>> prevent
>>>>>>>>> you
>>>>>>>>>>> from
>>>>>>>>>>>> rolling over and going back to sleep after you hit the
>>>>> snooze
>>>>>>>>>>> button.
>>>>>>>>>>>>
>>>>>>>>>>>> Stephen
>>>>>>>>>>>> ---------------------------------------------------
>>>>>>>>>>>> PLUG-discuss mailing list -
>>> PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>>> To subscribe, unsubscribe, or to change your mail
>>> settings:
>>>>>>>>>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>>> ---------------------------------------------------
>>>>>>>>>>> PLUG-discuss mailing list -
>>> PLUG-discuss at lists.phxlinux.org
>>>>>>>>>>> To subscribe, unsubscribe, or to change your mail
>>> settings:
>>>>>>>>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>>> ---------------------------------------------------
>>>>>>>>>> PLUG-discuss mailing list -
>>> PLUG-discuss at lists.phxlinux.org
>>>>>>>>>> To subscribe, unsubscribe, or to change your mail
>>> settings:
>>>>>>>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>> ---------------------------------------------------
>>>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>>
>>>>>>>>
>>>>>>>> Links:
>>>>>>>> ------
>>>>>>>> [1] http://keithsmithinternetmarketing.com
>>>>>>>> [2] http://ns59.domaincontrol.com
>>>>>>>> [3] http://ns60.domaincontrol.com
>>>>>>>> [4] http://NS59.DOMAINCONTROL.COM
>>>>>>>> [5] http://dns.jomax.net
>>>>>>>> [6] http://flash.keithsmithinternetmarketing.com
>>>>>>>> [7] http://www.keithsmithinternetmarketing.com
>>>>>>> ---------------------------------------------------
>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>> --
>>>>>> Keith D. Miller
>>>>>>
>>>>>>
>>>>>> Links:
>>>>>> ------
>>>>>> [1] http://keithsmithinternetmarketing.com
>>>>>> [2] http://keiththewebguy.com
>>>>>> [3] http://phpcodetest.com
>>>>>> [4] http://ns59.domaincontrol.com
>>>>>> [5] http://ns60.domaincontrol.com
>>>>>> [6] http://NS59.DOMAINCONTROL.COM
>>>>>> [7] http://dns.jomax.net
>>>>>> [8] http://flash.keithsmithinternetmarketing.com
>>>>>> [9] http://www.keithsmithinternetmarketing.com
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>>
>>>> Links:
>>>> ------
>>>> [1] http://keithsmithinternetmarketing.com
>>>> [2] http://keiththewebguy.com
>>>> [3] http://phpcodetest.com
>>>> [4] http://ns59.domaincontrol.com
>>>> [5] http://ns60.domaincontrol.com
>>>> [6] http://NS59.DOMAINCONTROL.COM
>>>> [7] http://dns.jomax.net
>>>> [8] http://flash.keithsmithinternetmarketing.com
>>>> [9] http://www.keithsmithinternetmarketing.com
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> Links:
> ------
> [1] http://keithsmithinternetmarketing.com
> [2] http://keiththewebguy.com
> [3] http://phpcodetest.com
> [4] http://ns59.domaincontrol.com
> [5] http://ns60.domaincontrol.com
> [6] http://NS59.DOMAINCONTROL.COM
> [7] http://dns.jomax.net
> [8] http://flash.keithsmithinternetmarketing.com
> [9] http://www.keithsmithinternetmarketing.com
More information about the PLUG-discuss
mailing list