Hi, So, I've set up a webpage and www.domain.com works, but domain.com, gets a Apache2 Ubuntu Default Page. Not sure why this is happening? Any ideas? Will
Hi William, Sounds like a DNS issue to me. Not a web server issue. You need a CNAME record for domain.com to work dig @kitsune.swcp.com www.abqlug.com ;; ANSWER SECTION: www.abqlug.com. 3600 IN CNAME abqlug.com. abqlug.com. 3600 IN A 216.184.2.32 I trimmed the command results so you can see the CNAME record for my domain name. If I did the same for your domain name, I suspect it's missing the CNAME. If I'm wrong, please tell me the domain name. You can directly message me if you don't want the mailing list to see it. Regards, Jared On 5/28/19 8:42 AM, William Pearson wrote:
Hi,
So, I've set up a webpage and www.domain.com <http://www.domain.com> works, but domain.com <http://domain.com>, gets a Apache2 Ubuntu Default Page. Not sure why this is happening?
Any ideas?
Will
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
So, I've set up a webpage and www.domain.com <http://www.domain.com> works, but domain.com <http://domain.com>, gets a Apache2 Ubuntu
Be sure that example.com has a virtualHost with "ServerName example.com" in it. I like using "ServerAlias www.example.com"
Thanks, I think that helped me resolve the issue. I think ISPConfig wasn’t correctly editing the vhost file. When I set that up manually it seemed to work fine. Will From: jason schaefer Sent: Tuesday, May 28, 2019 11:59 AM To: nmglug@lists.nmglug.org Subject: Re: [nmglug] Website Problem So, I've set up a webpage and www.domain.com works, but domain.com, gets a Apache2 Ubuntu Be sure that example.com has a virtualHost with "ServerName example.com" in it. I like using "ServerAlias www.example.com"
TIL: that ISPConfig is a thing. And that adding a cname without a vhost can result in relying on apache to make the right call <- not ideal. Oh and my co-worker told me about this command: apache2ctl configtest That will tell you if the config is obviously broken, handy for when you are about to restart the service and would like to make sure the config isn't broken. Thanks William and Jason. Regards, Jared On 5/28/19 2:53 PM, William Pearson wrote:
Thanks,
I think that helped me resolve the issue. I think ISPConfig wasn’t correctly editing the vhost file. When I set that up manually it seemed to work fine.
Will
*From: *jason schaefer <mailto:js@jasonschaefer.com> *Sent: *Tuesday, May 28, 2019 11:59 AM *To: *nmglug@lists.nmglug.org <mailto:nmglug@lists.nmglug.org> *Subject: *Re: [nmglug] Website Problem
So, I've set up a webpage and www.domain.com <http://www.domain.com> works, but domain.com <http://domain.com>, gets a Apache2 Ubuntu
Be sure that example.com has a virtualHost with "ServerName example.com" in it. I like using "ServerAlias www.example.com <http://www.example.com>"
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
participants (4)
-
ABQLUG -
jason schaefer -
William Pearson -
William Pearson