简体   繁体   English

Google Cloud Platform和CloudFlare上的私有服务器

[英]Private Server On Google Cloud Platform and CloudFlare

I am little new to hosting and so I am confused for take step. 我对托管不太陌生,因此对于采取步骤感到困惑。 My current situation is like below 我目前的情况如下

I have one big wordpress site in site ground. 我在站点中有一个大型wordpress网站。 Domain is from Godaddy and I am using CloudFlar. 域来自Godaddy,我正在使用CloudFlar。 I want move this site on Google cloud Instance. 我想在Google Cloud Instance上移动此网站。 So I have created Google cloud instance and have installed Cpanel/WHM. 因此,我创建了Google云实例并安装了Cpanel / WHM。 I have copied site on newly created cpanel account. 我已经在新创建的cpanel帐户上复制了网站。 Now My confusion is How I should change DNS for point my domain to Google cloud. 现在,我的困惑是我应该如何更改将域名指向Google云的DNS。

Domain on : Godaddy, Using CloudFlare : Yes, Current Hosting : Site Ground, New Destination Hosting : Google Cloud, My Current Domain : example.com 域上:Godaddy,正在使用CloudFlare:是,当前主机:网站地面,新目标主机:Google Cloud,我当前域:example.com

For More information I have setup host like host.example.com and NameServer as ns1.example.com and ns2.example.com on Google cloud. 有关更多信息,我在Google Cloud ns1.example.com host.example.com和NameServer之类的主机设置为ns1.example.comns2.example.com Let me know someone can help me for required step to change DNS so I can successfully move without downtime. 让我知道有人可以帮助我完成更改DNS的必要步骤,这样我就可以成功进行移动而不会造成停机。

Thanks a lot. 非常感谢。

You need to update the IP address for your domain in the DNS records which are hosted either with godaddy or with cloudflare. 您需要在由godaddy或cloudflare托管的DNS记录中更新域的IP地址。 If you are not sure, do a dig NS yourdomain.com See which dns server's are coming. 如果不确定,请执行dig NS yourdomain.com查看即将到来的dns服务器。 and accordingly make the change. 并据此进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM