简体   繁体   English

如何将 Rails 项目从数字海洋水滴转移到域

[英]How to transfer a Rails project from a digital ocean droplet to a domain

I have an Rails application deployed with capistrano on digital ocean droplet.我有一个使用 capistrano 在数字海滴上部署的 Rails 应用程序。 The application is available on some server.该应用程序在某些服务器上可用。 (eg xxx.xx.xxx.xxx). (例如 xxx.xx.xxx.xxx)。 I also have some domain (eg www.example.com)我也有一些域(例如 www.example.com)

So how can I transfer the application from xxx.xx.xxx.xxx to www.example.com?那么如何将应用程序从 xxx.xx.xxx.xxx 转移到 www.example.com?

You could go to your domain DNS manager and add a type A record that targets to your server IP address xxx.xx.xxx.xxx.您可以 go 到您的域 DNS 管理器并添加针对您的服务器 IP 地址 xxx.xx.xxx.xxx 的 A 类记录。

Assuming your domain registrar is GoDaddy, this help page might help you.假设您的域名注册商是 GoDaddy,此帮助页面可能会对您有所帮助。

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

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