Created
October 28, 2019 21:17
-
-
Save mikolajpe/3fbf4832d2043823c04d7dc37ccfd3b5 to your computer and use it in GitHub Desktop.
How to add CNAME record to redirect www subdomain to google storage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud dns record-sets transaction start --zone=samplewebsite | |
gcloud dns record-sets transaction add -zone=samplewebsite --name="www.samplewebsite.pl" --ttl=300 --type=CNAME "c.storage.googleapis.com." | |
gcloud dns record-sets transaction execute --zone samplewebsite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment