I'm a newbie at DNS and would like to know how to point a domain to a host, when the domain and hosting are from different sites. I bought my domain at 1and1.com and my hosting plan from ipower.com
5 Answers
There are 2 possible methods;
Move all the DNS records for your domain to ipower or just create a single A record for www in the DNS at 1and1.
To move the DNS records to ipower you will need to know the address of their name servers.
To set up the DNS on 1and1 servers to point to your web space, you will need to know the ip address of the server your web space will be hosted on.
Either way your best bet is to talk to ipower.
The Web server at ipower.com has not been configured for msa-roch.com (may be because you did not ask ipower to do so) and contains just an HTML redirection (awful technique, it indicates that this company is not tech-savvy):
% telnet msa-roch.com http
Trying 66.96.130.149...
Connected to msa-roch.com.
Escape character is '^]'.
GET / HTTP/1.0
Host: msa-roch.com
Connection: close
HTTP/1.1 200 OK
Date: Tue, 14 Apr 2009 07:39:34 GMT
Content-Type: text/html
Connection: close
Server: Apache
Last-Modified: Mon, 16 Feb 2009 18:21:28 GMT
ETag: "b5f696af-5f-4630d414dfc69"
Accept-Ranges: bytes
Content-Length: 95
<HTML> <HEAD><META HTTP-EQUIV=Refresh CONTENT="0; url=http://74.208.128.239"> </HEAD> </HTML> Connection closed by foreign host.
This redirection explains what you see. Talk to ipower.com or read their documentation.
I had the same experience using domain names (registered with 1and1) with dreamhost hosting.
You can easily achieve what you want with the following steps:
- configure your hosting plan for your domain. Even if this domain is not available in your domain pool, you should be able to host it.
- Look for the IP associated with this domain in your hosting web panel.
- Edit your DNS configuration in 1and1 web panel and set the "A" entry to the IP you just looked up.
- Wait for DNS propagation and test.
This solution may not work all the time; if you don't have a static IP in your hosting package, your hosting company could move this domain from one server to another (thus changing the IP).
I never faced this situation, but still, it is possible.
This is what I did for hosting at Dreamhost with a domain at 1and1:
- Dreamhost > Manage Domains > Add New Domain > Fully Hosted
- 1and1 > Domains > check the box of the domain > DNS > Edit DNS Settings:
name server: my name server Primary name server: ns1.dreamhost.com Secondary name server : my secondary name server One Secondary name server: ns2.dreamhost.com Two Secondary name server: ns3.dreamhost.com
Then wait an hour or two for the changes to propagate through the systems.