hi, i have this config:
Router with public IP
Server connected to router with a private lan ip 192.168.2.2.
my router have DMZ to 192.168.2.2
when i create virtual servers on virtualmin it uses the 192.168.2.2.
but my domains have the A records to the public ip.
this should work? beacause when i access appears this:
You don't have permission to access / on this server.
Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 PHP/5.2.4-2ubuntu5.3 with
Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) mod_ssl/2.2.8
OpenSSL/0.9.8g Server at cam.lugohermanos.com Port 80
On 14/Nov/2008 09:37 Manolet Gmail wrote ..
> hi, i have this config:
> Router with public IP
> Server connected to router with a private lan ip 192.168.2.2.
> my router have DMZ to 192.168.2.2
> when i create virtual servers on virtualmin it uses the 192.168.2.2.
> but my domains have the A records to the public ip.
> this should work? beacause when i access appears this:
Yes, it should work - in fact, virtualmin has a feature to help
in this case, where you can specify an IP for use in DNS records
that is different from the actual (internal) IP of your virtual
servers. It is at System Settings -> Module Config -> Default IP address for DNS records.
Assuming DNS is setup correctly, check the domain's ~/logs/error_log
file for any messages that explain why Apache is displaying that error.
Perhaps you need to create an index.html file?