Linked Questions

3
votes
1answer
8k 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 ...
-1
votes
2answers
1k views

Rules for setting hostname [duplicate]

It's thought that for the hostname should be used FQDN. I have a doubts about whether using: host.domain.ltd and domain.ltd for the hostname is the same thing and will be equally correct / ...
0
votes
1answer
452 views

What is the correct syntax declaring FQDN in host file for CentOS 7? [duplicate]

I have 2 VPSs running using Centos 7. When I look up at the /etc/hosts file: I found the entry of the host file for VPS 1 like this: 127.0.0.1 localhost.localdomain localhost But then the entry of ...
1
vote
2answers
277 views

What if I follow Oracle Instructions for hostname [duplicate]

Oracle Docs requiring Hostname to be FQDN. What do you think? Not really what I want to do but... should I? Verifying Host Names Use the following to verify host name settings: For Oracle Linux 4 ...
3
votes
0answers
48 views

Linux: What is the right way to configure the HOSTNAME directive in /etc/sysconfig/network? [duplicate]

There's a (quiet) argument between me and my boss in regard to the right way to configure HOSTNAME directive in /etc/sysconfig/network file: As far as I know, in the HOSTNAME directive you should ...
18
votes
14answers
4k views

Reasons for missing IP info in `last` output on pts logins?

I have five CentOS 6 linux systems at work, and encountered a rather strange issue that only seems to happen with my userid across all the linux systems I have... This is an example of the problem ...
15
votes
2answers
77k views

Configure domain name in CentOS

How do I configure domain names in Cent OS? I am actually connecting to the servers via SSH remote terminal and I also have root credentials. Does configuring the /etc/sysconfig/network and /etc/...
6
votes
2answers
3k views

Why do I need to set a hostname?

I know there's quite a few questions about host names. But even after reading them, I didn't really understand the concept of host names entirely. So here's my question: I've been following this ...
2
votes
6answers
40k views

apache won't start httpd service start centos 6.3

I've installed httpd in CentOS 6.3 yum install httpd After successfully installing it, I tried to start it service httpd start Nothing happend. I opened the browser and typed my IP address but ...
4
votes
3answers
8k views

Setting up FQDN in sendmail [closed]

In this blog post he suggests echo '127.0.0.1 localhost EXAMPLE.my_domain localhost.localdomain EXAMPLE' >> /etc/hosts but ends the post with But this is a less desirable approach since ...
3
votes
3answers
9k views

What is proper relationship between /etc/hosts and DNS A records for a Linux server?

I have an Ubuntu server. It is going to be a web server with a URI of www.example.com. I have a DNS A record pointing www.example.com to the server's IP address. Let's say I pick "trinity" as the ...
11
votes
1answer
3k 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 ...
1
vote
1answer
5k views

'Please configure a fully qualified domain name' Error

I am running an nginx website on a virtual host and I am trying to set up iRedMail, but this is the error I get when running bash iRedMail.sh. < ERROR > Please configure a fully qualified domain ...
1
vote
2answers
3k views

How to configure RHEL so users can access an app GUI remotely

I have an application installed in my RHEL6 box that has a GUI (AppGui.sh). My problem is that a few non-tech users would like to access this GUI remotely. I've tried several guides over the internet ...
0
votes
1answer
4k views

CentOS 5.8 why does my /etc/hosts file mess up after a reboot?

I'm running CentOS 5.8 (it's the Citrix XVA appliance provided on the website) but having an issue where every time I restart the server, the /etc/hosts file loses the IP address of the server...for ...

15 30 50 per page