In the end I just decided to switch to pureFTP using a guide I saw. But now, again..the DNS wont work. I'm behind a router, and the server's IP is 192.168.0.194(DMZ is setup, and I can access my server through my external IP fine), the ISPCP address is admin.mydomain.com. I set up the nameserver with my registrar ns1.mydomain.com, and using a mydomain.com with that NS seemed to work perfectly, however only computers behind my router could access the website, a ping of mydomain.com told me it's IP was 192.168.0.194, as opposed to my external IP address, and when I pinged my website from a remote computer it timed out. I've changed the IP in the ispcp.conf file to my external IP but this changed nothing. Adding my external IP to ISPCP in the administration panel also didn't work, all that did was make mydomain.com and all subdomains of mydomain.com go to the ISPCP login page, as opposed to my website.
In /var/cache/bind/mydomain.com.db I have this:
Quote: IN NS ns1.mydomain.com.
IN NS ns2.mydomain.com.
IN MX 10 mail.mydomain.com.
mydomain.com. IN A 192.168.0.194
www IN A 192.168.0.194
mydomain.com. IN TXT "v=spf1 a mx ip4:192.168.0.194 ~all"
localhost IN A 127.0.0.1
mail IN A EXTERNALIP
ns1 IN A EXTERNALIP
ns2 IN A EXTERNALIP
; CNAME for mail transfer
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
I changed mydomain.com and www to my external IP and it seemed to work, without changing anything mail.mydomain.com was working too, I don't understand why mail, ns1 and ns2 go to my external IP, but www and mydomain.com go to 192.168.0.194, whenever I add a domain, do I have to change it's config file to fix this!?[/quote]