Monday, February 06, 2012

configure bandwidthd reverse dns

http://ubuntuforums.org/showthread.php?t=3407

Open /etc/hosts with your favorite text editor. Remember to use sudo.

Code:
Format:
 . 

Example:
127.0.0.1 localhost.localdomain localhost

The reason this line won't work:

10.10.0.2 www.mysite.dyndns.org home
is because 10.10.0.2 is a private ip address & www.mysite.dyndns.org has to resolve to a public ip address. To use www.mysite.dyndns.org as the FQDN you need to enter the router's public ip address & set the router to forward port 80 traffic to your private ip address. If it's not your network (meaning that your netadmin won't give you access to the router/firewall) you can just replace www.mysite.dyndns.org with mysite.localhost and use mysite as an alias. The easiest way to access your webserver from the inside, however, is to just enter localhost in the address bar if the server is on your machine, or enter the ip (10.10.0.2) in the address bar if it's not. The result will be the same no matter how you address it from your browser. You'll see the same thing everyone else sees.

No comments:

Related Posts Plugin for WordPress, Blogger...