The hosts tag has no wiki summary.
0
votes
0answers
19 views
Is there a utility to ping a server using aliases in ssh config (instead of /etc/hosts)?
I'm trying to standardize my server aliases across projects by linking together ssh config files that I can keep under version control.
I'd like to be able to just define machine aliases along with ...
0
votes
1answer
60 views
MAMP PRO on Lion: why can't I see any changes in httpd-vhosts.conf?
After adding a local virtual host in MAMP PRO (os x lion) everything works as expected.
Out of curiosity I had a look at httpd-vhosts.conf file placed in MAMP/conf/apache/extra and to my surprise this ...
1
vote
2answers
40 views
how to get the name of current host?
This may be a pretty dump question!
So how do I get the host name so that I can ssh into my machine (which is a Mac)?
For instance : ssh myusername@<hostname>
Is there any command to find out ...
1
vote
1answer
56 views
Weird Terminal error when opening TextEdit.app
I was trying to edit my host file with the command
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
I got the following error:
Sending synchronize message <dictionary: ...
0
votes
1answer
32 views
Corrupted data from terminal to Host
Ive got a terminal which sends data to a host that is wrapped with <stx> and <etx>.
However when it enters the network it always has 5/6 bytes of junk data in place of the <stx> and ...
0
votes
0answers
39 views
best architecture and scenario for hosting high traffic web application on two server? [closed]
we have a web application(dot net 2008 and sql server 2005) with totally 1000 users and about 350 online users.
the app is used for recording daily receipts.
the comapany has 700 branches that ...
0
votes
1answer
64 views
Redirect a url to another url
I need to redirect a url to another url. THe PC where this should be done has Linux but no server program such as Apache. When the user type www.mycomerp.com, it should redirect it to ...
0
votes
0answers
34 views
Can Zone Alarm be causing this? [closed]
In my case Zone Alarm had locked the file.
There is a problem with certain versions of ZoneAlarm Firewall where the HOSTS file is "locked" even though that option is unchecked in the options. To ...
0
votes
1answer
111 views
create intranet website on windows 7
I want to create a web site in my LAN, but instead of using my laptop or PC as the hostname of the web site, users should be able to use something like css.domain.com.
I'm doing this because I want ...
0
votes
4answers
66 views
How can I create shorter URLs to sites on my computer?
I was wondering if I could use my Windows 7 hosts file to create shorter URLs for sites? OR is there another way. I tried ones like the following but I'm guessing it only works with IP Addresses?
...
0
votes
2answers
108 views
DNS resolves without adding the host IP and name to etc/ hosts file
Is there any way to resolves host-name without added to hosts file?
In order to access internal site in my company I have to add the host-name and IP in the .../etc/hosts file. Is there any way to ...
1
vote
0answers
69 views
how to properly edit hosts, hostname and resolf.conf?
i,v been searching the internet for a real noop tutorial on the subject but could not found any direct info. on how to edit these files the proper way.
i,v got a debian internet server that i use to ...
4
votes
2answers
196 views
Why do some applications run faster on a 32-bit guest VM than on the 64-bit host machine?
I have a Windows 7 x64 laptop with a Windows XP x32 guest virtual machine installed using VirtualBox. Once I ran an app on the guest and found that it ran noticeably faster than it did on the host. ...
0
votes
0answers
134 views
Local domain name in /etc/hosts (MacOS X Lion)
I have websites like site.com as local version and develop it on local machine, so I put 127.0.0.1 site.com in /etc/hosts, www.site.com is a live version on server, but when I try to open or ping ...
0
votes
2answers
132 views
Custom host file for Firefox
Instead of changing my host file I'd like Firefox to think my domain is on my own server while my other browser uses the real IP address. I used to edit my host files but that forces both browsers to ...
0
votes
2answers
71 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 ...
0
votes
0answers
129 views
Running Parallels on Mac - how can I access localhost on Mac server from Windows?
I'm running Parallels on my Mac. I have a web server set up on the Mac side, so I edited my Mac hosts file and now on any Mac browser, I can access lmiv.crunchy:8080 and the web page comes right up.
...
2
votes
1answer
91 views
How can I prevent users from circumventing the Windows hosts file?
I realized Windows hosts entries can easiliy be circumvented by just setting a system proxy or use a webproxy like hide my ass.
How can prevent my kids from circumventing my hosts file that blocks ...
2
votes
1answer
81 views
Quickly edit / change hosts file on Windows
I routinely need to add / remove / update hosts on a Windows 7 machine to add links to staging / test servers.
On Mac I can use ghosts with the syntax
ghost add staging-server.local ...
1
vote
2answers
94 views
Windows - hosts file resets without my interference
I have a pretty long list of time-wasting sites in the hosts file and it is working just fine, however I'm experiencing a very strange behavior - every day or two (my PC turns on automatically every ...
0
votes
1answer
161 views
How to make Ubuntu VM in VirtualBox accessible from the internet?
I'm trying to set up an Ubuntu server in VirtualBox.
The host is Windows 7 x64.
The guest is Ubuntu 11.10 x64.
I want to make this server accessible from the internet. How can I do it?
6
votes
1answer
393 views
Mac OS X “hosts” file, can I include other files with it?
I am working on some automation scripts to configure my network settings, hosts file contents, and /etc/resolver files, when accessing different networks I frequent between.
There are some ...
2
votes
0answers
114 views
Enabling IPv6 Permantly in google Chrome
Right I am working on a few sites, using virtual hosts (vhosts) on my local developing machine.
I've altered the windows\system32\drivers\etc\hosts file to include some fake domain names that just go ...
2
votes
2answers
263 views
Permissions for editing hosts file on Windows 7 Home Edition
I am running Windows 7 Home Edition on my laptop.
I also have an instance of Apache Server running and am trying to create a virtual directory. I have updated apache's vhost-httpd file and now need ...
0
votes
1answer
148 views
nsswitch.conf - cannot modify (read-only)
I am attempting to modify nsswitch.conf from:
hosts: files dns
to
hosts: dns files
But, it is read-only. I have tried using:
sudo vi /etc/nsswitch.conf
And even with
:w!
It is ...
3
votes
2answers
112 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 ...
2
votes
1answer
44 views
In your ssh config is it possible to have one host entry for multiple machines on the same domain
I'd like to be able to do something like
Host *
HostName *.mydomain.com
...
So I can type something like
ssh test
ssh ci
ssh dev
Instead of having to type
ssh test.mydomain.com
ssh ...
1
vote
1answer
59 views
Chrome cannot find the host entry for website
When I try to load a website, I get the following error in Chrome,
Chrome could not find img.mzsites.com
But on another computer, the site has no problems loading. I have tried ipconfig /flushdns, ...
2
votes
1answer
403 views
Mac OS X Lion cannot resolve localhost
I have found serval questions about this but no one helps for me, I am searching for
days to get my problem solved but I can't get it done, I hope someone can help
me with this big issue.
I try to ...
1
vote
1answer
224 views
My facebook redirect to localhost
I am in strange condition right now. I am not able to access facebook.
Once I open the facebook it just loads the localhost.
I know we can set it from host file. But just have a look at my host ...
0
votes
0answers
38 views
hostname and hostname -s differ
My /etc/hostname has:
name.domain.net
Previously, it was:
old.domain2.net
If I do hostame I get name.domain.net. But doing hostname -s returns old.
According to the man page:
-s, --short
...
2
votes
2answers
180 views
Can I chown /etc/hosts so my user owns it so I can edit it without sudo?
It's a bit inconvenient to have to sudo emacs /etc/hosts whenever I want to make a change to my hosts file, especially since I don't use a Terminal-based editor primarily. Could I change the ownership ...
0
votes
1answer
161 views
hosts file ignored
This is very strange issue. I'm on Windows XP. I have tried to put
41.41.41.41 facebook.com
41.41.41.41 www.facebook.com
into C:\WINDOWS\system32\drivers\etc/hosts. When I tried to save the file, ...
1
vote
3answers
230 views
What unresolvable IP address should I use to block adverts?
I don't want to depend solely on in-browser ad blockers. I therefore created my own block list of advertisers' domains and pointed them all to a 0.0.0.0 IP address.
I now started a project and need ...
0
votes
1answer
42 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 ...
3
votes
1answer
86 views
How to list all DNS names pointing to an IP?
I know – for example – that there are two DNS names for an IP. However nslookup ip only returns one record.
How do I get all the records for an IP?
1
vote
0answers
43 views
Software for editing HOSTS file in windows [closed]
Possible Duplicate:
Editing the HOSTS file
Is there a software which allow you to nicely edit hosts file in Windows? For instance, it should allow searching, and will display information in ...
1
vote
1answer
292 views
Hosts file, facebook and SettingsModifier: Win32/PossibleHostsFileHijack
I'm one of those people that needs a bit of protection from their selves at work, so I wanted to add facebook.com to my hosts file. But something strange happens. The moment I add it Microsoft ...
1
vote
3answers
244 views
host(1) command only uses first nameserver?
According to the man page, host ought to query "the server or servers listed in /etc/resolv.conf," but it only uses the first entry in that file:
thefourthtower:$cat /etc/resolv.conf
nameserver ...
2
votes
4answers
195 views
How do I refresh and clear all entries in hosts file on Windows Vista and 7?
A website is not opening on my PC which was accessible a week ago.
I don't know how to delete the wrong entries in the hosts files. Is it possible to clear all the entries in the hosts file? I'm ...
0
votes
2answers
184 views
IEEE 802.1Q (VLANs): Can a station/host be configured as trunk?
I know that IEEE 802.1Q compliant switches can have their ports configured as access (just accept traffic from one specific VLAN) or trunk (carry traffic from more than one VLAN, it must be specified ...
1
vote
1answer
229 views
Joomla cannot connect to MySQL using localhost
I have a fresh Joomla installation in a Mac OS X and I have configured a database to connect the application to. By default, Joomla uses localhost to connect (variable $host), but it does not work.
...
0
votes
1answer
249 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 ...
1
vote
2answers
567 views
How to reroute all traffic using hosts file?
Is there a way to redirect all traffic to one IP in the hosts file? If not, how else could i achieve this?
0
votes
0answers
141 views
automatically changing host file based on network location
I have a subversion source code server on my home network, and I use dyndns and my internet router to access it from the outside. When I am using my laptop, I have to use the same URL regardless of ...
3
votes
2answers
672 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
260 views
How to access Guest (Windows XP) Internet from Host (Windows 7) in VMware Workstation?
I am using a 3G USB modem in Windows 7 64-bit. For some odd reason, it gives me a BSOD whenever I try to connect it. What I did is installed Windows XP SP2, in VMware and now I can use it inside the ...
3
votes
2answers
571 views
Resolving UNC path using hosts file
I'm having a problem accessing a UNC path in Windows Server 2008 using the hosts file.
My hosts file looks like:
10.x.x.x server_1
When trying to access the unc path:
This works:
...
0
votes
1answer
84 views
Fixing DNS on Ubuntu server
I've got a server that is currently running as servername, but I need it to be servername.domain.com (the IP already resolves to servername.domain.com), and I currently have:
0.0.0.0 ...
2
votes
1answer
186 views
How to make a website inaccessible from Chrome?
Using the Windows OS's host file to redirect an URL to an invalid one, e.g. 127.0.0.1, will help me to stop that URL in Internet Explorer and Firefox but not in Google Chrome.
How can I do that in ...