i’ved installed debian 4.0r4 i386 and after i’ved installed virtualmin 3.6 GPL from the script and all seems ok, no errors; i’ved created my first virtual domain, ip based, like http://jiontro.net on a virtual ip : 192.168.0.1 , all seems ok but when i try to acces it from an extern ip, it cannot be accessed, but when i type from the server this address, works. Any help pls
if your server internal IP address is 192.168.0.1 and you have it connected to a router connected to the internet. you need to use Dynamic DNS to get a domain to point to your router and also set up your router to connect port 80 to 192.168.0.1
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };
// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };
include "/etc/bind/named.conf.local";
and the
/etc/bind/named.conf.local :
zone "172.208.77.82.in-addr.arpa" {
type delegation-only;
};
zone "maveion.barlad.rdsnet.ro" {
type delegation-only;
};
zone "jiontro.net" {
type master;
file "/etc/bind/jiontro.net.hosts";
allow-transfer {
127.0.0.1;
localnets;
};
};
zone "1.0.168.192.in-addr.arpa" {
type delegation-only;
};