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.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th April 2012, 09: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 77.97.93.210

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

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

You must create the subdomain record in the domain.ro zone.
__________________
Falko
--
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
Reply

Bookmarks

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 16:27
About reverse DNS lrider General 29 9th March 2009 09:08
DNS wont restart nightdude Installation/Configuration 7 29th November 2008 18:27
dns server error Hellbound General 7 2nd August 2007 09:18
DNS: Multiple IPs, want to setup a "private" nameserver on each IP for resellers bpmee Server Operation 8 17th September 2006 09:35


All times are GMT +2. The time now is 11:41.


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