开发者

Mapping domain name to linux server

开发者 https://www.devze.com 2023-01-21 15:54 出处:网络
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.

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.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消