View previous topic :: View next topic |
Author |
Message |
elpek n00b
Joined: 19 May 2008 Posts: 16 Location: Olsztyn, Poland
|
Posted: Tue Feb 02, 2010 6:12 pm Post subject: Simple domain configuration - what to start with? [SOLVED] |
|
|
Hello everyone!
I'm relatively new to domains and nameservers and I think this forum is one of the best places to ask what to look for to solve my problem. I have a small home server at home, which is connected to the Internet trough a router (cable) ... all of the ports I need are forwarded to the server. I just bought a domain name let us call it xyz.com. The xyz.com has now two nameservers assigned by a company I bought it from (addresses can be changed) and all of the WWW traffic adressed to xyz.com is being redirected to my home external IP and then forwarded to HTTP server inside the network by the gateway (router).
What I want to do is to make the address xyz.com point to my external IP address not only redirect the WWW traffic to here. By this I mean, when I type:
I want to get the answer:
Code: | xyz.com has address MY IP |
I don't know what to start with. From what I read I need BIND configured properly to 'park' my domain using my home webserver as NS ... am I right?
Thank for all suggestions in advance.
Last edited by elpek on Sat Feb 06, 2010 9:07 pm; edited 1 time in total |
|
Back to top |
|
|
d_logan n00b
Joined: 09 May 2006 Posts: 73
|
Posted: Tue Feb 02, 2010 6:26 pm Post subject: |
|
|
How many machines inside your network? You could just add entries to /etc/hosts |
|
Back to top |
|
|
elpek n00b
Joined: 19 May 2008 Posts: 16 Location: Olsztyn, Poland
|
Posted: Tue Feb 02, 2010 6:34 pm Post subject: |
|
|
There are 5 machines inside my network. However, adding some information to /etc/hosts will possibly solve the problem only in a local scope. I want the domain name to point at my IP address from the outside (Internet) not only my LAN. |
|
Back to top |
|
|
d_logan n00b
Joined: 09 May 2006 Posts: 73
|
Posted: Tue Feb 02, 2010 6:37 pm Post subject: |
|
|
elpek wrote: | There are 5 machines inside my network. However, adding some information to /etc/hosts will possibly solve the problem only in a local scope. I want the domain name to point at my IP address from the outside (Internet) not only my LAN. |
Who is your domain registered with? It should simply be a matter of configuring your DNS records from your registrar's web site. I've used Network Solutions, GoDaddy, and Instra. |
|
Back to top |
|
|
elpek n00b
Joined: 19 May 2008 Posts: 16 Location: Olsztyn, Poland
|
Posted: Tue Feb 02, 2010 6:44 pm Post subject: |
|
|
It's just a cheap domain from a local seller ... can't modify any records straight from the domain seller's website. That's why I assume I need my own nameserver do do so. |
|
Back to top |
|
|
d_logan n00b
Joined: 09 May 2006 Posts: 73
|
Posted: Tue Feb 02, 2010 6:51 pm Post subject: |
|
|
elpek wrote: | It's just a cheap domain from a local seller ... can't modify any records straight from the domain seller's website. That's why I assume I need my own nameserver do do so. |
You know you can register domains with Godaddy for like $10/year right?
Anyway, if you cannot modify the DNS records on the registrar's end, then you'll have to point the nameserver at your public IP and setup your own nameserver using BIND. There are tutorials out there. I've done it in the past but it's been several years. |
|
Back to top |
|
|
elpek n00b
Joined: 19 May 2008 Posts: 16 Location: Olsztyn, Poland
|
Posted: Sat Feb 06, 2010 9:06 pm Post subject: |
|
|
Allright, I get it done configuring BIND9 Thanks for some information that helped me to start. |
|
Back to top |
|
|
|