Sponsored Content
Full Discussion: alias for domain name
Top Forums UNIX for Advanced & Expert Users alias for domain name Post 302111398 by big123456 on Wednesday 21st of March 2007 04:40:21 AM
Old 03-21-2007
alias for domain name

Hi,
how to create an alias for a domain name in /etc/hosts file ? Wh have this :
192.168.2.30 mymachine.domaine1.domaine2.com mymachine

How can I create an alias for mymachine.domaine1.domaine2.com ??
Many thanks.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Domain

I am a web programmer and am fluent in site construction and etc. I am planning to register and use a domian name on a server hosted by another company. Is it necessary for me to learn Unix (I have no Unix experience) to operate with another server? Thanks (1 Reply)
Discussion started by: wcc9968
1 Replies

2. Linux

Linux Domain

hello, i am new to linux and i wanna to know to how to create a Domain on linux system. i guess i have to workout with some ypserver.* files but i am not sure. any suggestions. thanks in advance... cheers (3 Replies)
Discussion started by: vibhory2j
3 Replies

3. Solaris

Domain name

Hi, How to set domain name in solaris 5.10 ? Also what is the command to see the domain name ? (2 Replies)
Discussion started by: bang_dba
2 Replies

4. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

5. Web Development

Just bought a domain name ... what to do next?

Hi, I usually post in the UNIX general forum for help on codes and commands but today I decided to post in this forum since my question may be relevant. So I am really new to the webpage/http area so please be patient with this question. Basically I got a domain name from godaddy.com but... (5 Replies)
Discussion started by: phil_heath
5 Replies

6. 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

7. Cybersecurity

IP Domain registrant

Sorry for not beeing absolutely sure if this is the right forum to put my request, but as it deals about fraud, and the physical person behind a domain or IP I just take this one. It comes like this. hm may someone can help me to find out, who the hell registered a domain, a very specific one,... (0 Replies)
Discussion started by: 1in10
0 Replies

8. IP Networking

Can't get work a domain

Hello, I'm unable to load my site domain2.com, I don't know what I've done wrong. 1) I set up hostname in the server, ns1.domain.com 2) I created a ns1.domain.com A record in CloudFlare domain.com account and pointed it to the server IP 3) I pointed the domain (domain2.com) to... (0 Replies)
Discussion started by: cloferba
0 Replies
aliasadm(1M)						  System Administration Commands					      aliasadm(1M)

NAME
aliasadm - manipulate the NIS+ aliases map SYNOPSIS
aliasadm -a alias expansion [options comments] optional flags aliasadm -c alias expansion [ options comments] [ optional flags] aliasadm -d alias [ optional flags] aliasadm -e alias [ optional flags] aliasadm -l alias [ optional flags] aliasadm -m alias [ optional flags] aliasadm [-I] [-D domainname] [-f filename] [-M mapname] DESCRIPTION
aliasadm makes changes to the alias map. The alias map is an NIS+ table object with four columns: alias The name of the alias as a null terminated string. expansion The value of the alias as it would appear in a sendmail /etc/aliases file. options A list of options applicable to this alias. The only option currently supported is CANON. With this option, if the user has requested an inverse alias lookup, and there is more than one alias with this expansion, this alias is given prefer- ence. comments An arbitrary string containing comments about this alias. The sendmail(1M) command reads this map in addition to the NIS aliases map and the local /etc/aliases database. OPTIONS
-a Add an alias. -c Change an alias. -d Delete an alias. -e Edit the alias map. -I Initialize the NIS+ aliases database. -l List the alias map. -m Print or match an alias. -D domainname Edit the map in domain domainname instead of the current domain. -f filename When editing or listing the database, use filename instead of invoking the editor. -M mapname Edit mapname instead of mail_aliases. FILES
/etc/aliases mail aliases for the local host in ASCII format ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
sendmail(1M), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 12 Dec 2001 aliasadm(1M)
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy