title: Certbot: No valid ip addresses found / Invalid response found (From Google Cloud)
body: <p>I got this cmd:</p>
  <pre><code>sudo certbot --apache -d pushupteam.dev -d www.pushupteam.dev
  </code></pre>
  <p>and this is. what I got :</p>
  <pre><code>Saving debug log to /var/log/letsencrypt/letsencrypt.log
  
  
   Plugins selected: Authenticator apache, Installer apache
      Obtaining a new certificate
  
  Performing the following challenges:
  http-01 challenge for pushupteam.dev
  http-01 challenge for www.pushupteam.dev
  Enabled Apache rewrite module
  Waiting for verification...
  Cleaning up challenges
  Failed authorization procedure. www.pushupteam.dev (http-01): urn:ietf:params:acme:error:un
  authorized :: The client lacks sufficient authorization :: Invalid response from http://www
  .pushupteam.dev/.well-known/acme-challenge/j4gaJn6vX6tvEGu0HQagjT69Oc3R7l_VJ8CgaluAnLk [34.
  89.161.114]: &quot;&lt;!DOCTYPE HTML PUBLIC \&quot;-//IETF//DTD HTML 2.0//EN\&quot;&gt;\n&lt;html&gt;&lt;head&gt;\n&lt;title&gt;40
  4 Not Found&lt;/title&gt;\n&lt;/head&gt;&lt;body&gt;\n&lt;h1&gt;Not Found&lt;/h1&gt;\n&lt;p&quot;, pushupteam.dev (http-01): urn:
  ietf:params:acme:error:dns :: No valid IP addresses found for pushupteam.dev
  IMPORTANT NOTES:
   - The following errors were reported by the server:
     Domain: pushupteam.dev
     Type:   None
     Detail: No valid IP addresses found for pushupteam.dev
   - The following errors were reported by the server:
     Domain: www.pushupteam.dev
     Type:   unauthorized
     Detail: Invalid response from
     http://www.pushupteam.dev/.well-known/acme-challenge/j4gaJn6vX6tvEGu0HQagjT69Oc3R7l_VJ8C
  galuAnLk
     [34.89.161.114]: &quot;&lt;!DOCTYPE HTML PUBLIC \&quot;-//IETF//DTD HTML
     2.0//EN\&quot;&gt;\n&lt;html&gt;&lt;head&gt;\n&lt;title&gt;404 Not
     Found&lt;/title&gt;\n&lt;/head&gt;&lt;body&gt;\n&lt;h1&gt;Not Found&lt;/h1&gt;\n&lt;p&quot;
     To fix these errors, please make sure that your domain name was
     entered correctly and the DNS A/AAAA record(s) for that domain
     contain(s) the right IP address.
  
   
  </code></pre>
  <p>I have the Domain from Namecheap &amp; I use google cloud DNS.</p>
  <p>what is the Problem? I have only interest in ipv4 so no AAAA record;</p>
  <p>also, my ufw is disabled (like all google VMs)</p>
  <p><strong>Edit:</strong></p>
  <p>my etc/apache2/sites-available/srv.conf</p>
  <pre><code>&lt;VirtualHost *:80&gt;
   ServerAdmin admin@pushupteam.dev
   DocumentRoot /var/www/html/
   ServerName pushupteam.dev
   &lt;Directory /var/www/html/&gt;
  Options +FollowSymLinks
  AllowOverride All
  Order allow,deny
  allow from all
   &lt;/Directory&gt;
   ErrorLog /var/log/apache2/codeigniter-error_log
   CustomLog /var/log/apache2/codeigniter-access_log common
  &lt;/VirtualHost&gt;
  </code></pre>
  <p>I use Ubuntu 18.04 LTS and Apache</p>
  <p><strong>Edit 2:</strong></p>
  <pre><code>pushupteam.dev. NS  3600    ns-cloud-b1.googledomains.com.
          ns-cloud-b2.googledomains.com.
          ns-cloud-b3.googledomains.com.
          ns-cloud-b4.googledomains.com.
  pushupteam.dev. SOA 3600    ns-cloud-b1.googledomains.com.
   cloud-dns-hostmaster.google.com.
   1 21600 3600 259200 300
  www.pushupteam.dev. A   60  34.89.161.114
  </code></pre>
  <p>should I reconfig my DNS?</p>
  <p><strong>Edit 3:</strong></p>
  <p><a href="https://i.stack.imgur.com/6mf0v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6mf0v.png" alt="cloud dns config" /></a></p>