The tag has no wiki summary.

learn more… | top users | synonyms

17
votes
10answers
37k views

Can I specify a port in an entry in my /etc/hosts on OS X? [duplicate]

Possible Duplicate: How to use DNS to redirect domain to specific port on my server I want to trick my browser into going to localhost:3000 instead of xyz.com. I went into /etc/hosts on OS ...
8
votes
2answers
5k views

hosts file seems to be ignored

I have almost fresh Ubuntu desktop box. OS was installed two weeks ago and updated from karmic repositories. Last week I had no problems with DNS. But this week something had changed. I'm not sure ...
5
votes
2answers
13k views

How is DNS lookup configured for OSX Mountain Lion?

If I cat my resolv.conf, I see this message: # # Mac OS X Notice # # This file is not used by the host name and address resolution # or the DNS query routing mechanisms used by most processes on # ...
7
votes
1answer
14k views

“My unqualified host name (foo.bar) unknown” Problem

When trying to start sendmail or send a mail using a wordpress plugin, this error shows up in the maillog: "My unqualified host name (foo.bar) unknown; sleeping for retry" After Googling the best ...
0
votes
1answer
353 views

Forward Incoming Traffic with Windows hosts file?

A long time ago I found some guide that showed how to use the Windows Hosts file to forward incoming traffic to another local IP/Port. We setup a clients server on one IP/Port, and they wanted it ...
11
votes
5answers
2k views

Renting a dedicated, but getting a VPS. How to detect? [duplicate]

When renting a dedicated server, how can one be certain than he/she is not getting a VPS or some other virtual machine variant instead of a true dedicated hardware box? Which checks can be run ...
8
votes
2answers
9k views

/etc/hosts , /etc/sysconfig/network and hostname?

I need to do the hostname changes on a centos server which will serve www.myserver.com What do I need to do in /etc/hosts, /etc/sysconfig/network and with the hostname command? In ...
13
votes
5answers
7k views

Per-user hosts file

Is there a way to define host aliases (like in /etc/hosts) on a per user basis, i.e. in a file /home/user/.hosts ? My primary objective is to easily share host aliases via rsync between the machines ...
12
votes
12answers
18k views

HOSTS file being ignored

My (Windows XP, Professional, v2002, SP3) workstation is completely ignoring my hosts file. Here is the code in my hosts file: 127.0.0.1 localhost 172.17.1.107 wiki But, when I open a ...
6
votes
2answers
337 views

How do I setup a HOSTS file on different operating systems?

Please provide examples of how this can be setup on client and server versions of various operating systems.
11
votes
1answer
32k views

CNAME record/alias in windows hosts file?

Is it possible to enter some sort of CNAME record or alias in the windows hosts file (C:\Windows\System32\drivers\etc\hosts)? Basically I want to forward all requests made to host A to host B, ...
2
votes
1answer
838 views

How to define multiple /etc/hosts entries with Puppet ENC?

I'm writing an External Node Classifier for my Puppet infrastructure, and I have the need to manipulate the /etc/hosts file on each node. The following (due to the duplicate key) is invalid YAML: --- ...
0
votes
1answer
1k views

Do cPHulk Brute Force Protection Settings Effect Hosts?

Question: Do my settings (shown below) prevent visitors from getting to any of the public web sites on my server if their ISP's IP Address has been blocked/black-listed through cPHulk Brute Force ...
0
votes
2answers
349 views

Strange Items in Hosts File and Netstat

I ran a netstat -a on a computer and there were a number of strange items: Proto Local Address Foreign Address State TCP netgym:epmap virusin:0 LISTENING ...