Hostname alias


 
Thread Tools Search this Thread
Operating Systems HP-UX Hostname alias
# 1  
Old 09-12-2007
Hostname alias

How to set up hostname alias for HP-UX...
# 2  
Old 09-12-2007
# grep hostA /etc/hosts
192.45.36.5 hostA.dgic.com hostA hosta host_a host_A


from the hosts manpage:

/etc/hosts should contain a single line for each host with the
following information:

<internet address> <official host name> <aliases>

Aliases are other names by which a host is known. They can substitute
for the official host name in most commands. For example:

192.45.36.5 hpdxsg testhost
# 3  
Old 09-21-2007
Another way is to do the same with SAM...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Alias ip & hostname

Hello Forum members, I am new to the Linux administration and i have a question on the below requirement , requirement is as below Create a new alias-IP & alias-Host name to the existing virtual machine ( RHEL 6.6) I have created alias-IP and here is the below eth3 Link... (0 Replies)
Discussion started by: raokl
0 Replies

2. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

3. UNIX for Dummies Questions & Answers

How do I know my user@hostname ?

(8 Replies)
Discussion started by: wojeezy
8 Replies

4. UNIX for Dummies Questions & Answers

Create alias files (not alias commands)

If one: $ find -name 'some expression' -type f > newfile and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory. I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies

5. Emergency UNIX and Linux Support

HP UX - ILO Console hostname different than Machine Hostname...

Hi All, So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says: It should say: What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies

6. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

7. Solaris

hostname alias

In solaris 9, how do I setup hostname alias, so essentially the machine has two hostnames... (3 Replies)
Discussion started by: csaunders
3 Replies

8. UNIX for Advanced & Expert Users

Change of Hostname

Dear All. I will like to know beside the following command "hostname hostname" what other command that can change the hostname of the Unix. Thanks. (4 Replies)
Discussion started by: gelbvonn
4 Replies

9. IP Networking

looking up hostname

Using Solaris 8 (or WINXP). I am trying to look up a specific DNS hostname, but I don't know which DNS server houses that entry. How can I find the hostname? nslookup gives me the following: C:\>nslookup hostname Server: dnsserver Address: x.x.x.x *** dnsserver can't find hostname:... (2 Replies)
Discussion started by: dangral
2 Replies

10. UNIX for Dummies Questions & Answers

Hostname

Hello, I am installing redhat linux 6.2 on an intel based system. Whether i want to know any naming conventions should i follow. ie Any convention to follow to name a linux machine(To give hostname). Simillarly for domain name also. Please suggest in this regard (1 Reply)
Discussion started by: bache_gowda
1 Replies
Login or Register to Ask a Question