An /etc/ file that lists the hosts on a network (/etc/hosts ).
0
votes
1answer
43 views
why Ubuntu 12.10 returns a “network is unreachable” no matter what IP I Ping after I edited the hosts file?
The problem is related to the network config settings in Ubuntu.
I edit my hosts file, and now I can't load any sites except those IP(IPv6) included in hosts file.
I try to Ping some IP(both IPv4 and ...
1
vote
1answer
59 views
Keep getting “sudo: unable to resolve host”
Everytime I type in sudo it says that after it. I tried following others instructions, but it says bash: /etc/host: permission denied.
3
votes
1answer
8k views
editing apache vhosts and ubuntu hosts file?
I have just installed ubuntu (11.04).
I have installed apache/mysql/php etc.
I have a few sites sitting in
/var/www/site1
/var/www/site2
/var/www/site3
I want to be able to access these at ...
2
votes
1answer
89 views
Is it possible for /etc/hosts to include a file from my home directory?
I would like to setup Ubuntu One to sync a hosts file in my home directory between my machines. Ideally I would setup all my local web development URLs there and it would just sync between devices. ...
5
votes
1answer
125 views
network monitor widget
Is there a widget that shows all current hosts (IP adresses) in a list? I am not talking about a network bandwidth meter widget.
4
votes
1answer
72 views
Why is this single-word address being resolved? [closed]
I'm running Ubuntu 12.04. On my work network, there's a single-word address (let's call it foobar) that is responding to pings and HTTP requests, only from my machine. The address is not a TLD, just a ...
-2
votes
2answers
364 views
How to enable YouTube which is banned on a system
I have YouTube banned in my system. How can I enable it?
I tried to lookup for it in /etc/hosts.deny file but couldn't locate it.
Looking for an Ubuntu specific solution, how to disable/enable it?
...
-1
votes
1answer
158 views
Popup Malware “openadserving.com”
can someone help me please?!
When I'm using Chrome (or Fire Fox) I'm getting fullscreen popup advertising even on sites that I am certain do not have it. I see the web site it is trying to load is ...
0
votes
0answers
14 views
how to allocate specific host to specific browser?
How can I allow access of specific hosts only to the specific browser.
I mean I have edited my /etc/hosts file and placed some testing websites hosts.If I have something like access to only specific ...
0
votes
1answer
55 views
Used SSH to establish internal connection to another virtual machine; now I can't change it back
I logged onto my server from a remote computer via SSH using its hostname server.domain.com. The Samba server's IP is 192.168.5.33.
I then used the ssh command to connect with the local FTP server ...
0
votes
1answer
128 views
What happen when 'unable to resolve host' still exist on terminal?
After editing etc/hosts and hostname, 'unable to resolve host' still exist on my terminal,
I still don't know what is the cause. Although my computer and my terminal runs so well. I'm only using ...
1
vote
1answer
35 views
Hosted website unavailable after uninstalling local copy
I attempted to install my hosted Wordpress site on my 12.04 desktop following the Ubuntu Lamp guide, then after being unable to get it running properly attempted to uninstall it using suggestions in ...
11
votes
1answer
7k views
sudo: unable to resolve host (name already added to /etc/hosts) [closed]
Whenever I use sudo, I get this:
sudo: unable to resolve host dave00-G31M-ES2L
Here is my /etc/hosts:
dave00@dave00-G31M-ES2L:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 dave00-G31M-ES2
# ...
1
vote
1answer
599 views
ubuntu server not resolving LAN hostnames
Bit stuck here.
I have 2 machines that cannot resolve LAN hostsnames, unless there are specific entries in /etc/hosts
But other machines on the LAN can resolves hostnames.
My LAN:
1 x Cisco ...
5
votes
1answer
64 views
Preventing Users/Groups from accessing certain Domains
I have created a Study account which I use when doing anything school related work. It's purpose is to remove the distractions of my normal account, such as social media and news websites.
I know ...
4
votes
4answers
4k views
/etc/hosts modification does not work properly. What to do?
I have added these lines to the hosts file:
127.0.0.1 localhost adobe.com
127.0.0.1 adobe.com
It works perfectly on windows. But in Ubuntu 11.10 when I try to access it using Firefox the website ...
1
vote
0answers
120 views
How do I block an IP using hosts.deny with a non-default program?
I'm new to all of this.
I'm running Ubuntu 12.10 x64. I recently wrote a program in C++ that accepts TCP connections on port 57370, and it is running as a daemon (I used this guide). It's not very ...
3
votes
1answer
623 views
SSH: How to handle missing: /home/USER/.ssh/known_hosts [closed]
I have a old laptop that I'm using to learn Ubuntu Server 12.10.
Prior to reformatting and installing Ubuntu Server, Ubuntu Desktop was used.
With Ubuntu Desktop, I was using a no-ip.com hosted ...
1
vote
0answers
52 views
Can I set up a hostname alias that is only active in a specific network?
I have a small ARM box running ownCloud in my house, and a domain bound to my DSL router with Dynamic DNS. This works well as I can configure the ownCloud client to use the domain name, which works ...
0
votes
2answers
1k views
Configure hosts file to use aliases
I am running Ubuntu Desktop 12.04 and would like to be able to open a web browser (Firefox), type an alias into the address bar, hit enter, and have the browser take me to the site that the alias ...
0
votes
1answer
65 views
How to define specific urls like 'localhost'?
The same way 'localhost' in the url points to /var/www/
I would like to put http://courses/somehting/somthing/moresomthings/....
and it would always point to /var/www/courses.php
This is to work on ...
0
votes
0answers
168 views
Can someone explain my /etc/hosts file
My /etc/hosts file looks like this:
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ...
1
vote
0answers
60 views
Problem Raised after changing the system hostname
I have changed the hostname of my computer from dar to hus by editing the /etc/hosts file and /etc/hostname file.
Now the problem is that some software which were installed under 'dar' are not ...
0
votes
0answers
42 views
ubuntu lucid hosts options spawn command
I am trying to get a logger job to run if I have a login from machines I don't want to
allow in.
I have put such a command in my hosts.allow file,
and the documentation with ubuntu lucid says to use ...
0
votes
3answers
453 views
why is chrome resolving domain names differently than ping which is resolving differently than ssh?
When I go to me.com in chrome it tells me that domain can't be found. When I go to me.com with ssh, it connects to that server. When I try to ping me.com it pings localhost. I want me.com to ...
0
votes
0answers
76 views
Cannot connect to Remote Host
I have a Mini2440 kit which has IP address 192.168.1.230. I connect my laptop by cross cable to kit, configure eth0 address 192.168.1.23 255.255.255.0 but I cannot ping to 192.168.1.230.
In ...
5
votes
1answer
159 views
How would I broadcast a subdomain/virtual name on a local server with people connected to the same network
I have a server connected to the router which has ubuntu 12.04. It is has apache/mysql/php all installed ready to go. the folder structure is like this:
/var/www -- this isnt the root
-/libs
-/logs
...
1
vote
1answer
1k views
/etc/hosts file not being used before DNS server query
I have upgraded to Ubuntu 12.10 and I have made entries in /etc/hosts, but instead of looking into the hosts file, queries to my configured DNS server are being made first.
How can I make Ubuntu ...
1
vote
1answer
137 views
can't /etc/hosts be set up automatically?
what I need is: automatically add mac-addresses to some file and manually add the hostnames assigned to them, and a script will then scan my home LAN for those mac-addresses and populate the ...
0
votes
0answers
23 views
where does linode store its hosts info?
I have a linode account and through the DNS manager tab added a domain. Since this information isn’t stored in the installed ubuntu hosts file. where is it located? Is it possible to view the entry or ...
6
votes
4answers
591 views
Is there a GUI for /etc/hosts that I can use?
I want to be able to easily and frequently edit my hosts file from a quick GUI. Any one know of one that exists?
Thanks!
1
vote
1answer
66 views
Change Hosts 1.1.0 not working
I installed this addon Change Hosts 1.1.0 in firefox, and saved my preferences for hosts file in it. But when i select any host configuration from the addon it throws an error citing unable to save ...
0
votes
0answers
123 views
Thunderbird/Evolution cannot connect Gmail while Postler can!
I tried many possible ways and the instructions given by Google and Mozilla. But my Thunderbird cannot access to my Gmail.
I need ipv6 access in order to reach Google. And I have my /etc/hosts full ...
0
votes
1answer
184 views
/etc/hosts keeps getting reset. How am I supposed to edit it?
Whenever I edit my /etc/hosts file it's not long before I find it is exactly what it was before I edited it. Is there some master file I should be editing, or a gui interface I'm supposed to be using ...
2
votes
2answers
951 views
Blocking multiple sites with /etc/hosts
By editing the hosts file and adding: 0.0.0.0 sitetoblock.com I can block that particular website. Using the hosts file, is it possible to block every website except a few sites I specify? Wikipedia ...
0
votes
1answer
597 views
'/etc/hosts' , http links are redirecting, but https links are not redirecting
I edited /etc/hosts file and entered below information :
127.0.0.1 test.com //working
127.0.0.1 https://test.com //not working .
from the above info, http://test.com is redirecting to ...
0
votes
0answers
40 views
Resolve specific IP addresses to localhost in 12.04 [duplicate]
Possible Duplicate:
How do I add a DNS server via resolv.conf?
I used to simply add static DNS entries in my /etc/hosts file.
This is not working with 12.04.
How does one add static DNS ...
2
votes
3answers
1k views
how to block entire network (tumblr, blogspot) in hosts file
I know hot to block single tumblr blog with
127.0.1.1 something.tumblr.com
but I want to block entire tumblr. I tried 127.0.1.1 tumblr.com but it's not working.
Is there a way to do this?
0
votes
1answer
318 views
localhost subdomain wildcard
I'm trying to have *.localhost pointing at 127.0.0.1.
I read this post which is quite recent and looks promising but dnsmasq can't bind port 53:
* Starting DNS forwarder and DHCP server dnsmasq ...
0
votes
1answer
252 views
Hosting my domain name in 12.04 web server
In sites-available I created a new file from the default file and changed paths.
In sites-enabled I created a sym link.
In hosts I added the new domain after 127.0.0.1 localhost
restarted apache but ...
7
votes
2answers
4k views
How do I properly set up and secure a production LAMP Server?
It's very hard to find comprehensive information on this subject. Either I found short tutorials on how you perform the installation, as simple as "apt-get install apache2", or outdated tutorials. So ...
0
votes
1answer
456 views
Ubuntu hostname on lan config
My host computer is Windows 7 64. I have VirtualBox with an Ubuntu 10.04 Server x64 running as guest. My Ubuntu Guest has an ip of 192.168.1.104. I have openssh installed on the guest. I can ssh ...
0
votes
1answer
156 views
Access Wiki installation on Host from Virtual Server
Recently I set up a Dokuwiki installation on Ubuntu Server in VirtualBox. My host OS is Ubuntu 11.10. Till date I was using NAT configuration for my VirtualBox. Since today I decided to use Host-only ...
4
votes
1answer
984 views
How can I keep my custom entry in /etc/hosts?
Since I upgraded my laptop to Ubuntu 11.10 32-bit, the entry I add to /etc/hosts for my home server keeps disappearing on boot. I have to edit the hosts file every time I start up and want to access ...
2
votes
2answers
209 views
Why can't I load this website except on Windows?
http://www.battleswarmzone-.spruz.com/ fails to load on my system under ubuntu, but loads under windows. I can't ping this subdomain either, but spruz.com loads fine O.o
Worse still, even proxies ...
2
votes
2answers
3k views
Network configuration: resolv.conf and hosts
I read This manual and I'm a little confused.
This is what I don't undetstand:
When your system tries to resolve a hostname to an IP address or determine the
ostname for an IP address, it refers to ...
2
votes
4answers
466 views
“Lock” one specific file so that I nor root no longer have access to it any more
To combat procrastination, I edit my /etc/hosts file by adding time-wasting websites and pointing them to localhost. However, the flesh is weak and I often find myself reverting my changes.
I was ...
6
votes
1answer
1k views
Default permission of hosts file
I changed the permissions of my host file /etc/hosts by doing a chmod og+w.
What's the default permission so that I can switch it back?
3
votes
4answers
3k views
How to SCP a file from Mac -> Ubuntu VirtualBox?
I have a Mac (OS X) and a VirtualBox running Ubuntu.
I want to SCP a 500mb file from the Mac to the VirtualBox. How do I do this? (Probably something to do with /etc/hosts?)
1
vote
1answer
46 views
How can I get the Default files .. Networks / Hosts / resolve / and whatever else I changed to try and get up my webserver?
Does anyone have the original.. Default Hosts File, Resolve File.. and networks file?
Please someone help me get these back to normal so I can put up a freaking webserver! I'm tired of crying out ...

