Tagged Questions
3
votes
2answers
335 views
Creating alias to domain name with /etc/hosts
I have a domain setup to point to my LAN's external IP using dynamic DNS, because my external IP address changes frequently. However, I want to create an alias to this host, so I can access it with ...
2
votes
1answer
488 views
Static IP address shifting to 192.168.1.251
I have a system with a static IP address of 192.168.1.150. I configured /etc/network/interfaces manually (i.e. without using NetworkManager.) It is a web server hosting three sites. I am having ...
2
votes
0answers
136 views
why is FQDN using external IP address
When postfix connects to the FQDN dur.bounceme.net it uses the external IP address:
root@dur:~#
root@dur:~# tail /var/log/mail.log
Aug 28 04:39:45 dur postfix/master[6667]: terminating on signal 15
...
2
votes
2answers
4k views
/etc/hosts for Debian
I was trying to get a perl script that contacts a PostgreSQL database to work on a server. This script was mysteriously failing. I then realised that localhost was not in the /etc/hosts file.
The ...
3
votes
1answer
2k views
Using /etc/hosts or iptables to redirect site to https:// version
I'd like to have my system automatically take me to https://facebook.com even if I put http://facebook.com into my browser. I can get /etc/hosts to redirect to me to different domains, but it seems ...