These are my own notes to self...probably irrelevant to anyone else.
To use DNS on tridity.org (mappinghacks.com):
mh notes:
/home/named/var/named/asi
has named.asi where the individual references go, ie. equiv. to /var/named
and it has individual domain files, ala /var/named/data
To Add a domain which will live on lewis.geocoder.us:
edit /home/named/var/named/asi
look for zones where the master file points to geocoder.us
co -l named.asi
edit it, add domain as copy of existing one that points to
geocoder.us-like presenttous
ci -u named.asi
sudo /etc/rc.d/init.d/named reload
This is some old shit, or just non-tridity
copy an existing 'template' file from /var/named/data
on mh copy /home/named/var/named/asi/
Edit the template
do some rcs
on mh see include "/var/named/asi/named.asi"; or something like
/home/named/var/named/asi
update the serial number-apparantly not needed on Tridity
edit /var/named.conf to add a pointer to the new /var/named/data file
on my /home/named/etc/named.conf
kill -HUP the named process
or /etc/rc.d/init.d/named restart
For email on tridity
cd /etc/postfix
co -l local-host-names
vi local-host-names
# follow example of presenttous
ci -u local-host-names
co -l virtual
vi virtual
# follow example of presenttous
ci -u virtual
i had to manually remove virtual.db
postmap virtual
sudo /etc/rc.d/init.d/postfix restart
/etc/rc.d/init.d/postfix restart
email on ?
edit /etc/postfix/aliases (if needed for emails)
or maybe /etc/postfix/virtual
co -l virtual
edit...see folkartforschools example
*on mh:
*edit virtual
*edit local-host-names
*postmap virtual
*sudo /etc/rc.d/init.d/postfix restart
co -l local-host-names
edit again, see 'rich' section
ci -u virtual
sudo make -C /etc/postfix
Don't need to do these-they are dealt with in make -C /etc/postfix
postmap virtual
run newaliases to create aliases.db
edit /etc/postfix/main.cf
add this domain to the mydestination list
/etc/rc.d/init.d/postfix restart
On lewis?
/etc/httpd/conf
domain.conf - see presenttous, other samples.
sudo /etc/rc.d/init.d/httpd graceful
some other server
look in /etc/httpd/conf.d/sites.conf for httpd config
edit the file as appropriate.
put your new site somewhere like:
/home/www/mydomain.com/
restart apache /etc/rc.d/init.d/httpd restart