title: Redirect with lighttpd
body: <p>I'm trying to do this:</p>
  
  <p><a href="https://dummiesite.com" rel="nofollow">https://dummiesite.com</a> --> <a href="http://dummiesite.com" rel="nofollow">http://dummiesite.com</a></p>
  
  <p>and</p>
  
  <p><a href="http://dummiesite.com" rel="nofollow">http://dummiesite.com</a>  --> <a href="http://new.dummiesite.com" rel="nofollow">http://new.dummiesite.com</a></p>
  
  <p>and</p>
  
  <p><a href="http://new.dummiesite.com" rel="nofollow">http://new.dummiesite.com</a> --> <a href="https://new.dummiesite.com" rel="nofollow">https://new.dummiesite.com</a></p>
  
  <p>So no matter what site the user goes, it will allways be redirected to <a href="https://new.dummiesite.com" rel="nofollow">https://new.dummiesite.com</a></p>
  
  <p>The problem:</p>
  
  <p>With I have a wildcard certificate for *.site.com. But it is only valid for all the subdomains of site.com, not for site.com itself. With lighttpd I cannot use more than one certificate per IP (I have only one), so when the user goes to <a href="https://dummiesite.com" rel="nofollow">https://dummiesite.com</a>, it gets an error because the certificate is not valid.</p>
  
  <p>That is why I'm trying to redirect <a href="https://dummiesite.com" rel="nofollow">https://dummiesite.com</a> to <a href="http://dummiesite.com" rel="nofollow">http://dummiesite.com</a>. How can I do it without a valid certificate and without showing the user errors?</p>
  
  <p>Thanks for your help</p>