0
votes
1answer
67 views

How to change hostname [duplicate]

I have updated my system's hostname in /etc/hostname file as master. I have also mapped my /etc/hosts file like <ip> master Still, when I type $ hostname, I get a different hostname. I ...
0
votes
2answers
326 views

create an alias for `localhost:8080/` as `www.my-domain.com/`

In ubuntu, I want to create an alias for localhost:8080/ as www.my-domain.com/. So that whenever I type www.my-domain.com/ in URL field, it shows up from localhost:8080/. What is the easiest way to ...
0
votes
2answers
310 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 ...
0
votes
4answers
725 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 ...
4
votes
4answers
10k views

Why is the /etc/hosts file not working?

I have been having problems with this for a while and have tried everything I know, so I figured it was finally time to ask for some help. Any edit I make to /etc/hosts just doesn't work. Example: ...
0
votes
2answers
208 views

not sure I set my host name right need someone to straighten me out

I just installed Zimbra and I think I screwed up my host name trying to get it to install. I did get Zimbra installed but the certificate is not working. (that's another topic) Here is my host file: ...
4
votes
1answer
121 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 ...
1
vote
0answers
158 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 ...
23
votes
3answers
48k views

Changing System name [duplicate]

I am given an Old Ubuntu working system and the previous user had everything on his name so started turning it to my name as typing his name everywhere was bugging me. I tried $ usermod -l hussain ...
1
vote
1answer
107 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 ...
2
votes
2answers
5k 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 ...
2
votes
1answer
5k 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
0answers
43 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 ...
0
votes
1answer
324 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 ...