<div dir="auto">A consideration. You can have multiple domains resolved to the same ip address. Apache will even sort itself out very nicely in the process. <div dir="auto"><br></div><div dir="auto">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. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 9, 2021, 3:27 PM Keith Smith via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
For BIND caching?<br>
<br>
On 2021-06-09 15:22, keith Miller wrote:<br>
> Try using 1.1.1.1, 8.8.4.4 and 8.8.8.8<br>
> <br>
> On Wed, Jun 9, 2021 at 3:04 PM Keith Smith via PLUG-discuss<br>
> <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">plug-discuss@lists.phxlinux.org</a>> wrote:<br>
> <br>
>> For <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] I had hosts (glue records)<br>
>> set to my<br>
>> VPS until this morning when I parked the domain at GoDaddy.<br>
>> <br>
>> The two domains I am working with on my SOHO home server are 1)<br>
>> <a href="http://keiththewebguy.com" rel="noreferrer noreferrer" target="_blank">keiththewebguy.com</a> [2]  and 2) <a href="http://phpcodetest.com" rel="noreferrer noreferrer" target="_blank">phpcodetest.com</a> [3].<br>
>> <br>
>> I setup <a href="http://keiththewebguy.com" rel="noreferrer noreferrer" target="_blank">keiththewebguy.com</a> [2] first and configured BIND9 for it on<br>
>> the same<br>
>> server.<br>
>> <br>
>> To try to troubleshoot I configures <a href="http://phpcodetest.com" rel="noreferrer noreferrer" target="_blank">phpcodetest.com</a> [3] on the same<br>
>> box,<br>
>> however it uses Zoneedit for DNS.  <a href="http://phpcodetest.com" rel="noreferrer noreferrer" target="_blank">phpcodetest.com</a> [3] works as<br>
>> expected.<br>
>> <br>
>> <a href="http://keiththewebguy.com" rel="noreferrer noreferrer" target="_blank">keiththewebguy.com</a> [2] does not work.<br>
>> <br>
>> I've tried everything I can think of.  I've tested the config files,<br>
>> run<br>
>> dig, and verified port 53 is open.<br>
>> <br>
>> I took the zone file for <a href="http://phpcodetest.com" rel="noreferrer noreferrer" target="_blank">phpcodetest.com</a> [3] from my VPS that runs<br>
>> Plesk and<br>
>> previously hosted <a href="http://keiththewebguy.com" rel="noreferrer noreferrer" target="_blank">keiththewebguy.com</a> [2].  I forgot to change the IP<br>
>> <br>
>> addresses in the zone to my SOHO box and the website on my VPS was<br>
>> accessible.  When I changed the IP addresses in the zone file to my<br>
>> SOHO<br>
>> box the website quit working.<br>
>> <br>
>> I assumed this meant I had an Apache issue and that is when I added<br>
>> <a href="http://phpcodetest.com" rel="noreferrer noreferrer" target="_blank">phpcodetest.com</a> [3] to test Apache.  I've checked apache several<br>
>> times...<br>
>> And I am about to verify one more time.<br>
>> <br>
>> Thank you for your help!!<br>
>> <br>
>> On 2021-06-09 14:21, Michael Butash wrote:<br>
>>> Some validation steps from my house here:<br>
>>> <br>
>>> ## check who owns it, this is same as whois effectively<br>
>>> <br>
>>> $ host -t NS <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1]<br>
>>> <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1] name server<br>
>> <a href="http://ns59.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">ns59.domaincontrol.com</a> [4]<br>
>>> [2].<br>
>>> <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1] name server<br>
>> <a href="http://ns60.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">ns60.domaincontrol.com</a> [5]<br>
>>> [3].<br>
>>> <br>
>>> ## confirm sanity that it thinks it owns it too, this is godaddy<br>
>> dns<br>
>>> <br>
>>> $ host -t NS <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1]<br>
>>> <a href="http://NS59.DOMAINCONTROL.COM" rel="noreferrer noreferrer" target="_blank">NS59.DOMAINCONTROL.COM</a> [6] [4]<br>
>>> Using domain server:<br>
>>> Name: <a href="http://NS59.DOMAINCONTROL.COM" rel="noreferrer noreferrer" target="_blank">NS59.DOMAINCONTROL.COM</a> [6] [4]<br>
>>> Address: 97.74.100.31#53<br>
>>> Aliases:<br>
>>> <br>
>>> <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1] name server<br>
>> <a href="http://ns59.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">ns59.domaincontrol.com</a> [4]<br>
>>> [2].<br>
>>> <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1] name server<br>
>> <a href="http://ns60.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">ns60.domaincontrol.com</a> [5]<br>
>>> [3].<br>
>>> <br>
>>> ## what does the current soa look like hosted on godaddy<br>
>>> <br>
>>> $ host -t SOA <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1]<br>
>>> <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1] has SOA record<br>
>>> <a href="http://ns59.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">ns59.domaincontrol.com</a> [4] [2]. <a href="http://dns.jomax.net" rel="noreferrer noreferrer" target="_blank">dns.jomax.net</a> [7] [5]. 2021060900<br>
>> 28800 7200<br>
>>> 604800 600<br>
>>> <br>
>>> ## does flash a-record exist?  newp.<br>
>>> <br>
>>> $ host -t A <a href="http://flash.keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">flash.keithsmithinternetmarketing.com</a> [8] [6]<br>
>>> Host <a href="http://flash.keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">flash.keithsmithinternetmarketing.com</a> [8] [6] not found:<br>
>> 3(NXDOMAIN)<br>
>>> <br>
>>> ## It does have a base record though for the domain<br>
>>> <br>
>>> $ host -t A <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1]<br>
>> <a href="http://NS59.DOMAINCONTROL.COM" rel="noreferrer noreferrer" target="_blank">NS59.DOMAINCONTROL.COM</a> [6]<br>
>>> [4]<br>
>>> <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">keithsmithinternetmarketing.com</a> [1] [1] has address 34.98.99.30<br>
>>> <br>
>>> ## is there a www record?<br>
>>> <br>
>>> host -t A <a href="http://www.keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">www.keithsmithinternetmarketing.com</a> [9] [7]<br>
>>> Host <a href="http://www.keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">www.keithsmithinternetmarketing.com</a> [9] [7] not found:<br>
>> 2(SERVFAIL)<br>
>>> <br>
>>> I get nothing from pulling up the base domain, just a blank page.<br>
>>> What urls are you set to currently for your vhosts?<br>
>>> <br>
>>> -mb<br>
>>> <br>
>>> On Wed, Jun 9, 2021 at 1:04 PM Keith Smith via PLUG-discuss<br>
>>> <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">plug-discuss@lists.phxlinux.org</a>> wrote:<br>
>>> <br>
>>>> I have two domains being hosted on this box.  The first is<br>
>> working<br>
>>>> with<br>
>>>> my BIND setup and does not work.  The second I added as a check<br>
>> that<br>
>>>> is<br>
>>>> using a 3rd party DNS and it works fine.  I assume that points to<br>
>> my<br>
>>>> <br>
>>>> DNS....<br>
>>>> <br>
>>>> Interestingly if I change the IP addresses on my Zone to the same<br>
>>>> domain<br>
>>>> that is hosted on my VPS it works.  That I thought indicated it<br>
>> was<br>
>>>> an<br>
>>>> apache issue.<br>
>>>> <br>
>>>> Interesting problem.<br>
>>>> <br>
>>>> Still hoping for resolution....<br>
>>>> <br>
>>>> On 2021-06-09 10:54, Stephen Partington via PLUG-discuss wrote:<br>
>>>>> Yeah. There is a default configuration for apache. That needs to<br>
>>>> be<br>
>>>>> shut off or removed if it has not been already.<br>
>>>>> <br>
>>>>> On Wed, Jun 9, 2021, 9:05 AM Keith Smith via PLUG-discuss<br>
>>>>> <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">plug-discuss@lists.phxlinux.org</a>> wrote:<br>
>>>>> <br>
>>>>>> I am trying to configure just one domain.  I assume you are<br>
>>>> talking<br>
>>>>>> about the Apache2 vhost configuration file?  I have the default<br>
>>>> and<br>
>>>>>> the<br>
>>>>>> one for my domain.  Can you expand on what your thoughts are in<br>
>>>>>> reference to "default"?  Thanks!!<br>
>>>>>> <br>
>>>>>> On 2021-06-09 07:42, Stephen Partington via PLUG-discuss wrote:<br>
>>>>>>> do you have a possible conflict like "default" used in more<br>
>> than<br>
>>>>>> one<br>
>>>>>>> active config file?<br>
>>>>>>> <br>
>>>>>>> On Wed, Jun 9, 2021 at 7:38 AM Keith Smith via PLUG-discuss<br>
>>>>>>> <<a href="mailto:plug-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">plug-discuss@lists.phxlinux.org</a>> wrote:<br>
>>>>>>> <br>
>>>>>>>> Hi,<br>
>>>>>>>> <br>
>>>>>>>> I've configured Apache more than a few times with little<br>
>>>> trouble.<br>
>>>>>>>> For<br>
>>>>>>>> some reason I cannot see the current site I have configured.<br>
>>>>>>>> <br>
>>>>>>>> I am running Ubuntu 20.04lts and Apache2.<br>
>>>>>>>> <br>
>>>>>>>> Apache is running.  I can see the default page when entering<br>
>>>> the<br>
>>>>>>>> private<br>
>>>>>>>> or the public IP to the box in my browser.<br>
>>>>>>>> <br>
>>>>>>>> I assume that proves that port 80 is open to the world.<br>
>>>>>>>> <br>
>>>>>>>> I configured the vhost directive file and enabled it.<br>
>>>>>>>> <br>
>>>>>>>> I checked the configuration with "apache2ctl -t" which<br>
>> returns<br>
>>>>>>>> "Syntax<br>
>>>>>>>> OK".<br>
>>>>>>>> <br>
>>>>>>>> When I try to access the website via my domain, it times out<br>
>>>> and<br>
>>>>>> the<br>
>>>>>>>> <br>
>>>>>>>> browser says the website is not reachable.<br>
>>>>>>>> <br>
>>>>>>>> I've looked in the Apache error logs and there is nothing<br>
>> that<br>
>>>>>>>> indicates<br>
>>>>>>>> a problem.<br>
>>>>>>>> <br>
>>>>>>>> Is there another log or logs I should be looking at?<br>
>>>>>>>> <br>
>>>>>>>> Any help much appreciated!!<br>
>>>>>>>> <br>
>>>>>>>> Keith<br>
>>>>>>>> ---------------------------------------------------<br>
>>>>>>>> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
>>>>>>>> To subscribe, unsubscribe, or to change your mail settings:<br>
>>>>>>>> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>>>>>>> <br>
>>>>>>> --<br>
>>>>>>> A mouse trap, placed on top of your alarm clock, will prevent<br>
>>>> you<br>
>>>>>> from<br>
>>>>>>> rolling over and going back to sleep after you hit the snooze<br>
>>>>>> button.<br>
>>>>>>> <br>
>>>>>>> Stephen<br>
>>>>>>> ---------------------------------------------------<br>
>>>>>>> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:<br>
>>>>>>> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>>>>>> ---------------------------------------------------<br>
>>>>>> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
>>>>>> To subscribe, unsubscribe, or to change your mail settings:<br>
>>>>>> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>>>>> ---------------------------------------------------<br>
>>>>> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
>>>>> To subscribe, unsubscribe, or to change your mail settings:<br>
>>>>> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>>>> ---------------------------------------------------<br>
>>>> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
>>>> To subscribe, unsubscribe, or to change your mail settings:<br>
>>>> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>>> <br>
>>> <br>
>>> Links:<br>
>>> ------<br>
>>> [1] <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">http://keithsmithinternetmarketing.com</a><br>
>>> [2] <a href="http://ns59.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">http://ns59.domaincontrol.com</a><br>
>>> [3] <a href="http://ns60.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">http://ns60.domaincontrol.com</a><br>
>>> [4] <a href="http://NS59.DOMAINCONTROL.COM" rel="noreferrer noreferrer" target="_blank">http://NS59.DOMAINCONTROL.COM</a><br>
>>> [5] <a href="http://dns.jomax.net" rel="noreferrer noreferrer" target="_blank">http://dns.jomax.net</a><br>
>>> [6] <a href="http://flash.keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">http://flash.keithsmithinternetmarketing.com</a><br>
>>> [7] <a href="http://www.keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">http://www.keithsmithinternetmarketing.com</a><br>
>> ---------------------------------------------------<br>
>> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
>> To subscribe, unsubscribe, or to change your mail settings:<br>
>> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
>  --<br>
> Keith D. Miller<br>
> <br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="http://keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">http://keithsmithinternetmarketing.com</a><br>
> [2] <a href="http://keiththewebguy.com" rel="noreferrer noreferrer" target="_blank">http://keiththewebguy.com</a><br>
> [3] <a href="http://phpcodetest.com" rel="noreferrer noreferrer" target="_blank">http://phpcodetest.com</a><br>
> [4] <a href="http://ns59.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">http://ns59.domaincontrol.com</a><br>
> [5] <a href="http://ns60.domaincontrol.com" rel="noreferrer noreferrer" target="_blank">http://ns60.domaincontrol.com</a><br>
> [6] <a href="http://NS59.DOMAINCONTROL.COM" rel="noreferrer noreferrer" target="_blank">http://NS59.DOMAINCONTROL.COM</a><br>
> [7] <a href="http://dns.jomax.net" rel="noreferrer noreferrer" target="_blank">http://dns.jomax.net</a><br>
> [8] <a href="http://flash.keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">http://flash.keithsmithinternetmarketing.com</a><br>
> [9] <a href="http://www.keithsmithinternetmarketing.com" rel="noreferrer noreferrer" target="_blank">http://www.keithsmithinternetmarketing.com</a><br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div>