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