-1
votes
1answer
21 views

rerouting name to ip on local network [closed]

i created an intranet (lamp) and now i have to make it visible using this url intranet: the solution i found was to put in each computers (mac, windows) this in the hosts file using the ip ...
1
vote
1answer
270 views

Linux (Ubuntu): Setting hostname on internal network

I've got an Ubuntu Linux server with a WiFi card. When I boot my computer apache web server starts and the /etc/hosts file lists which lists the following: $ cat /etc/hosts 127.0.0.1 localhost ...
1
vote
3answers
600 views

User-based HTTP Host to IP redirection on a Windows Terminal Server

I've just setup a Windows 2008 R2 Terminal Server with IE9, it's intended to be used for testing. Unfortunately the web-bods tell me they ALL have a local apache on their machines and they've all ...
0
votes
1answer
100 views

Mapping all subdomains of a domain to an IP

How should I set up a server to map all subdomains of a domain to an IP? I wish I could do something like that in the hosts file: 127.0.0.1 *.example.com
3
votes
2answers
178 views

Is it good to define localhost as 127.0.0.1 in your hosts file?

I just came across a server that does not respond to things like ping localhost or mysql -h localhost - I believe this is because localhost is not defined in the hosts file. On just about every ...
0
votes
1answer
47 views

Service located on network

I've got a WCF web service that handles a portion of business logic and data access. This service is hosted on a server on our network at our office. Our website, hosted elsewhere, uses this service ...
0
votes
1answer
1k views

How do I block host name instead of just IP?

I was wanting to block a list of specific hosts, specifically so my server has no access to them at all. I tried using host2ip and entering the result into IP tables , but the IPs don't seem to lead ...
2
votes
2answers
817 views

Hosts file vs DNS for data center management

What are the cons and pros of using hosts files (updated via Puppet for example) vs DNS for data center machines management? I'm looking to switch from the tedious IP scheme, but concerned about ...
2
votes
4answers
387 views

How do I allow my computer to refer to itself as any ip on 192.168.1.*?

I'm using a Mac OS X, and I'm trying to begin using VirtualHost functionality with Apache2. I've created and loaded up a hosts file that looks like this: 127.0.0.1 localhost 192.168.0.71 ...