Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple domain configuration - what to start with? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
elpek
n00b
n00b


Joined: 19 May 2008
Posts: 16
Location: Olsztyn, Poland

PostPosted: Tue Feb 02, 2010 6:12 pm    Post subject: Simple domain configuration - what to start with? [SOLVED] Reply with quote

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:

Code:
# host xyz.com


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
View user's profile Send private message
d_logan
n00b
n00b


Joined: 09 May 2006
Posts: 73

PostPosted: Tue Feb 02, 2010 6:26 pm    Post subject: Reply with quote

How many machines inside your network? You could just add entries to /etc/hosts
Back to top
View user's profile Send private message
elpek
n00b
n00b


Joined: 19 May 2008
Posts: 16
Location: Olsztyn, Poland

PostPosted: Tue Feb 02, 2010 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
d_logan
n00b
n00b


Joined: 09 May 2006
Posts: 73

PostPosted: Tue Feb 02, 2010 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
elpek
n00b
n00b


Joined: 19 May 2008
Posts: 16
Location: Olsztyn, Poland

PostPosted: Tue Feb 02, 2010 6:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
d_logan
n00b
n00b


Joined: 09 May 2006
Posts: 73

PostPosted: Tue Feb 02, 2010 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
elpek
n00b
n00b


Joined: 19 May 2008
Posts: 16
Location: Olsztyn, Poland

PostPosted: Sat Feb 06, 2010 9:06 pm    Post subject: Reply with quote

Allright, I get it done configuring BIND9 ;) Thanks for some information that helped me to start.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum