An /etc/ file that lists the hosts on a network (/etc/hosts ).

learn more… | top users | synonyms

0
votes
4answers
850 views

Automatically change hosts file

I have a Server on my house to proves and when I'm on my laptop in my house I have to write the local IP to see the web server, and i want to know if it is possible write a script to automatically ...
0
votes
2answers
51 views

Host file redirect for download another file

I edited my host file like this. example.com/abc/a.zip example.com/abc/b.ziP So what I need to do is when I enter example.com/abc/a.zip url in browser it should be redirected to ...
0
votes
2answers
408 views

How can I use a local DNS server?

I need to test a few websites on my local network. I've already setup a DNS server with bind9 for my internet domains, and that works. I can also add a few domains to the /etc/hosts file, so I can ...
1
vote
1answer
28 views

Would there be a problem if I set 2 hostnames in my server?

Would there be a problem if I set 2 hostnames in my server? vi /etc/hostname dns01.hello.com proxy01.hello.com and in my hosts file 127.0.0.1 localhost 127.0.1.1 dns01.hello.com 127.0.1.1 ...
0
votes
1answer
19 views

How to access vhosts on ubuntu server from withing local network

recently started building a home network out of ubuntu server and a few other computers . . now on one older one i have installed ubuntu server and can connect to it with the ip and either ssh . . ...
0
votes
1answer
36 views

Vmware guest O windows 8red color become blue

I am running VMware worktstaion 10, on Ubuntu 12.04.5, having windows 8 as guest OS. Very think seem fine expect loss red color, it became blue. Vmtools were re-install, VM->Setting->DISPLAY, ...
0
votes
1answer
402 views

Apache - server not resolving by /etc/hosts if I have not internet connection

I have configured many virtualhosts in my current apache2 server, in my local machine (Ubuntu 13.10). Those are different local sites, with domains which are set in my /etc/hosts: 127.0.0.1 ...
0
votes
1answer
144 views

How to temporarily override a DNS setting for a certain domain name to point to localhost?

I need ubuntu to use a certain domain name to point to a localhost address temporarily. How could I confgure for that ?
0
votes
1answer
57 views

How to restrict the access to the certain domains during work hours automatically

I know about SelfControl app, but it has to be started everytime and the block hours to be set. I want for example to forbid loading certain sites during work hours, but make it possible during the ...
0
votes
1answer
75 views

How to make custom URLs on LAN

i've been trying to find a solution to this for a long time... what i wish to do is create custom URLs on LAN against which users can easily access to some site without using the actual URL e.g. if ...
0
votes
1answer
352 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 ...
0
votes
1answer
172 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
416 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 ...
0
votes
1answer
327 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 ...
2
votes
0answers
38 views

Getting Ubuntu server to resolv new IP for a host name

I run a minecraft server on ubuntu 14.04 LTS on vm's using virtual box. In order for players to connect, their 'account' must be checked with Mojang, at sessionserver.mojang.com. The problem is, the ...
2
votes
0answers
2k views

VirtualHost In Localhost Is Not Accessible From Localhost When Offline, How To Fix It?

I am setting up my own local development web server, mainly for theme development. I've successfully setup LAMP in Ubuntu 13.04 64bit Desktop, apache works fine. The machine where LAMP is installed ...
1
vote
0answers
88 views

Localhost port aliased

I wanted to use /etc/hosts to define "aliases" for multiple services localhosted like: 127.0.0.1 localhost 127.0.0.1:8080 machin 127.0.0.1:8081 truc But it doesn't seem to work, surely because ...
1
vote
0answers
237 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 ...
1
vote
0answers
169 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
10 views

Auto subdomain creation with vhosts - VirtualDocumentRoot problem

I have setup my vhosts file like so (only question related part): <VirtualHost *:80> DocumentRoot /var/www/mydomain.com/web ServerAlias *.mydomain.com VirtualDocumentRoot ...
0
votes
0answers
33 views

Can't login to Ubuntu 14.04 via PC

Ubuntu 14.04 server running as a VM with VMSphere. Let's call the machine "ubuntucomp.net". Using Putty 0.63 and Xwindows and ssh to log into Ubuntu via my PC. But it doesn't work. I normally log ...
0
votes
0answers
26 views

Host File Not Working

I am new to Ubuntu and trying to setup a redirect in my host file to redirect a development url to my development server. externalIP example.com In Windows I edited the hosts file and all was ...