2
votes
1answer
36 views

Can you map a certain url to another ip?

There's a similar question to this, but that one only says that you need to setup a webserver, but doesn't elaborate on that and is probably something that I'm not looking for. Another one was over ...
0
votes
1answer
22 views

Redirect specific https requests the way HOST redirects specific http requests

Ummm... The question How to block specific HTTPS traffic? seems to have an answer somewhere, but... What I want is to do to https what hosts does to http, that is, redirect the request to someplace ...
1
vote
1answer
53 views

Local Network web site access with multiple computers

I have a local site running through my server computer located at 192.168.2.111 (port 80) on my network. I'm currently running the site using XAMPP. In order for the site to be accessed, I have ...
0
votes
1answer
112 views

Why there is no use changing /etc/hosts

Here are the commands: [17:31:13 root etc]# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 127.0.0.2 myweb.com [17:31:25 root etc]# ping ...
-2
votes
2answers
79 views

Changing my hosts file won't work

A while ago, I messed with my hosts file and it worked just fine. Then I wanted to undo my changes, so instead of deleting the entries, I completely restored the hosts file using one of Microsoft's ...
0
votes
1answer
131 views

Why won't Windows hosts file block websites?

I'm trying to block a website because someone keeps downloading crap from this website and it's spyware. I tell them it's spyware and they download it anyway. So I'm trying to block it via the hosts ...
-1
votes
1answer
37 views

Using a custom /etc/hosts, what IP address should I use to instantly time out? I'm running a web server on localhost

I was wondering what I should use. I have tried 129.0.0.1 which times out fairly quickly when I try to access it in a web browser but when loading a page with ads, there is a significant slowdown. ...
0
votes
1answer
78 views

Hosts redirection not working properly

Simply put, I want to redirect uk.wikipedia.org to en.wikipedia.org. I put this in the hosts file on windows, saved it, and flushed the DNS cache: 91.198.174.225 uk.wikipedia.org But when I ...
3
votes
1answer
438 views

No network connection on Host or Guest simultaneously with Client Hyper-V + Windows 8

I create a virtual switch from the Hyper-V manager, then I set it as the Network adapter in the VM's settings. In subsequent attempts, this happens: The VM gets access to the internet, but the ...
1
vote
2answers
222 views

If localhost is called 'localhost', why is the gateway not called 'gateway'? [closed]

If you run server services in your computer, it is very easy to configure the same computer to use it: just point the client to localhost. Now the gateway often runs your DHCP, DNS, proxy, firewall, ...
3
votes
2answers
1k views

Unblocking blocked site with hosts file

I have www.somesite.com blocked in my country. But I have another domain www.another.com that points to the same server and it's not blocked (Apache Virtual Host) and works fine. I put an entry in ...
1
vote
1answer
113 views

Hosts not recognized?

Basically, nobody can establish a connection to anything I host. The website, teamspeak, and game servers. I think it may have something to do with the hosts file or network configuration, but I have ...
0
votes
2answers
2k views

Can a router map a URL to a local ip?

I'm setting up a facility with many different computers where I don't have access to their hosts files. How would I map test.com to a local server without using the hosts file? Can this be done using ...
3
votes
2answers
213 views

How can I use the computer name in this situation?

I have the following scenario: Windows 7 64-bit, hosting an XP Mode, on the host machine there is Oracle 10g installed. On the XP Mode there is Oracle Client installed. From XP Mode I am able to ...
0
votes
1answer
85 views

How can I get other computers to see my new host name?

I recently set up my VM to have a machine name like this : sudo /bin/hostname jax sudo dhclient However, my host machine cannot ping "jax" ? I would assume this is all thats needed.... am i ...
0
votes
1answer
607 views

Automated Windows host -> IP resolution over subnet on Mac

I have a few Windows computers and two Mac computers all on the same router. The Windows computers can find each other by hostname just fine, so for example a UNC path of \\HOSTNAME\SHARE would ...
3
votes
2answers
4k views

Mac has IP address, can connect to router but can't connect outside

Weird problem, my MacBook can't connect anywhere right now! The router works, it gets an IP, it can log into to the router but it can't resolve anything! The router works as I connected another ...
1
vote
1answer
91 views

How do OS's handle /etc/hosts algorithmically?

I have a huge /etc/hosts file with 18,000 lines. I use it to block adservers and such. My browsing performance seems to be fine, but I wonder if there's some size at which I'll start slowing myself ...
2
votes
3answers
20k views

Why is “127.0.0.1 localhost” needed in HOSTS file?

I disabled all my network connections and deleted 127.0.0.1 localhost in HOSTS file but cannot find what had I broken by it. My IIS and MS SQL Server 2008 R2 continues to resolve localhost just fine ...
6
votes
5answers
443 views

ports and what they do

I am curious as to what a port number does. Are there specific port numbers for specific things? I know there is port 80 and I heard of 8000 in passing. I don't know why they are called that and ...
4
votes
3answers
3k views

How to alias a hostname?

Is it possible to keep a network alias - without specifying the IP address in the hosts file? For instance, I have abcd.efgh.com but want abcd -> abcd.efgh.com so that ping and ssh work as they ...
3
votes
3answers
3k views

hosts file for ip address

I would like to map ip address to specific localhost interfaces (e.g. 23.45.66.77 => 127.0.3.3). For named hosts I can use the hosts file. Naturally this doesn't work for IP address. This has to work ...
2
votes
2answers
3k views

Is there a way to 'include' a separate file in /etc/hosts?

Is there any way to 'include' another file within the /etc/hosts file? Particularly I want to include a non-protected (-rw-rw-rw) file so I can easily edit it in something like TextMate without having ...
1
vote
1answer
2k views

Is the hosts file ignored in windows if DNS Client service is running?

I've seen a number of articles about how to edit the hosts file in Windows 7, but it's all about how to open notepad as administrator, not the actual behavior of the dns lookups afterward. I've read ...
4
votes
3answers
7k views

Hostname redirection using Hosts file

We can use C:\WINDOWS\system32\drivers\etc\hosts file to map hostname with IP addresses like this 127.0.0.1 localhost But is it possible to assign one hostname to another like this? ...
1
vote
4answers
724 views

pings for unknown hosts ping 8.15.7.100

Running Ubuntu 9.04. I can ping hosts all day long but when I try to ping a host that doesn't exist, it instead sends pings to 8.15.7.100, which turns in to packet loss, but I'd prefer it if it told ...
1
vote
1answer
532 views

Unable to connect host from guest VPC

My host is WinXP and my guest (on VPC 2007) is also WinXP. Both have SP2. I am unable to ping either from one another. However, I am able to connect to the Internet from the guest. My intention is to ...
1
vote
1answer
2k views

Hidden Global Proxy Settings?

I have a problem with proxies: I can not turn off proxy settings completely either in Internet Explorer 7, Firefox 3 or Firefox 3.5 I used to use FoxyProxy for switching between proxies in firefox ...
3
votes
5answers
2k views

Editing the hosts file

I'm looking to edit the Windows TCP/IP hosts file (at c:\windows\system32\drivers\etc\hosts). I'm wondering, what is the best way to do this (on Windows XP)? Let's say that I want to redirect, say, ...