How To Transfer WordPress Domain Name to Google Cloud Hosting
Articles,  Blog

How To Transfer WordPress Domain Name to Google Cloud Hosting

Hello everyone, it’s Joe from And today we’re going to look at how to point your domain name to your Google Cloud Platform account. Now this is an especially useful tutorial for you if you were using an old hosting provider such as GoDaddy or Bluehost and you want to move to something more modern like the Google Cloud Platform to host your website. So the first step in this tutorial is to head over to the Google Cloud Platform [typing] In the upper right hand corner here – click the console tab [sniffles] Before we can proceed, you need to head over to the API Manager and here you’re going to enable the DNS API. So right next to dashboard here – click “enable API” search for DNS and Google Cloud DNS API now you’re going to enable that. In my case I already have it enabled, so I’m going to forgo this step. Once you have that completed, head down to “Networking” and to “Cloud DNS” Now we’re going to create a new zone In my case, the domain I am going to point to my Google Cloud Website is So the name of my zone is going to be EBOrchids My DNS name then will be Create that. Alright – so we’re going to add a new record set here Im going to leave this blank.. It’s going to be an “A Record” And we need the IPv4 address Now the way to find this is through our console Just open up another Google Cloud Platform tab here… And on our dashboard here we’re going to go to the compute engine… Click that… And here is our external IP Address… Now we’re going to copy this… And we’re going to paste it here. [Hits Backspace 3x] Click Create (so it’s numbers only) Alright Now in the next step we’re going to add another record set… This is going to be www So put that here… It’s going to be a CNAME Record [typing] Ok – now click “Create” Perfect! Now our next step is to head over to our Domain Name Provider… to change our nameservers I use NameCheap, but you can use whoever you want [typing] the process is relatively the same Go to your Dashboard Domain list [clicks on “manage” button] Alright now here are my Name Servers, in this case I have already added them, but I will show you how I got these. Now to get your Name Servers, Go right here [highlighting + copying text] paste [pastes text x4] NOTE: Make sure to delete the . after each nameserver Now notice how these are all the same the only difference is the “1” “2” “3” and “4” So that’s why I just copied the one, and then just changed the number So there you go – it’s all set! Now this change usually takes around 24 to 48 hours to change So be patient, and I hope this tutorial helped you If you have any questions, leave a comment in the box below or feel free to send me an email [email protected] Thanks alot. [end]


  • Sunday Ukafia

    Great tutorial. Did you notice this only points the sub-domain www ( and doesn't point the root domain to the ip? If you visit the site without www it'll display a 404 error.

  • Sunday Ukafia

    Never mind, the DNS was still propagating. We pointed the root to the IP using the A record just as in the tutorial. Everything works just fine. Thanks

  • maritza shulla


    Thanks for the tutorial.

    I would like to know if I can use a proper domain of google? Like for example the free domains of wordpress or joomla etc.
    I'm interested that my domain has an extension of google, is that possible?

  • Code Age

    Can you please tell me how i can migrate all files and database without using that plugins
    .simplet to download all file and export the database . but i cannot find where to uplaod it

  • Rachel Dickman

    Hi Joe, thank you for your videos they have been extremely helpful setting up my wordpress sites. I do have a question though, I've done all of this and all seems to be great however my site isn't updating on the mobile device. Is there something else I need to be doing? Would appreciate any advice. Thank you 🙂

  • Star Sackaney

    Right to the heart of the matter. My hubbie Gordon say's that your tutorial helped him the most after watching several, if not many before. Thanks ever so much!

  • Ross Rudall

    Worked well for me. One question, even if you can just point me in the right direction because I am finding hard to find, how do i now setup my email for my website now I have moved it to the GCP?

  • Oz Azubuine

    excellent tutorial, very easy to follow. however, could someone set up a WordPress multisite using Google container engine? a tutorial on that would be greatly appreciated.

  • Mauro Mejía

    Hi Joe, thank you for your videos they have been extremely helpful setting up my personal wordpress site.
    I have a silly question: what software do you use to do the tutorials?

  • gbitdot

    Is this free hosting for a simple static website (not wordpress)? Thought you free service up to a certain point.
    I am seeing the following>
    $24.67 per month estimated

    Effective hourly rate $0.034 (730 hours per month)

  • Sergio R Angeles

    What is the difference and/or advantage of creating a DNS zone on google cloud and updating the domain name servers VS. adding an A record to your domain with the IP address of the google cloud server?

  • Film News

    I can see a big problem…. I followed everything but i see a huge problem

    i saw a message on my jetpack plugin "jetpack has been placed into Safe mode because we noticed this is an exact copy of my wordpress external ip adress here example"

    and i see that my wordpress is loading from my ip adress here example as well as my domain also…

    this is creating dublication my blog won't rank.

    please fix this
    i just want my bitnami wordpress to load from domain only.

  • Yohnathan Arrieta

    The problem I have is that I can not connect my domain with Google Cloud, I already had it right but I had to delete the project and do it again and now I can not connect it to the domain.
    I followed all the instructions of your video and I worked but now it has not worked for me, you know how I can fix it?

  • Hilal Suhaib

    The external IP address is not static. If I am not mistaken, when you stop and restart a VM instance on Google Cloud Platform, the external IP changes. Then the A name record won't work, as the IP changed. Is there a better solution?

  • Casino Royales

    I need help, the name servers does not work with my hostgator purchased domain.
    I don't get any error messages either

  • jw1487

    Joe – thanks for this tutorial. Documentation on this process is pretty sparse on GCP, simply because it's such a massive platform. Thanks for answering this question for those of us just looking to point simple websites to their platform!!

  • One Page Zen

    What did you think of this tutorial?
    If you want to view this tutorial with each command listed step-by-step, check out the version at
    Thanks for watching!

  • Geoff Lord

    Very Helpful. Thanks for your well explained tutorial. Just wating for the dns to resolve 🙂 As a matter of curiosity, is it possible to run several wp sites from the same account and using different configurations of say 1 domain europe1 and another in say USAeastern etc. to make your websites appear to be from different IP addresses ?

  • Julio Barranco

    Everything worked great. All your tutorials are great assets for the people like me that are starting to use use Google Cloud and use a WordPress deployment. Congrats!

  • Hamid Nikbakht

    Thanks a lot for the tips. One question tho. Do you need to keep the dot at the end of the new dns addresses when your changing your dns infor in your domain domain registerar? Mine ( removes the dot after I click the continue bottun. Thanks in advance for help.

  • Anar Analytics

    Happy holidays. I have moved my DNS to google cloud DNS but since I have lost the ability to use the email addresses I had set up before using a different hosting service. What do I need to do in order to set up the same email addresses using the domain name I host on google (right now the hosting is on google cloud running on a vm instance). Thank you very much in advance for your time.

  • Zane Delucia

    With this is there a reason when I log into my website that It redirects to the IP address? Whenever I add a page it thinks my website is the IP address. For instance: if i create a page called test it goes to

  • ratichocc

    I am stuck In a huge problem. When I put my ip address url, it redirects me to and says that it refused to connect. When I change it to it redirects me to my ip address and says that it took too long to respond.

  • Bijan Izadi

    I am using hover for my domain name & when I try to add the ns from google cloud it asks for A, AAAA, CNAME etc, but no NS. It also asks for a hostname and I dont know what to write there.


  • Bitmaid

    Thanks man you are one of the only few doing tuts on Google Cloud Console. I'm doing this for WP btw and I see you have some late guides on migration to Azure and AWS. I had one on EC2 b4 and it wasn't cost effective at all. What do you think? Out of the 3 (Google Azure n AWS) which is the best for WP?

  • zhulinxiong xiongzhulin

    hello I link WEB.COM domain according to your settings Do I still need to make other changes? I use the web link it automatically jump to my IP4 address, I need to make changes in the WOOW store? Thank you

  • Patanjali Products

    Hi Jo,
    I have followed all your tutorial to hold my website , but now I'm stuck with a very big problem and when I open my website it show ERROR ESTABLISHING A DATABASE CONNECTION , PLS HELP what should I do , my website is running on Google cloud server

  • Abirami Ashramam

    I have been following your tutorials with Google cloud platform. Very informative. As I am completely new to the platform I am little bit confused. Actually my domain name servers are pointing to Cloudflare DNS. Also I have a sub domain and want to know how to transfer it to Google platform. Thanks in advance.

  • Nam Ta Xuan

    I would like to copy and override wp-content folder. I use file zilla and sftp. Is there any good way to do it ? what is the chmod ?? 777 or 775 to override this folder. Thanks

  • My Business Location

    I spent more than 10 hours to connect my google domain to google cloud platform, all didn't work. My google domain came in with default nameserver DNS, there are more options which is confusing. Please advice!

  • Gourav Bhardwaj

    I was recently delete my project & create new one.. But when i create dns. It shows dns error, that is dns not available or already used.

    Please gave me solution

  • Walas De Lima

    Hello, you would know I urinate with create ns1 and ns2 in whm pointed to the ip of the server, that is when I create a VM in the console it the same only comes with an ip, I would like to know with uses more than one ip and with points this ip to ns2, Thanks and great class.

  • manu martin

    The Google Name server with (the ending 'Period' will not work on Network Solutions Name server) Removed it and it did not give me an error? Why is that?

  • Neodiy.c0m

    Thanks man you made my day…i knew how to setup the domain on google cloud long years ago but i didn't now that Google have to use another step to enable the DNS API….long years ago it was just there without anything to enable….every passing day google actually making things more complicated than it used to be.

    I don't understand why Google does that for what good does it brings to the user

  • D P

    Awesome tutorial. I am wondering what about the mail hosting? Can we use third party email provider like zoho and update mx records on google dns manager will that work?

  • noman will

    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

    this error coming while installing ssl even cloud dns is correctly recoded.

  • enjaz VISA

    Hi, I have changed dns records but still when i typed site domain name it redirects to default ip address (bitnami multisite) like

  • Okall Joeshem

    Hi Joe, I have done everything as per the video but the domain is not resolving. I purchased the domain from google domains. What could be the problem?

  • Jason Edward

    Thank you so much. All your tutorials are so helpful! I would have never ever figured this stuff out on my own. How did you learn all of this?

  • Admol Adegz

    I have watch your video tutorials on how setup a bitnami wordpress website and how to transfer a wordpress domain name to Google Cloud Hosting. I really appreciate your level of explanation and i follow all your steps in the tutorial.

    However, after setting up the website i have issue with the domain name. Every time i type the domain name in the address bar it display " " instead of just

    It over 24hrs since i set it up but still not changing. So i dont know what might be the reason for that. And i would appreciate a help from you on the solution.

    I look forward to hearing from you.

  • Jay Gildea

    Hi Joe, Great video!   I am trying to transfer from Host Monster to Google.  The hosting has expired so I do not have access to Host Monster.  Is there any other way to do it?  At this point I just want to keep the domain.

  • Luke Quinlan

    Thanks for the help.
    I did run into an error though where I tried to add the to my domain provider, however, it just keeps saying that all of them are not a valid host.
    Any ideas where I've gone wrong?

  • Vishal Mehra

    You are my go to Source for the help that I need. Just a question the new interface is way different and has a thing called "DNSSEC" option. Any tips on what should be the option there On, Off or Transfer. Thanks a Ton for all the good work you do.

  • Jas Kielakowski

    Great tutorial! How to activate the ssl certificate after pointing your DNS to Google Cloud Hosting? Is ther any tutorial how to do it?

  • Lena Webb-Bey

    Your tutorial was excellent. However, I lost my cname setup and can't add the rest needed. How do I edit DNS and CNAME server?

  • panha nov

    After following all steps, my site was like: "Future home of something quite cool. If you're the site owner, log in to launch this site. If you are a visitor, check back soon." Is it normal? Should I keep waiting?

    From Godaddy.

  • Blazers Goat TEN

    How to create a subdomain with my domain to use with WordPress on Google Cloud? Non-tech person here.. if you could just let me know One Page Zen?

  • Bookmine Online

    Wouldn't allow me to enter domain name in canonical name so had to put ip address in number format. Hopefully works!

Leave a Reply

Your email address will not be published. Required fields are marked *