LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-17-2005, 06:48 AM   #1
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Rep: Reputation: 34
home hosted domain name? is this possable?


I am using an old pc to host a web site, it is currently using a free service on dyndns.org to let people just type in the name into the browser

Is it possable to get a "www.<my_domain_name>.com" for free by hosting the WHOLE thing at home?

i have bind installed

Is this all i need?
 
Old 12-17-2005, 07:50 AM   #2
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
check my topic - it works fine for me.
 
Old 12-17-2005, 12:18 PM   #3
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
Well, it still isnt working, here are my files (censored)

named.conf
Code:
options {
	directory "/var/named";
	/*
	 * If there is a firewall between you and nameservers you want
	 * to talk to, you might need to uncomment the query-source
	 * directive below.  Previous versions of BIND always asked
	 * questions using port 53, but BIND 8.1 uses an unprivileged
	 * port by default.
	 */
	// query-source address * port 53;
};

// 
// a caching only nameserver config
// 
zone "." IN {
	type hint;
	file "caching-example/named.ca";
};

zone "domain.com" {
type master;
file "domain.com.zone";
allow-update { none; };
allow-transfer { 111.111.111.111; };
notify yes;
};
domain.com.zone:
Code:
$TTL 86400
$ORIGIN domain.com.
@ IN SOA domain.com postmaster.domain.com. (
20051217 ; serial (R. Hawdon)
8640 ; refresh
3600 ; retry
3600000 ; expiry
1209600 ) ; min
IN NS ns1.domain.com.
IN NS ns2.domain.com.
IN MX 10 domain.com.
IN MX 10 mail.domain.com
@ IN A 111.111.111.111
www IN A 111.111.111.111
ns1 IN A 111.111.111.111
ns2 IN A 111.111.111.111
ftp IN A 111.111.111.111
mail IN A 111.111.111.111
pop IN A 111.111.111.111
stmp IN A 111.111.111.111
what am i missing?
 
Old 12-17-2005, 03:59 PM   #4
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
anyone know?
 
Old 12-17-2005, 04:55 PM   #5
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
I assum that u started named. If u didnt u should do that (in slackware can be done by command /etc/rc.d/rc.bind strat )

To verify type ps ax|grep bind
that should show u something like this:
762 ? S 0:02 /usr/sbin/named

If it's done, we need to check where ur domain is parked.
I assume that u have bought one. Let's call it domain.com.

Im not sure how it is in England but I have kind of web panel where I can ask for registring DNS servers for mydomain (ns1.domain.com, ns2.domain.com)
U need to do that's as well.

Since moment when this will be done u need to wait for refresh time - this is set in named.conf file.
...and thats it.

Last edited by czezz; 12-17-2005 at 04:57 PM.
 
Old 12-18-2005, 06:40 AM   #6
Ian_Hawdon
Member
 
Registered: Feb 2003
Location: Newcastle Upon Tyne
Distribution: Arch
Posts: 326

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by czezz
I assume that u have bought one. Let's call it domain.com.
I thought thats what BIND was ment to do!
 
Old 12-18-2005, 09:47 PM   #7
shaunw
Member
 
Registered: Dec 2005
Posts: 77

Rep: Reputation: 15
www

You cannot get a domain name for free. When you type
www.anyname.com into your browser the browser looks up
the ip address for the domain name this will only succeed
if you have an official domain registered with one of the
official domain registries. If you have done this then
there are still problems.
1. If you connect to the internet through a DSL modem or
router then you need to connect the IP address of the
router to your domain name. Unfortunately the IP address
assigned by you ISP may change from time to time unless
you arrange with them to have a static address provided.

 
Old 12-18-2005, 09:53 PM   #8
shaunw
Member
 
Registered: Dec 2005
Posts: 77

Rep: Reputation: 15
Home hosting

To add to my previous reply, your home site will also be
slow to access since ordinary connection to the net have
an upload speed that is 10 times slower than the
download speed but if you can live with this and solve
the other problems then you can do it.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
new domain to home server Digital_Err0r Linux - Newbie 11 11-06-2005 05:55 PM
How can i setup a login home network domain? ginda Linux - Networking 1 08-04-2005 03:19 AM
home server to host IP domain captain skywave Linux - Networking 10 02-28-2005 03:00 AM
How can I configure RH9 as a domain controller in a home network. IT2(SW) Linux - Networking 5 01-28-2005 05:16 PM
winxp home and domain log on raquib03 Linux - Networking 5 04-30-2004 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration