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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.