How does one register a domain name and administer the site?

Nameserver hosts

Once you have organised the (Xref)Domain name registration, you need to start setting up the nameservers. There are a few files to edit and you'll need to have sudo access. If you don't, ask someone in the collective to help you. Firstly on the Primary Nameserver (in our case ollie) in /etc/bind type

$ sudo pico (or your favourite text editor) named.conf

look for section of the file containing lines like this:

zone "active.org.au" {
type master;
file "/etc/bind/active.org.au";
};

Copy it into the same section of the named.conf file. Change this copy
to the new groups name, like below

zone "newgroup.org.au" {
type master;
file "/etc/bind/newgroup.org.au";
};

Then save.

Back in the /etc/bind directory,
* create a new domain name file:

                   sudo cp somedomainname newdomainname

* cd to /etc/bind/newdomainname and edit all somedomainname entries to  newdomainname
* change the date and edition of edit just under INSOA: eg 2001110501 is the first edited version of this file on the fifth of november 2001. (It basically runs backwards)
* Then look for where it says Name Servers. Under this should read

                   IN NS black.cat.org.au.
                   IN NS octo.hl.com.au.

NB.Don't forget the dots after these two lines.
* cd back to /etc/bind and use your sudo powers to edit named.conf.
Create a new master zone by copying an old one and editing the required lines (ie somedomainname to newdomainname)
* Make these changes take effect by:

                   sudo /etc/init.d/bind reload

 

* Check these changes have occurred by:

                   sudo tail -f /var/log/syslog

* Now we move to conway to let our web server know about the new
domainname:

                   sudo pico /etc/apache/httpd.conf

Edit the ServerName, ServerAlias and Document Root(to wherever your
document sits,eg. /www/domainname/ then restart apache by

                   sudo /etc/init.d/apache restart

* Try nslookup domainname to see if your changes have worked. If not, go over this again and see if you've forgotten something.  Next is the Secondary Nameserver (in this example octo)

                   ssh login@octo.hl.com.au -p9999
                   enter your passwd, then once you've gained access, type

                   ssh login@octo.hl.com.au -p9999
                   enter your passwd, then once you've gained access, type
                   pico dns

This currently lands you in the /tmp/named.conf file. Copy a slave zone
(changing the zone name and file name to your new domain name). Save these changes, then type

                   sudo installdns to finish.

After completing all the above steps, you are ready to specify to the
registraar (the organisation you bought your domain name from) which
primary and secondary nameservers you have delegated.
Currently, cat@lyst's nameserver info:

                   Primary Name Server: BLACK.CAT.ORG.AU and
                   Secondary Name Server:either SPINACH.VA.COM.AU or OCTO.HL.COM.AU

YAY! AT LAST you are ready to put the site up on a server so everyone
can access it, if you haven't already. See (Xref)Add A User to Cat@lyst

           safari (at) cat.org.au, praccus (at) octapod.org