Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Website direction

Status
Not open for further replies.

SQLScholar

Programmer
Aug 21, 2002
2,127
0
0
GB
Hey all,

I am a little confused here.

A friend of mine is going to host my website (not email or DNS or anything else).

So if i point my record to his IP..... what does he then have to do his end? Does he need to create another DNS entry on his server for my domain so we can then point to the correct server location for my website?

Many thanks

Dan

----------------------------------------

Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Bernard Baruch

Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------
 
I assume here that when you say point your record you mean with the domain registrar so that if anyone does an address lookup that it will point to his IP. If so, on his end, all he will need to do is make sure that the desired ports (sounds like 80) are open and forwarding to the correct server. Then he will need to have a host application, such as IIS or Apache, listening for connections to that host, along with a virtual host for your domain if he is using virtual hosts.

BTW, once you have the domain pointing to your friends server there shouldn't be any DNS stuff on his end.

One thing to consider is will point to a different location than domain.tld? What I mean by this is will leaving off the you to a different location and is this what you want?
 
Hi,

No i am looking to leave my domain registrar where it is. The NSlookup will still point to the same place - but when it looks it up i need the go to his server where i am hosting.

What i want to do is to point www. to his server - and for his server to respond to that. So i thought i would have to point an A record (not NS record as you discussed) pointing to his server. Not sure what to do on his end though? Obviously his server needs to know how to respond to this call.

Dan

----------------------------------------

Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Bernard Baruch

Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------
 
Based upon your response, I don't think that I was entirely clear. Lets see if we can clarify things.

In order to get your friends system to respond to you need an A record to point to your friends server. This needs to be put into the zone records for the domain's authoritative server. When you registered domain.tld you needed to either specify the address of the authoritative name servers for domain.tld (where domain is actually a sub domain of tld), typically this is done with glue records, or use a DNS service from the registrar to point the domain to your server. Note that www.domain.tld, the a host on the domain.tld domain. There is nothing magical about makes it a website and a browser can go to domain.tld or and get two totally different servers. Lets look at an example:
Your server/domain, domain.tld is at 1.2.3.4. You configure an A record for to point to your friend 5.6.7.8. Now, I come along in a web browser. If I enter "domain.tld" I will go to 1.2.3.4 NOT 5.6.7.8; only if I enter " will I get the address of and go to 5.6.7.8.

What I am trying to say is that if the root of your domain points to a server that is different than expect confusion as unless someone always uses the they won't go to the correct location.

Not sure what to do on his end though? Obviously his server needs to know how to respond to this call.
Now, on your friends end, he needs to have the port open in any sort of router, needs to forward traffic on that port to the correct device if he is using NAT, and he needs to have an application listening for connections on that port.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top