将域名映射到linux服务器

发布于 2024-09-28 16:54:59 字数 299 浏览 2 评论 0原文

我通过 GoDaddy.com 购买了域名。我有一个运行 Rackspace Cloud 的 Ubuntu Linux 服务器。在这台服务器上,我启动并运行了 Apache。

我的问题是:如何设置我的域以指向我的 Rackspace Cloud 服务器。更具体地说,我希望 http://www.mydomainname.com 映射到我的 Apache 服务器。

我假设我需要使用 DNS 建立一些东西。

感谢您的帮助。

I bought a domain name with GoDaddy.com. I have a Ubuntu linux server running with Rackspace Cloud. On this server, I have Apache up and running.

My question is this: How can I set up my domain to point to my server with Rackspace Cloud. More specifically, I want http://www.mydomainname.com to map to my Apache server.

I am assuming that I need to establish something with DNS.

Thank you for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏日落 2024-10-05 16:54:59

创建一个新的 A 记录并将 www 指向您的 IP 地址,例如 69.69.120.200。同样再做一条A记录,@指向同一个IP。

然后在Apache中使用ServerNamedomain.com创建相应的虚拟主机

Make a new A record and point www to your ip address, eg 69.69.120.200. Also make another A record and point @ to the same IP.

Then make corresponding virtualhosts in Apache with ServerName domain.com

半窗疏影 2024-10-05 16:54:59

按照 meder 的说明创建记录,然后在 GoDaddy 界面中,您需要将名称服务器指向 Rackspace 上的名称服务器。

Create the record as meder said, then in the GoDaddy interface you will need to point the name server to the name servers at Rackspace.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文