Need help ISPConfig and NAT weird domain problems

hi i need some help i have ispconfig installed perfectly without any hickups..
but im having weird problems i have 2 connections one being dsl and the other being cdma when i try access a vhost on my site from the dsl on mysite.co.za it connects but times-out, but then i cant access it at all on www.mysite.co.za if i try ping that address it times-out but it still shows my external ip, but if i try ping mysite.co.za it gets a reply from my external ip, but then i cant access it through a web browser.

i think it might have something to do with nat ,how my ispconfig is setup and my firewall because my server has an internal ip address and any request to my external ip goes through nat to my internal one.

any ideas the other thing is if i change the ispconfig's ip's to my external ip everything works, but www.mysite.co.za or mysite.co.za goes to /var/www and the vhosts stop working. any idea? maybe i need to setup my bind config for nat or something im pretty new to linux so if anyone could help i would appreciate it thanks in advance

ok first of all im behind a firewall and im using NAT to translate my internal ip 192.168.111.77 address to my external one 196.15.247.77 now in ispconfig --> management --> settings i set this ip address to my internal one and all other ips like DNS records etc to my external one...

now another problem it seems is that when i ping exactweb.co.za it gets the ip address 192.168.111.77 but times out because im not on the internal network and if i ping www.exacthost.co.za it comes back with the ip address 196.15.247.77 and reply's if there a fix for this issue anywhere on the forums? or does anyone know howto fix it?

any ideas the other thing is if i change the ispconfig's ip's to my external ip everything works, but www.mysite.co.za or mysite.co.za goes to /var/www and the vhosts stop working. any idea? maybe i need to setup my bind config for nat or something im pretty new to linux so if anyone could help i would appreciate it thanks in advance

Click to expand...

You must always use the IP addresses in ISPConfig that you see when you run

Code:

ifconfig

on your system, so if it shows local IP addresses you must use these local IP addresses in ISPConfig, otherwise your name-based vhosts won't work.