Hi Guys,
I have a client with a cpanel server , who want to achieve some thing like
http://opensourceparking.com/
I have configured the apache to achieve this with each request defaulting to a single IP , but not able to figure out yet if this can be done with named.
i.e. with out creating any dns zone file for the domain and only pointing the domain to the respective Nameservers , it default to some IP on the server.
e.g. the server has Nameservers ns1.server.net and ns2.server.net , with a main domain hosted as maindomain.com.
Requirement :
If any domain is pointed to these NS (not creating it as park on cpanel/whm and only pointing it to NS on registrar) makes it open the maindomain.com
Problem :
To achieve this the apache part is done , but how to achieve this for DNS , i.e. each request coming to the Nameservers should default to some defined IP.
Any ideas / suggestions ?
Can we achieve this with the default zone /var/named/named.ca some how ?
Any help will be appreciated.



LinkBack URL
About LinkBacks
Reply With Quote




