LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   home hosted domain name? is this possable? (https://www.linuxquestions.org/questions/linux-networking-3/home-hosted-domain-name-is-this-possable-393813/)

Ian_Hawdon 12-17-2005 06:48 AM

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?

czezz 12-17-2005 07:50 AM

check my topic - it works fine for me.

Ian_Hawdon 12-17-2005 12:18 PM

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?

Ian_Hawdon 12-17-2005 03:59 PM

anyone know?

czezz 12-17-2005 04:55 PM

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.

Ian_Hawdon 12-18-2005 06:40 AM

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!

shaunw 12-18-2005 09:47 PM

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.

:)

shaunw 12-18-2005 09:53 PM

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.

:)


All times are GMT -5. The time now is 03:09 AM.