General discussion

Locked

Setting up new domains on a Spark 20 Int

By mark ·
I need a simple list of procedures and files/dir that need to be created and or modified each time I set up a new domain on my name server. I am running Solaris 2.6 and Appache. I am new to Unix but have been studying everything I can get my hands on. My admin work is very specific for an Internet server only. I will be using a telnet session as I don't have a Unix OS machine locally. My server is co located in another city 500 miles away. Thanks!

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Setting up new domains on a Spark 20 Int

by tyswidan In reply to Setting up new domains on ...

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:

<VirtualHost 192.168.1.50> #the ip already assigned in DNS.
ServerAdmin admin@somedomain.com
DocumentRoot /export/home/users/username/public_htm

Collapse -

Setting up new domains on a Spark 20 Int

by mark In reply to Setting up new domains on ...

The question was auto-closed by TechRepublic

Collapse -

Setting up new domains on a Spark 20 Int

by tom.oneil In reply to Setting up new domains on ...

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.

Collapse -

Setting up new domains on a Spark 20 Int

by mark In reply to Setting up new domains on ...

The question was auto-closed by TechRepublic

Collapse -

Setting up new domains on a Spark 20 Int

by mark In reply to Setting up new domains on ...

This question was auto closed due to inactivity

Back to Linux Forum
5 total posts (Page 1 of 1)  

Operating Systems Forums