My Oracle Support Banner

How To Configure The "/etc/hosts" File On Linux (Doc ID 242490.1)

Last updated on MAY 08, 2020

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Enterprise Linux 4.0 and later
Linux x86
Linux x86-64

Purpose

This article will show you how to properly configure the "/etc/hosts" file on a Linux platform.

Scope

This is intended for Linux system administrators and Linux DBAs with system administration skills.

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Scope
Details
 What Is /etc/hosts And Why Is It Used?
 Format Of The /etc/hosts File
 Associating Host Names And IP Addresses
 Official Reference
 Example

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.