VPS 域名服务器设置?
几天前我买了一个VPS并注册了域名。它给了我 2 个域名服务器。
我只有 shell 访问权限(没有 Cpanel/WHM),并且运行的是 CentOS 5。我可以使用 http://IP/
访问我的网站,但不能使用 http://domain.com< /代码>。我需要进行哪些更改才能通过
http://domain.com
访问我的网站。我对此真的很陌生,任何帮助将不胜感激。谢谢。
I bought a VPS a few days back and had a domain name registered. It gave me 2 nameservers.
I only have shell access (no Cpanel/WHM) and it's running CentOS 5. I can visit my site with http://IP/
but not with http://domain.com
. What changes do I need to make so that I can visit my site with http://domain.com
. I'm really new at this and any help would be greatly appreciated. Thanks.
如果您遵循 Slicehost 提供的指南,您将立即启动并运行。特别是,您需要配置服务器、安装适当的 Web 服务器并为您的域配置它。访问 http://articles.slicehost.com/centos 并按照列出的步骤操作。
If you follow the guides that Slicehost provides you will be up and running in no time. In particular, you need to configure your server, install an appropriate web server, and configure it for your domain(s). Visit http://articles.slicehost.com/centos and follow the steps listed.