How to set required hostname when server started on 0.0.0.0 ?

Solution Unverified - Updated -

Issue

  • How to set required hostname when server started on bind IP 0.0.0.0 ?

  • The binding to 0.0.0.0 results in a hostname localhost.localdomain where required is abc.com. Here is some information from the admin-console :

General Properties
Name: localhost.localdomain
Version: Linux 2.6.32-333.el6.x86_64
Description: Linux Operating System

Traits
Hostname: localhost.localdomain
OS Name: Linux
OS Version: 2.6.32-333.el6.x86_64
Architecture: amd64
Distribution Name: Red Hat Enterprise Linux Workstation
Distribution Version: release 6.3 (Santiago) 

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content