Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 13th April 2012, 10:10
bobbob bobbob is offline
Junior Member
Join Date: Nov 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default How subdomain on named chrooted ?

Helo everybody,

I need help to set a subdomain on named chrooted . First ,think is necessary, to insert a new zone in var/named/chroot/etc/named.conf:
zone "subdomain.domain.ro" {
type master;
file "subdomain.domain.ro";
or is not nessary ?
Than in /var/named/chroot/var/named/ insert a new file named subdomain.domain.ro with this script :

subdomain.domain.ro. IN SOA ns1.subdomain.domain.ro. root.localhost. (
2007121201 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
38400 ; Minimum TTL

; servere DNS
IN NS ns1.subdomain.domain.ro.

; MX Records
IN MX 10 mail.subdomain.domain.ro.

subdomain.domain.ro. A

; Hosts
ns1 IN A
mail IN A
www IN A
Finaly in /etc/httpd/conf/httpd.conf a new virtualhost

Is this correct?
Reply With Quote
Sponsored Links
Old 14th April 2012, 12:54
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

You must create the subdomain record in the domain.ro zone.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
compile cp210x drivers in Ubuntu9.10 cigogo Kernel Questions 1 15th December 2009 17:27
About reverse DNS lrider General 29 9th March 2009 10:08
DNS wont restart nightdude Installation/Configuration 7 29th November 2008 19:27
dns server error Hellbound General 7 2nd August 2007 10:18
DNS: Multiple IPs, want to setup a "private" nameserver on each IP for resellers bpmee Server Operation 8 17th September 2006 10:35

All times are GMT +2. The time now is 09:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.