Skip to content

Instantly share code, notes, and snippets.

@karlkaebnick
Last active March 8, 2019 20:39
Show Gist options
  • Save karlkaebnick/a3951334db194219345e3be2d37a8787 to your computer and use it in GitHub Desktop.
Save karlkaebnick/a3951334db194219345e3be2d37a8787 to your computer and use it in GitHub Desktop.
How to add a new domain pointing at an acquia instance
  • Have acquia add the new site to our cloudflare account
    • The new site should have a "partial" DNS configuration
    • Generally this involves adding a TXT record to our DNS account to prove that we "own" the domain.
      • Note: to check if the TXT record has been added:
        host -t TXT <domain>
  • Once the new cloudflare site is added, figure out the correct IP that the domain should be pointed at in order to direct traffic for this domain to cloudflare:
    • Flush your local DNS cache:
      ipconfig /FLUSHDNS
    • Find the correct ip to point the domain at:
      dig <domain>.cdn.cloudflare.net
      e.g.,
      dig bridgingneighborhoods.org.cdn.cloudflare.net
  • Add or update an A record in your DNS account for the domain, with the value of this IP
    • A typical setup is to have the "bare domain", e.g., "bridgingneighborhoods.org" pointing at cloudflare, with the "www" version of that domain ending up at the same place. In order to achieve this add "www" as a CNAME with value "@".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment