- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsI am setting up several test servers that I want to be subdomains of my main server. This should be simple and I tried to follow the advice in this thread as best I could
http://www.experts-exchang
In my case I have a functioning "main" server than answers for maindomain.com and I want to add a series of test servers starting with vpscpanel.maindomain.com. Obviously I want this set up so that on vpscpanel.maindomain.com server I can create further subdomains and for this server to be fully functional in all respects (mail, ftp etc).
In the maindomain.com zone on my main server I added an A entry for the name server on my subdomain and an ns entry as well. My zone file on the main server for the maindomain domain is now:
Note these are exact files but with my real domain substituted for maindomain.com
--------------------------
; Zone File for maindomain.com
@ 14400 IN SOA ns1.maindomain.com. root.host1.maindomain.com.
2004081204
28800
7200
3600000
86400
)
maindomain.com. 14400 IN NS ns1.maindomain.com.
maindomain.com. 14400 IN NS ns2.maindomain.com.
maindomain.com. 14400 IN A 64.62.139.18
localhost.maindomain.com. 14400 IN A 127.0.0.1
maindomain.com. 14400 IN MX 0 maindomain.com.
mail 14400 IN CNAME maindomain.com.
www 14400 IN CNAME maindomain.com.
ftp 14400 IN A 64.62.139.18
ns1 14400 IN A 64.62.139.18
ns2 14400 IN A 64.62.139.19
host1 14400 IN A 64.62.139.18
ns1.vpscpanel 60 IN A 65.98.36.72
vpscpanel 60 IN NS ns1.vpscpanel.maindomain.c
--------------------------
On the subdomain (65.98.36.72) I created a master zone file for vpscpanel.maindomain.com
--------------------------
$TTL 14400
@ 14440 IN SOA ns1.vpscpanel.maindomain.c
2004122902
14400
7200
3600000
86400
)
@ 60 IN NS ns1.vpscpanel.maindomain.c
60 IN A 65.98.36.72
ns1 60 IN A 65.98.36.72
vpscpanel.maindomain.com. 14400 IN MX 0 vpscpanel.maindomain.com.
mail 14400 IN CNAME vpscpanel.maindomain.com.
www 14400 IN CNAME vpscpanel.maindomain.com.
ftp 14400 IN CNAME vpscpanel.maindomain.com.
host1 60 IN A 65.98.36.72
--------------------------
This does not work at all and I cannot even ping for ns1.vpscpanel.maindomain.c
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: jleviePosted on 2005-01-04 at 08:49:57ID: 12953891
There's a missing "." on:
om
om. om. IN A 65.98.36.72
vpscpanel 60 IN NS ns1.vpscpanel.maindomain.c
The delegation records in the zone file for maindomain.com should look like:
vpscpanel IN NS ns1.vpscpanel.maindomain.c
ns1.vpscpanel.maindomain.c
And don't forget to restart named.