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
1
vote
0 answers

Kerberos Issue on Aliased SharePoint Web Front Ends

I am having a problem with Kerberos working on SharePoint. Also note that I am a developer not a network guy so if I use the wrong terms I apologize but I hope my intent is clear. We have two web front ends aliased to a single name say "SPPortal"…
Junx
  • 111
  • 4
1
vote
1 answer

How to add an alias for a mailbox that was just purged from Exchange 2003

We are running Exchange 2003 Standard in-house. The Director of Operations has just let two staff members go, and would like e-mail sent to their addresses sent to him. Here is what I have done so far: The two staff member's Active Directory…
Cypher
  • 1,077
  • 2
  • 17
  • 24
1
vote
2 answers

Alias to external FAT32 drive in Apache gives 403 forbidden error

I have a website that needs to allow some downloads of some very large files that are on an external hard drive. I've made an alias and it works, but I just get "403 forbidden" whenever I try to look at anything on the hard drive. I tried chmod and…
1
vote
4 answers

Forward DNS alias to other domain

Is it possible to forward one DNS alias to another domain? Example: mysub.mydomain.com should return the IP Adresses of yoursub.yourdomain.org where mydomain and yourdomain are managed by the same Windows DNS server.
kcode
  • 1,825
  • 4
  • 19
  • 21
1
vote
2 answers

Why does php not run from aliased directory?

I am trying to use nclud's windex to stylise my apache directory listings for an internal project (security isn't too much of a concern) Windex uses a HeaderName and ReadmeName directive pointing to php files, and it all works so long as the windex…
James Booker
  • 33
  • 1
  • 5
1
vote
1 answer

Create DNS alias

How i can create DNS alias? ie.: i have one domain named example.com and second domain - example.net. Zone-file of first domain contents: example.com. IN A 10.1.2.3 www.example.com. IN A 10.1.2.3 *.example.com IN CNAME example.com. What…
kirillorloff
  • 47
  • 2
  • 7
1
vote
3 answers

Where do I put the Alias?

alias py='python' Do I put that in my .bashrc?
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
2 answers

Is it possible for DNS to direct traffic to different ports?

Possible Duplicate: How to use DNS to redirect domain to specific port on my server Right now I have a DNS CNAME record that makes ftp.angryoctopus.net an alias for the actual FTP URL domain, which is angryoctopus.net:65021 The goal is that a…
Giffyguy
  • 365
  • 4
  • 6
  • 21
1
vote
2 answers

How to redirect (or Alias) jump page with Apache

I'm not an Apache expert but need to make a small change to a web server. We are introducing a "jump page" URL that is different from a primary URL (for tracking reasons). /productA/index.html /productA/jump_index.html Basically i want to log that…
Meltemi
  • 579
  • 2
  • 11
  • 24
1
vote
1 answer

Postfix - How to alias some user@host.com to another user, but only for certain values of "host.com"?

I have a Postfix email setup. It's handle a few domains (i.e. I have them in my mynetworks in my main.cf). I have a normal unix account and use that to log in, and get my mail. My personal email account is of the form user@personal.com. I have a new…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
1
vote
0 answers

how to set up nginx aliases on a localhost development server?

Struggling to adapt nginx to my framework and get the equivalent of, in apache config : Alias /site1 "/home/framework/public_HTML" (and then localhost/site1 displays site1 with local/dev settings thanks to $_SERVER['REQUEST_URI']) What I have now…
mikakun
  • 111
  • 5
1
vote
1 answer

Postfix wildcard, virtual_alias, and recipient_delimiter forwarding glitch

Using Postfix with an MySQL backend, have a group of aliases set up, including domain aliases. Using '.' as recipient_delimiter, and have propagate_unmatched_extensions = canonical, virtual, alias. Here's where it gets weird. If I send tagged…
1
vote
0 answers

How to set up all domains as "virtually hosted" with Postfix

I have configured a Postfix server with the main domain and several virtual domains, cross-checking multiple tutorials and the official documentation on virtual hosting. The Postfix is also set up to ultimately pass all mails to Dovecot, which…
Marty Cagas
  • 123
  • 1
  • 7
1
vote
0 answers

Odoo v.13 - Configuring a gmail alias as outgoing mail

I am trying to configure a gmail account as outgoing mail in Odoo ERP v.13. The email supplied by the client is an alias of the original email. When testing, Odoo indicates error "535" (incorrect user/password) when I use the alias, but when I use…
PAB_00
  • 11
  • 2
1
vote
1 answer

nginx alias with location regex get wrong file name

my location config: location ~ ^/maat/(js|css|images)/ { alias /usr/local/services/gdt-frontend-test-1.0/maat/$1/; expires 1y; } complete server config: server { listen 80; server_name audit2.test.qq.com; charset…
user618492
  • 11
  • 2