<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    TIL:<br>
    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.<br>
    <br>
    Oh and my co-worker told me about this command:<br>
    apache2ctl configtest<br>
    <br>
    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.<br>
    <br>
    Thanks William and Jason.<br>
    <br>
    Regards,<br>
    <br>
    Jared<br>
    <br>
    <div class="moz-cite-prefix">On 5/28/19 2:53 PM, William Pearson
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5ced9fc5.1c69fb81.b8235.070a@mx.google.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal">Thanks,</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">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.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Will</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div
          style="mso-element:para-border-div;border:none;border-top:solid
          #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal" style="border:none;padding:0in"><b>From:
            </b><a href="mailto:js@jasonschaefer.com"
              moz-do-not-send="true">jason schaefer</a><br>
            <b>Sent: </b>Tuesday, May 28, 2019 11:59 AM<br>
            <b>To: </b><a href="mailto:nmglug@lists.nmglug.org"
              moz-do-not-send="true">nmglug@lists.nmglug.org</a><br>
            <b>Subject: </b>Re: [nmglug] Website Problem</p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><br>
          <br>
          <o:p></o:p></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
            <div>
              <p class="MsoNormal">So, I've set up a webpage and <a
                  href="http://www.domain.com" moz-do-not-send="true">www.domain.com</a>
                works, but <a href="http://domain.com"
                  moz-do-not-send="true">domain.com</a>, gets a Apache2
                Ubuntu <o:p></o:p></p>
            </div>
          </div>
        </blockquote>
        <p>Be sure that example.com has a virtualHost with "ServerName
          example.com" in it. I like using "ServerAlias <a
            href="http://www.example.com" moz-do-not-send="true">www.example.com</a>"</p>
        <p><o:p> </o:p></p>
        <p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
nmglug mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nmglug@lists.nmglug.org">nmglug@lists.nmglug.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org">http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>