5 replies
by tyswidan
the start with your DNS:
usually the database for DNS are under /var/named/
in there you should add the new zone for the new domain in the file named.conf, then create the db files.
example: if I have somedomain.com to add to my dns:
1) in the /etc/named.conf you add:
zone "somedomain.com" {
type master;
file "db.somedomain";
};
2) in /var/named/, create the file db.somedomain
3) add the reverse lookup ip to your DNS for that domain to piont to somedomain.com.
DNS done, restart the named.
I don't know which release of apache you have, but I'm assuming you have all the modules you need are installed.
start in /usr/local/apache/conf/httpd.conf, here where you specify the locationof the new domain: for example if I have the domain "somedomain.com" then in my httpd.conf I should have the following:
#the ip already assigned in DNS.
ServerAdmin admin@somedomain.com
DocumentRoot /export/home/users/username/public_htm
by mark
by tom.oneil
There is an open source product called webmin that will let you manage the whole thing from a web browser interface. It also manages many other products.
I do not reccomend it as a replacement for mark's instructions if you are the sys admin, but it will allow you delegate these chores to non-root users.
by mark
by mark
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending