-1
votes
1answer
1k views

How to set the fqdn on a CentOS server? [duplicate]

I set my hostname in the /etc/sysconfig/network file to host.example.com HOSTNAME=host.example.com Fyi, I then issued a reboot on the machine. I have a problem with Puppet: when I run Facter on ...
0
votes
1answer
100 views

make php mail() send relevant domain name and not from default server hostname

I'm not the sharpest server administrator in the draw, so i hope this isn't too much of a stupid question. I'm looking to make php mail() send relevant domain name and not from default server ...
2
votes
1answer
179 views

What would cause the hostname FQDN to repeat the suffix twice?

I have three new CentOS 6 servers that connect to a DHCP server to get an IP and to have DNS/rDNS setup to bind their FQDN and IP. Two of them are behaving as expected. One of them is appending the ...
1
vote
2answers
2k views

How to set hostname.domainname from dhcp

Running Centos 6.x using dhcp, we want to set the hostname to be FQDN that's obtained from a combination of dhcp options. As an example if I have two dhcp options option host-name "foobar"; option ...
3
votes
1answer
282 views

How to reset and persist the hostname and FQDN of an WIdows Azure Centos instance?

How does one reset a hostname and domain name (FQDN) to localhost.localdomain on a Centos 6.2 Azure Instance? I've tried editing /etc/sysconfig/network, /etc/sysctl.conf, setting the hostname ...
0
votes
3answers
364 views

MySQL - Hostname Issue

I'm experiencing an unusual issue with my production mysql server. Currently I only have two production servers so I had all the server host name entries in /etc/hosts files on each server. A few days ...
12
votes
1answer
1k views

Linux - if I change the hostname, which services need to be restarted?

I'm making some system hostname changes across a few environments and this got me thinking... When I change a server's hostname (live), what needs to be modified and which system services require a ...
0
votes
2answers
115 views

confused about hostname- what do i set it as?

I am a little confused about the hosts file in Linux, and what I have to set in it. I am setting up an email server which is on our gateway. Now this machine obviously has an internal and external IP ...
0
votes
1answer
2k views

Could not resolve hostname in curl, wget, yum on Centos

After I freshly installed a Centos, I can not get yum, wget or curl to work. All I get is : $ curl http://www.google.com curl: (6) Couldn't resolve host 'www.google.com The most surprising part is ...
1
vote
1answer
93 views

DNS with centos

I have a centos box from linode and I have set the /etc/hosts /etc/sysconfig/network and /etc/resolv.conf to only one domain. Is it okay to host multiple domains on the same machine, while only one ...
0
votes
2answers
546 views

CentOS 6.0 Server hostname changes at reboot

Every time I boot, CentOS 6.0 Server hostname disappears. I have to re-issue hostname command to reset it. Please help!
1
vote
0answers
420 views

No names resolve in new BIND installation - wondering if issue is that BIND cannot resolve the NS

When I configure a new domain using Webmin/BIND, I am asked for a Master Server. Webmin fills this value automatically with the hostname of my box. However, this hostname is made up and there is no ...
2
votes
4answers
5k views

Setting new hostname on CentOS, it changes back after restart

On CentOS (5.x) I have a VPS that has hostname set to "olddomain.com", at least this is the domain I am getting when typing "hostname" command. I want to change it to 'localhost.localdomain' because ...
0
votes
1answer
580 views

Trouble with resolving hostnames on CentOS using Bind

I'm taking a course on server administration at school and I have managed to set up virtual hosting in apache and a dns server on a virtual machine. However, I have now set up an old pc to run CentOS ...
0
votes
3answers
2k views

Hostname Problem On WHM / cPanel Installation

My CentOS 5.6 server's hostname was "centos" . And then i change it to my domain : hostname domain.com And i started to installing WHM / cPanel as explained in here : ...
1
vote
1answer
232 views

Trouble changing hostname on a Rightscale provisioned CentOS instance

I am trying to change the hostname to host01 on an instance that was is using the RightImage_CentOS_5.4_x64_v5.6 - 11H2.a1 [rev 11] MCI. So I set the /etc/hosts file to: 127.0.0.1 localhost ...
2
votes
5answers
6k views

Access linux machine by hostname within LAN?

I have a LAN setup with a bunch of windows and linux boxes. The LAN is built on top of the AT&T DSL Router. I don't have any type of DNS Server running. All the windows machines can identify ...
0
votes
1answer
127 views

Custom hostname instead ISP's

I have setup a Centos 5.5 server and a domain name (say mydomain.com) pointing to it (using bind9) with custom nameservers (like ns1.mydomain.com and ns2.mydomain.com). Everything works fine but there ...
1
vote
1answer
546 views

traceroute timing out in hop 5 for hostname

For some reason, traceroute to hostname (and any domains hosted on this server) always times out on hop 5, right between the two shown below: 76.246.22.2 (Request timed out.) ggr7.sffca.ip.att.net ...