title: VirtualHost causing ERR_TOO_MANY_REDIRECTS after installing LetsEncrypt certificates
body: <p>Edit: I took the redirect lines out of the VirtualHosts for the two domains that aren't working.  After rebooting Apache, both the HTTP and HTTPS version of both sites work as intended, but its not automatically redirecting anymore (obviously).  But those same exact redirect rules are working fine for sidmandesign.com</p>
  
  <p>I am migrating my webserver from an IIS server to a LAMP stack using Ubuntu.  I used certbot to install three SSL certificates for my three domains.  Certbot added a -le-ssl.conf file to the virtualhosts directory, so in there I now have (all in /etc/apache2/sites-enabled/ directory with the proper include inside apache.conf):</p>
  
  <p>sidmandesign.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
     ServerName www.sidmandesign.com
     ServerAlias sidmandesign.com
     DocumentRoot "/var/www/html/Sidman Designs/"
  RewriteEngine on
  RewriteCond %{SERVER_NAME} =sidmandesign.com [OR]
  RewriteCond %{SERVER_NAME} =www.sidmandesign.com
  RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>sidmandesign-le-ssl.conf:</p>
  
  <pre><code>&lt;VirtualHost *:443&gt;
      ServerName www.sidmandesign.com
      ServerAlias sidmandesign.com
      DocumentRoot "/var/www/html/Sidman Designs"
  
  Include /etc/letsencrypt/options-ssl-apache.conf
  SSLCertificateFile /etc/letsencrypt/live/sidmandesign.com/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/sidmandesign.com/privkey.pem
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>augustinebuilders.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
     ServerName www.augustinebuilders.com
     ServerAlias augustinebuilders.com
     DocumentRoot "/var/www/html/augustine/"
  RewriteEngine on
  RewriteCond %{SERVER_NAME} =augustinebuilders.com [OR]
  RewriteCond %{SERVER_NAME} =www.augustinebuilders.com
  RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>augustinebuilders-le-ssl.conf:</p>
  
  <pre><code>&lt;VirtualHost *:443&gt;
      ServerName www.augustinebuilders.com
      ServerAlias augustinebuilders.com
      DocumentRoot "/var/www/html/augustine"
  
  Include /etc/letsencrypt/options-ssl-apache.conf
  SSLCertificateFile /etc/letsencrypt/live/augustinebuilders.com/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/augustinebuilders.com/privkey.pem
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>salvagedserendipity.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
     ServerName www.salvagedserendipity.com
     ServerAlias salvagedserendipity.com
     DocumentRoot "/var/www/html/salvagedserendipity/"
  RewriteEngine on
  RewriteCond %{SERVER_NAME} =salvagedserendipity.com [OR]
  RewriteCond %{SERVER_NAME} =www.salvagedserendipity.com
  RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>salvagedserendipity-le-ssl.conf:</p>
  
  <pre><code>&lt;VirtualHost *:443&gt;
      ServerName www.salvagedserendipity.com
      ServerAlias salvagedserendipity.com
      DocumentRoot "/var/www/html/salvagedserendipity"
  
  Include /etc/letsencrypt/options-ssl-apache.conf
  SSLCertificateFile /etc/letsencrypt/live/salvagedserendipity.com/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/salvagedserendipity.com/privkey.pem
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Sidmandesign.com works just fine, it redirects to HTTPS and I can see everything.  However when I try the other two sites, they redirect to HTTPS but I get a ERR_TOO_MANY_REDIRECTS in Chrome and a generic cannot display this page in Edge/IE.</p>
  
  <p>Any ideas why one domain would work but the other two don't when configs appear identical?</p>