Hi,
I have set up a development machine at home with Debian Etch and everything works fine, I am able to SSH and see sites on my server from outside of my network via my public IP (can't view via public ip inside network) ... anyhow everything works fine, but I'm kind of confused as to how to set up my DNS so I can simply access (SSH, view, and etc.) my server via my domain instead of alternating between the public and private ip depending on whether I'm with in my network.
I have a domain that is registered with GoDaddy and only
one public IP address, can someone please help me set this up. I don't quite understand the DNS process when it comes to registering nameservers at GoDaddy and then waiting for who knows how long ... just confused
I have tried some tutorials so I have edited these files so please tell me if these are right, and I have port-forwarded port 53 for DNS:
/etc/resolv.conf
Code:
domain mydomain.com
nameserver 68.345.96.12
nameserver 192.168.1.1
/etc/hostname
/etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
192.168.1.101 mydomain.com dev1
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
^ I think I really messed up the hosts file
Recent comments
11 hours 33 min ago
14 hours 29 min ago
15 hours 43 min ago
17 hours 6 min ago
18 hours 44 min ago
20 hours 13 min ago
21 hours 26 min ago
1 day 13 hours ago
1 day 14 hours ago
1 day 17 hours ago