Questions tagged [alias]

In computer sciences, an alias is a name which usually designates an already-named reference.

Aliases are names used to designate objects, items and settings which already possess a name. In *nix systems, they usually serve as :

  • Hostnames ; a machine possesses a unique hostname, which can be surrounded by aliases. On a Linux system, you can find your hostname by typing hostname, whereas the /etc/hosts file might contain other aliases for the IP representation of your machine on its network interfaces.

  • Users ; on *nix systems, each user has a given name, registered in the /etc/passwd file. However, for some other purposes such as email processing, it might be useful to create aliases for users. This can be done in the /etc/aliases file. (e.g. root is usually aliased as the postmaster).

  • Shell commands ; on *nix systems, it is possible to set an alias referencing a command/program (with possible options and arguments). The most common one is probably ll, which designates ls -l (long list). An alias can be created using the alias (man page) command, and destroyed thanks to the unalias bash utility (man page).

One could also consider UNIX links as an implementation of aliases for files (in the UNIX meaning). See ln for more information (man page).

Each application handles its aliases as it wishes to. Some don't even implement this possibility, and expect the administrator to use the real resources names. Please refer to the applications' documentation for more information on specific cases.

332 questions
6
votes
2 answers

SSL, CNAME, and multiple domains

Say I have an SSL Certificate for a super cool site that I offer, like https://secure.coolsite.com/ (Not my site, just an example). Then lets say I had a customer who wanted to have a CNAME to my site on his server, like…
DarthCaniac
  • 209
  • 1
  • 3
  • 8
6
votes
1 answer

Linux :: Shared aliases in /etc/profile.d not applied to root user, why?

On my Fedora 14 developer machine I can add a sharedAliases.sh file to /etc/profile.d -- both my user and root user then have access to the shared aliases. Switch over to remote CentOS 5.7 machine and what appears to be the exact same config, no…
virtualeyes
  • 675
  • 3
  • 12
  • 28
6
votes
3 answers

DNS lookup aliasing of hostnames (not IP aliases), probably via dnsmasq

I'd like to be able to set up a host, say "eg", to be an alias to some server on the internet, say "example.example.com". I just need this functionality to be available from my local machine. I'm running dnsmasq on that machine, which is running…
intuited
  • 415
  • 1
  • 5
  • 12
5
votes
2 answers

How to handle external alias with dspam as daemon between postfix and dovecot with virtual domains?

I've got the following situation for incoming mail with Postfix 2.9.6, DSpam 3.10.1 and Dovecot 2.1.7: Incoming Mail -> SMTP -> LMTP -> DSpam (as daemon) -> LMTP -> Dovecot I've got virtual domains with virtual mailboxes. Everything works fine so…
ralph
  • 123
  • 5
5
votes
3 answers

Set Apache Alias for specific ServerAlias

Currently, I have a VirtualHost defined like so: ServerName mydomain.com ServerAlias otherdomain.com DocumentRoot /var/www/project/ How can I make an Alias that only affects the otherdomain.com…
Tatu Ulmanen
  • 161
  • 1
  • 7
5
votes
2 answers

Alias not saved after reboot

I did r00t@wutdo~$ alias daoc='mono "~/.wine/drive_c/Program Files/DAoC/Portal.exe"' r00t@wutdo~$ daoc Works fine and dandy but after reboot the alias isn't saved. r00t@wutdo:~$ alias alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo…
wiggaplz
  • 51
  • 1
  • 1
  • 2
5
votes
4 answers

Alias using Nginx causing phpMyAdmin login endless loop

Recently I've been trying to set up a web server using Nginx (I normally use Apache). However I've ran into a problem trying to set phpMyAdmin up on an alias. The alias correctly takes you too the phpMyAdmin login screen, however when you enter…
Seb Dangerfield
  • 163
  • 1
  • 1
  • 3
5
votes
1 answer

Postfix: How to make aliases work for virtual domains?

I'm trying to set up a local mailserver. I run Mac OS X Server 10.6 Snow Leopard, and it uses Postfix as server. I set the server up using the GUI and I'm doing all virtual settings via the terminal. The situation: the server is on a domain, let's…
Jonathan
  • 401
  • 2
  • 4
  • 18
5
votes
2 answers

How to create aliases without installing SQL Server 2005 Client Tools

I need to configure SQL Server aliases on a public-facing production server. To do that, I need to install SQL Server Configuration Manager. I was not able to find a standalone installer for that, so I am having to install SQL Server 2005 Client…
Arnold Zokas
  • 308
  • 1
  • 4
  • 18
4
votes
1 answer

Creating a postfix alias "all@domain.tld" to send to all users of a domain

I'm using Postfix + Dovecot with a MySQL database as backend and PostfixAdmin to administrate users and domains. Now I'm looking for an easy and automated approach to define per-domain alias of the pattern all@domain.tld with will resolve to all…
Izzy
  • 349
  • 1
  • 5
  • 19
4
votes
4 answers

What is the proper netmask for an alias IP address?

I did a lot of searching, but there seems to be conflicting info on what the proper netmask for an aliased IP address should be. Some of the conflicting info seems to be FreeBSD-specific. I'm looking for the "most technically proper" answer, if…
Jeff
  • 1,416
  • 3
  • 28
  • 50
4
votes
1 answer

How to SetEnv for an Alias

I have several Aliasses configured in apache configuration. I would like to set an environmental variables for each of them. How? I have this /alias1 /mapped/to/a/path /alias2 /mapped/to/a/path /alias3 /mapped/to/a/path /alias4…
Pentium10
  • 444
  • 1
  • 9
  • 23
4
votes
1 answer

What system of administrative e-mail addresses does your organization use?

I'm getting ready to request a new batch of administrative e-mail addresses to replace an outdated hierarchy within my organization. I have the opportunity of choosing new aliases for 24/7 alert recipients, monitoring recipients, all team members,…
hourback
  • 288
  • 1
  • 5
  • 16
3
votes
2 answers

Dovecot: Email clients and duplicated folders

So in my server I'm usually going against a problem, different emails clients call some special folders like Sent and Trash different names like Sent Items and Deleted Items. My question is, can I in some way "alias" all those names and internally…
TCB13
  • 1,166
  • 1
  • 14
  • 34
3
votes
1 answer

Aliases in nginx/apache vs CNAME record?

In one of my nginx sites-available configuration file, I can specify a server name alias, like so: server_name example.com www.example.com; If I had an Apache server, I can do something similar with ServerName and ServerAlias: ServerName…
dayuloli
  • 1,253
  • 2
  • 11
  • 19
1 2
3
22 23