0
votes
0answers
34 views

Local DNS using Bind9 [migrated]

I have a few computers on my home network that I would like to assign names to. I don't want them to be a TLD, just aliases, like "orange" or something. The tutorials that I was reading such as this ...
-1
votes
1answer
79 views

How can I make my Local Server accessible via hostname? [closed]

I've set up an Ubuntu Server with LAMP. Now I wish I could access it from the other computers in the network just by typing http://hostname/ in the browser. Is it possible without setting up a DNS ...
0
votes
2answers
96 views

Should you use a private hostname or public hostname as server hostname?

Assume you have a web server and database server, the web server is publicly accessible, while the database is only used by the web server, their DNS is web.example.com web-internal.example.com ...
-2
votes
2answers
269 views

Linux PC is not reachable through hostname when static ip is configured [closed]

I'm using Ubuntu 12.04 on PC. when the PC is configured to use DHCP, the pc is accessable through it's hostname. but when I set static ip, I can't reach the PC through the hostname. What is the ...
4
votes
4answers
1k views

Can't connect to MySQL using 'localhost' but using '127.0.0.1' it's ok?

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 ...
0
votes
2answers
200 views

Can ping google.com, but can't ping cnn.com

I have just upgraded from 10.04 to 12.04. I didn't notice the problem at first. But when installing horde with the pear installer it failed to download all of the packages. So I did a little hunting ...
0
votes
1answer
73 views

Changing the hostname on a rented dedicated server

I would like to change the hostname on my Ubuntu Server 12.04 box that I rent from a dedicated server company. At the moment if I type hostname into SSH I get a response like so: ...
2
votes
1answer
630 views

EC2 hostname ubuntu and ejabberd

I have questions related to the host name in Ubuntu EC2 instances. I have a IPS elastics for hosts that want to be seen from the internet and I have pointed out in the DNS entries with the computer ...
0
votes
1answer
122 views

Virtual server (VM) running Ubuntu re-configures itself?

I'm helping to administer a VM running Ubuntu with Media Temple. The hostname was changed, and sendmail was removed and replaced with exim4. To change the hostname 'sudo hostname newhostname' was ...
0
votes
1answer
339 views

linux macvlan - stop from broadcasting hostname

I am trying to simulate two different computers on one box, using the macvlan module (which is awesome, by the way) but I have one small problem; When I create the macvlan Ubuntu 11.10 very helpfully ...
-1
votes
2answers
443 views

setting server hostname

I'm using ubuntu 10.04 on my server and I'm looking to set the hostname. Looking around it seems I have to set this in the /etc/hostname file, but on my system I do not have one. Typing hostname ...
0
votes
2answers
515 views

Ubuntu 10.04 server change ip

I have ubuntu 10.04 server configured to ip address x.x.x.200 and also have windows server 2003 with ip address x.x.x.100 (already setup as www.some-domain.com) Currently i trying to shutdown windows ...
2
votes
1answer
647 views

Ubuntu - get hostname -f to return fake “FQDN” without DNS

On my private local network, I need an Ubuntu host to convince itself (well, more specifically the Erlang "long name" tool) that it has a FQDN. It doesn't much matter what it is. But supposing my real ...
0
votes
2answers
598 views

host resolution extremely slow using wget on local dev machine. fast using browser

On my local Ubuntu 10.04 dev machine, if I do a wget for a web address such as "wget http://www.google.com", it gets stuck on "Resolving www.google.com" for up to 30 seconds before the response is ...
3
votes
1answer
5k views

How do I change HOSTNAME on an Ubuntu server?

I'm attempting to change the hostname on my shared server with Slicehost so I can setup Postfix as a null client. I edited /etc/hosts and after reboot, the hostname is still incorrect. What am I ...
4
votes
1answer
5k views

ec2 instance - is it safe to change /etc/hostname?

I'm having several ec2 independent instances(staging and production). They do not talk to each other in any way. Is is safe to modify /etc/hostname for better clarity of what instance you've logged ...
0
votes
1answer
390 views

Redirect port for specific hostname?

Lets say I have two domains pointing to my IP: first.com and second.com pointing to 127.0.0.1 When someone connects to first.com:6000 it should go to 127.0.0.1:6000. But when someone connects to ...
2
votes
3answers
2k views

How do I find out my host name and IP address on Ubuntu?

I know Windows has the ipconfig command to find out information about my host name and ip address. On Ubuntu I tried: tpconfig - was not installed on my machine iwconfig - did not give useful info ...
17
votes
3answers
8k views

On Ubuntu 10.04, should /etc/hostname contain the server's FQDN?

On Ubuntu 10.04, should /etc/hostname contain the server's fully-qualified domain name?
1
vote
2answers
610 views

Hostname doesn't resolve

Alright, so this is a hostname issue. I have a server setup on my College's network (which is allowed). The hostname is "moria.student.rit.edu". The IP address assigned to it is a roamer, and it ...
4
votes
1answer
672 views

Should I change my server hostname?

The hostname on my server is the default that is was when I purchased the dedicated server, but I am wondering if it is possible to change it, and if I should. If I change the hostname, will it stop ...
1
vote
2answers
730 views

Two machines on the network with the same hostname

There are two machines on my network that have the same hostname. I verified it by typing # hostname on the terminal. The effect is that I can only view one of the two machines on the Network, from ...
0
votes
1answer
524 views

EC2 Ubuntu Lucid Hostname/ServerName

I'm trying to move my server from linode to EC2 and am following the guide located here - http://library.linode.com/getting-started/ One problem I have is when I set my hostname to my public DNS: ...
0
votes
4answers
5k views

hostname -f says “hostname: the specified hostname is invalid”. Guess why?

hostname -f says "hostname: the specified hostname is invalid". The hostname (FQDN) specified in /etc/hostname is also listed in /etc/hosts and is pingable. No actual DNS server yet of the host knows. ...
3
votes
1answer
3k views

May I set multiple names in /etc/hostname?

My server is meant to have one name in the datacenter ISP's domain and another in our company domain. How do I set this up correctly? Can I set multiple names in /etc/hostname? (The OS is Ubuntu 10.04 ...
1
vote
3answers
541 views

Apache Subversion and Sudo - Why can't I resolve this hostname?

Okay, I made a mistake and I'll be the first to admit I'm new at this setup. I built a bare bones kit, installed Ubuntu on it, and attempted to set up a source control server for a project some friend ...
10
votes
2answers
9k views

How to divert traffic based on hostname using HAProxy?

I've had some initial success with HAProxy setting up a bunch of app servers listening on various other ports. I now have another webserver listening on one port, and i'd like to what changes to make ...
3
votes
4answers
1k views

Can not ssh into ubuntu server using <servername>.local (on one server but not the other)

I have two servers and one seems to have configured something "out of the box" to allow "ssh servername.local" to work. I really like this and looked into it, but I don't see any difference in their ...
0
votes
1answer
356 views

VMware 1.0.1 Windows7 - Ubuntu hostnames

I'm trying to run Ubuntu as the guest OS using VMWware 1.0.10 with Windows 7 Ultimate as the host OS. I had this set up previously with Win XP as the host OS and in fact I'm using the same .vmx My ...