Click to See Complete Forum and Search --> : Setting up domain name in slackware :)


kozart
11-24-2002, 05:51 PM
Hello guys I already have one domain name setup to my box.. Mail server ect ect.. I just got a second one and was wandering how to set that up using apache. I have them pointed at my name servers ns1.mydomain.net and ns2.mydomain.net. I have searched on google but didn't really find what I was looking for.
THanks

Here is what I think... Just do it with virtual hosting... I already know hot to setup whatever.mydomain.com would I just setup the new domain this way?

Ok I think I have my httpd.conf setup right.. (I did read the article on this site about it) THe thing I am confused about is the named file... The zone file or whatever.

flar
11-25-2002, 03:28 AM
1. if you already have an SOA on mydomain.net, then just add an A entry for your another domain with the IP address of your existing domain.

domain A 192.168.66.6
anotherdomain A 192.168.66.6

kozart
11-25-2002, 10:03 PM
Did that.. Now just have to wait till it kicks in and see if it works or not.

kozart
11-26-2002, 03:23 PM
Ok under named in the pz folder I have the file titles zaenet thats my domain

@ IN SOA zaenet.net. moss.zaenet.net. (

199912011 ; serial, todays date + todays serial #

8H ; refresh, seconds

2H ; retry, seconds

1W ; expire, seconds

1D ) ; minimum, seconds

NS ns1 NS
ns2

@ A 24.210.18.195

moss A 24.210.18.195

ns1 A 24.210.18.195

ns2 A 24.210.18.195

mail A 24.210.18.195

theslacking.com A 24.210.18.195

@ IN MX 10 mail.zaenet.net.

* IN MX 10 mail.zaenet.net.

www CNAME moss

ftp CNAME moss

test CNAME moss

ghettojesus CNAME moss

zane CNAME moss

angela CNAME moss

linuxwagon CNAME moss

cobaltsuperninja CNAME moss

webmail CNAME moss

Thats the contents... theslacking is the new domain.. See if this looks right.