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
0
votes
2 answers

Configuring domain to direct email and web traffic to different IP addresses

I'm totally fine with setting up sub-domains etc when managing my domain but I've recently been asked to direct all mail for a domain to a particular exchange so people can retrieve email for the domain using their normal email addresses (on a…
0
votes
3 answers

Apache Headache: Virtual hosts configuration

I'm trying to achieve the following result: I have multiple domains pointing to the same documentroot, which contain files that are being used on all domains (index.php, css files, and such): C:/cms/ Then I have several domains: www.domain1.com/*…
brechtvhb
  • 103
  • 1
  • 3
0
votes
4 answers

How can I alias an individual e-mail address on my domain while the server is virtually hosting?

I'm from a non-networking programming background, so please forgive me if any of my terminology is off. A friend and I have a virtual private server. On that virtual private server, we host a small handful of sites through virtual hosting, each with…
0
votes
2 answers

PHP scripts displaying raw source when accessed through an alias (apache)

I have a server with a few different domains on it (each in a separate VHost). Each VHost runs fine, executing PHP properly, etc. For the sake of example, two of the domains are foo.com and bar.com. I'm trying to create an alias on foo.com that will…
TimE
0
votes
1 answer

sharepoint domain alias

my problem is that i couldn't bind sharepoint webapp to another domain alias ,we are running win2k3 and have dns server ,sharepoint server has site1.domain.com (host(a) record of the server ip) ,now i want it to map to another site2.domain.com ,so…
Ahmed
  • 11
  • 3
0
votes
1 answer

Unfound url changes url listed in address bar

A have a situation where A redirects to B: A: http://www.baku-project.com/test B: http://www.baku-project.com/baku-project/test/ This is an aliased/secondary domain and, to me, this behavior reveals that. What is the technical name of this…
Adam Kane
  • 101
  • 2
0
votes
1 answer

Help debugging Sendmail/Mailman configuration issue

I'm trying to configure a server with Sendmail and Mailman. I've been getting "Broken pipe" errors for a while, and have slowly been debugging. I fixed some permission issues, and changed the user that Mailman expects to be called from, among…
inxilpro
  • 185
  • 2
  • 6
0
votes
2 answers

Can sendmail re-route sending of email?

I have a redmine install, that uses sendmail to notify users of issue updates. I have access to the admin account, and also to my regular account. I cannot enter my regular email as the admin account email: each user must have a unique email…
Jacko
  • 163
  • 6
0
votes
2 answers

How to use aliases for remote hosts when accessing locally

I would like to use an alias for a remote host. For example, when instead of "ping giraffe.foo.bar.com" I want to do "ping giraffe", but only when I do it from my own machine. I am able to do this for raw IP addresses by adding an entry in…
alexloh
  • 113
  • 3
0
votes
1 answer

Apache AliasMatch with Wildcard Not Working As Intended

I am trying map all wildcards for a directory /a/* onto on file article.php using AliasMatch ^/a/(.*) /article.php but without redirecting (I want to keep the url looking the same). But I am getting a The requested URL was not found on this server.…
Maciek Semik
  • 139
  • 6
0
votes
0 answers

Alias custom domain to GitHub repository for git clone

What I'm trying to do is setup a custom domain name so that it can be cloned as a git repository using git clone. For example, $ git clone https://my-domain-name.tld/ # would be cloned into my-domain-name.tld # and $ git clone…
kwyntes
  • 101
0
votes
1 answer

After update from Apache 2.2 to 2.4, Aliases no longer work

I'm not a stranger to server configuration but on my local development systems (all of them), some update seems to have broken the Web sites' aliases as none work now. I'm not sure when it happened as I haven't done much development lately but when…
DonP
  • 101
  • 2
0
votes
0 answers

What is use of multiple ip addressing for active bond in centos

I have created active bond in centos Virtual machine by bonding two NICs and they were on same VMnet switch, I am having difficulty to understand what will be the use of multiple ip addressing for active bond, I am new in networking sorry if I am…
0
votes
0 answers

status=bounced (mail forwarding loop for postmaster@localhost) when receiving an email with postfix

I use postfix with the following /etc/postfix/main.cf: smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no readme_directory = no compatibility_level =…
Zlotz
  • 1
  • 2
0
votes
1 answer

iptables rule not working on aliased interface even with interface and destination set

I have 2 IP address, 1 bound to eth0 and the other bound to an aliased interface, eth0:1, both of these interfaces work without a problem. However, in iptables I have the following set of rules: -A INPUT -i eth0 -d 174.143.246.30 -p tcp -m tcp…
Kura
  • 233
  • 2
  • 7