Current time: 11-23-2024, 11:24 AM Hello There, Guest! (LoginRegister)


Post Reply 
DNS and FTP...wont work?
Author Message
david Offline
Newbie
*

Posts: 5
Joined: Aug 2008
Reputation: 0
Post: #5
RE: DNS and FTP...wont work?
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]
(This post was last modified: 08-16-2008 04:45 AM by david.)
08-16-2008 04:20 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
DNS and FTP...wont work? - david - 08-13-2008, 04:18 AM
RE: DNS and FTP...wont work? - david - 08-15-2008, 03:38 AM
RE: DNS and FTP...wont work? - sci2tech - 08-15-2008, 04:11 AM
RE: DNS and FTP...wont work? - pgentoo - 08-16-2008, 03:14 AM
RE: DNS and FTP...wont work? - david - 08-16-2008 04:20 AM
RE: DNS and FTP...wont work? - david - 08-18-2008, 04:09 AM
RE: DNS and FTP...wont work? - david - 08-19-2008, 01:58 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)