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
2
votes
1 answer

postfix alias maildir delivering to ~user/Maildir/ instead of ~user/Maildir/alias/

My environment: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) # rpm -q postfix postfix-2.6.6-6.el6_5.i686 # I switched home_mailbox from Mailbox to Maildir/: # postconf -n | grep home_mailbox home_mailbox =…
alexus
  • 13,112
  • 32
  • 117
  • 174
2
votes
1 answer

Alias to external address in compound with catchall in mydestinations

I have a mail server that accept emails from any domain. This is accomplished by using the following line in Postfix's main.cf: mydestination = regexp:/etc/postfix/mydestinations.reg and mydestinations.reg looks like this: /^.*/ …
horen
  • 411
  • 2
  • 7
  • 22
2
votes
0 answers

Apache Alias redirect error (only in Windows phone)

I have this in my apache2 config. ServerName example.com DocumentRoot /var/www/example.com/ Alias /m /var/www/example.com/ The weird thing is I can have this alias plays out nicely in all major browsers(Chrome,FF, Safari), but it's…
SteD
  • 225
  • 1
  • 7
2
votes
1 answer

Postfix alias and "impersonating" issue

I recently started configuring addresses on my postfix server and stumbled into an issue with my colleagues. So assume i have an alias testing@bar.ru which forwards mail to somedude@gmail.com and vitali.r@foo.net In case we send to the same domain,…
Screatch
  • 179
  • 1
  • 2
  • 10
2
votes
2 answers

Ubuntu 12.04 - Aliases of bonded interfaces not working correctly

I have the following /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet manual bond-master bond0 bond-primary eth0 auto eth1 iface eth1 inet manual bond-master bond0 auto…
fadedbee
  • 2,068
  • 5
  • 24
  • 36
2
votes
2 answers

How do I configure Xen's virtualization of interfaces (eth0 to peth0)?

I installed Xen a while ago but had not yet booted up with the hypervisor. Well I did yesterday and all hell broke loose. I completely lost internet connectivity on my server because of Xen. When I start up my server and eth0 is not inside of br0,…
NobleUplift
  • 165
  • 4
  • 17
2
votes
2 answers

Cygwin ssh issue: Could not resolve hostname awshost1: hostname nor servname provided, or not known

I'm learning "startup engineering", encountered this error when using ssh alias. Below is the detailed steps (executed in Cygwin windows 8): $ mkdir -p ~/.ssh $ cp ~/downloads/skey.pem ~/.ssh/ $ chmod 400 ~/.ssh/skey.pem $ chmod 700 ~/.ssh $ nano…
Shinbo
  • 31
  • 1
  • 1
  • 5
2
votes
3 answers

How to create an alias from directory to VirtualHost directory in Apache?

I have a domain: example.com. There’s also a subdomain, admin.example.com: ServerName admin.example.com ServerAlias admin Now I want to make postfixadmin control panel available at…
Emily
  • 121
  • 1
  • 1
  • 6
2
votes
0 answers

Can ARP with IP aliases on Windows be made to behave like on Unix?

On FreeBSD, when I have one interface with two IPs: ifconfig nic0 192.168.0.1 netmask 255.255.255.0 ifconfig nic0 alias 192.168.0.2 netmask 255.255.255.255 If I ping the alias, if the host I'm pinging from, e.g. 192.168.0.20, is not yet in the ARP…
2
votes
1 answer

Wildcard aliases in postfix?

is there way to specify wildcard aliases in postfix virtual table? eg. support+*@foo.bar gets sent to support+*@bar.foo in this way i want to achieve that all mails with a support+Project@foo.bar address get redirected to another…
trnc
  • 688
  • 1
  • 12
  • 31
2
votes
2 answers

Apache Alias Isn't In Directory Listing

I've got a site running on my home server that's just a front end for me to grab files remotely. There's no pages, just a directory listing (Options Indexes...). I wanted to add a link to a directory outside of the webroot so I made an alias. After…
Phunt
  • 45
  • 1
  • 2
  • 6
2
votes
1 answer

Alias if directory doesn't exist

I have a bunch of clients that have different site designs but all run on the same backend CMS. They all share a common admin theme which is located in /home/public/skins/admin - which each client has an alias to. It works fine but now there could…
Ashley
  • 149
  • 1
  • 15
2
votes
2 answers

Centos Suphp , How do I get Alias with Phpmyadmin working

I have configured my CentOS installation with Apache with suPHP. It works very well. But when I install PHPMyAdmin I get a permissions problem. Because PHPMyAdmin is located under /usr/share/phpmyadmin. I do not want to use an extra vhost for every…
Sanchez34
  • 21
  • 1
2
votes
2 answers

Apache Virtual Host with Alias

I have a virtual host running on my local copy of Apache. It has an alias. ServerName oliverash.me.dev DocumentRoot "/usr/docs/oliverash.me/public" Alias /mayor…
Oliver Joseph Ash
  • 361
  • 3
  • 5
  • 14
2
votes
1 answer

fully redirect domain (domain alias)

Possible Duplicate: Wildcard DNS and subdomains I'm trying to create a domain alias, but I don't really know how to do this. I want all trafic on all ports and all subdomains to be redirected to another domain at the same port with the same…
Tiddo
  • 1,019
  • 1
  • 9
  • 16