The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
4answers
792 views

Using /etc/hosts to redirect traffic during DNS switch

I'm migrating a rather busy site to another server cluster. The site with a MySQL master and two slave servers. I'd like to have as little downtime as possible during the switch, and my biggest ...
3
votes
3answers
3k views

How can I have a user specific hosts file

Is it possible to configure user specific hosts file instead of a common /etc/hosts. For example if user "user1" tries to get the name for the IP: "127.0.0.1", he gets "dev.user1" and if user "user2" ...
2
votes
2answers
1k views

user version of /etc/hosts

I am a user on a Solaris 10 system and I wish to maintain my own version of /etc/hosts. This file will function like a normal /etc/hosts, except it will only resolve hosts from processes that I run. ...
0
votes
2answers
2k views

Hosts file entry directed to a directory on localhost

I have a directory setup with a nice error message at http://localhost/blocked/. I'd like to direct entries in my hosts relating to sites I've blocked to that instead of just 127.0.0.1. ...
1
vote
1answer
824 views

/etc/hosts file for a multi-homed, multi-domain machine?

I have a server (debian) with two network interfaces that I would like to host multiple services and domains on; it is not entirely clear to me how the hosts file should be set up. Example: eth0, ...
1
vote
2answers
903 views

Is there a tool to export/import Windows Server DNS settings to/from the hosts file?

We have many rules in our internal DNS server and I'd like to use them in my local hosts file. Is there any utility to do this kind of conversion? Update: The DNS server is Windows Server and the use ...
0
votes
1answer
1k views

Sendmail /etc/hosts and DNS … what is the correct way?

I found one tutorial on setting up sendmail that says that in the /etc/hosts file, "The entry for 127.0.0.1 must always be followed by the fully qualified domain name (FQDN) of the server." Like so: ...
0
votes
2answers
598 views

Is a matching entry in /etc/hosts required for hostname?

I was installing a Tomcat webapp that refused to work until I stumbled on someone else's issue with an unrelated product. The solution was to add the machine's name to /etc/hosts, to match the name ...
5
votes
9answers
3k views

Block users from Social networking websites while firewall is down

We currently have a SonicWall firewall, which does a pretty good job a blocking Social networking websites like Facebook and Bebo. The problem we are having is that sometimes we need to temporarily ...
4
votes
4answers
3k views

Why is my hosts file not working?

I've been using the hosts file to for local website development, and it's recently stopped working. No entries other than localhost resolve. I've simplified to test, so it now contains only ...
0
votes
2answers
215 views

Problems pointing site to site in Hosts file

I'm on my localhost PC. I need to add an entry that maps our public site to our dev server. I tried several things with no luck: 192.168.1.40 oursite.com // where the IP here is our internal dev ...
0
votes
2answers
212 views

server-migration issues : how i test my site before DNS A record transfer

I am doing a Server migration of virtual server (host 15+ sites ), I did all file transfer & other configuration , Now I want to test my sites before actual A record transfer , I know I have to ...
2
votes
2answers
2k views

Can't access network share with name defined in hosts file

I have a network share on a machine that I can only reach by IP address. I then defined an alias for the IP in my hosts file so I could use that instead of the IP but then I can't log on to the share, ...
0
votes
1answer
2k views

IIS 7 Website Bindings www.domain.com & domain.com

I am currently setting up a domain name on windows server 2008r2 iis7 In the local hosts file I have mapped Domain.com and www.Domain.com to the localhost The iis7 website has the bindings for ...
1
vote
3answers
849 views

How to share /etc/hosts?

On my lan, all my etc/hosts are identical, except of course the first lines 127.0.0.1 localhost.localdomain localhost 192.168.0.1 thismachine.thisdomain thismachine Is there a simple way (I'm not ...
0
votes
7answers
11k views

localhost went “It works!” - and nothing else

I'm working with Mac's built in Apache, and everything was just great UNTIL - something went wrong. I think it's the .hosts file. http://localhost results with "It works!" message, while any ...
8
votes
8answers
60k views

Point Multiple IP Addresses to a Single Host Name

In Windows System, there is this file at C:\WINDOWS\system32\drivers\etc\hosts. This file allows us to default a specific IP address to a host name. The issue now is whether I can set multiple IP ...
2
votes
3answers
88 views

Partial HOSTS file read

I've a new entry that I put in the HOSTS file: 10.7.4.94 COMMRTU7 commrtu7 commRTU7 The first two entries ping, but the third one won't ping. I have a list of entries like this that work fine, any ...