Skip to main content

Questions tagged [alias]

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

Filter by
Sorted by
Tagged with
109 votes
8 answers
234k views

Is it possible to alias a hostname in Linux?

Is it possible to alias a hostname in Linux? It has been asked by jmillikin at various Ubuntu forums as follows: Is it possible to create a hostname alias? Sort of like /etc/hosts, but with other ...
user avatar
81 votes
2 answers
176k views

How to configure a Windows machine to allow file sharing with a DNS alias

What process is necessary to configure a Windows environment to allow me to use DNS CNAME to reference servers? I want to do this so that I can name my servers something like SRV001, but still have \\...
Michael Ferrante's user avatar
64 votes
1 answer
108k views

Server Aliases on NGINX

I'm moving a site to a new server running on NGINX. The old site's Apache2 VirtualHost has ServerAlias configured that I want to replicate in the NGINX configuration. From what I've read on the ...
Holly's user avatar
  • 1,037
56 votes
2 answers
236k views

CNAME record/alias in windows hosts file?

Is it possible to enter some sort of CNAME record or alias in the windows hosts file (C:\Windows\System32\drivers\etc\hosts)? Basically I want to forward all requests made to host A to host B, ...
MEMark's user avatar
  • 661
33 votes
2 answers
37k views

Confused about alias_maps and virtual_alias_maps

I have already re-read the docs on this as well as other posts here and this is still very unclear to me. I have been testing various things to understand the difference between alias_maps and ...
Neel's user avatar
  • 1,481
32 votes
12 answers
21k views

How to pass alias through sudo

I have an alias that passes in some parameters to a tool that I use often. Sometimes I run as myself, sometimes under sudo. Unfortunately, of course, sudo doesn't recognise the alias. Does anyone ...
Tanktalus's user avatar
  • 461
26 votes
7 answers
25k views

How to use my aliases in my crontab?

I have some commands in my .profile that I want to invoke from my crontab. For example, if I have, alias notify-me="~/bin/notify.pl -u user1" alias notify-team="~/bin/notify.pl -u user1 user2 ...
Keith Bentrup's user avatar
24 votes
1 answer
6k views

How to override the default dir alias in Powershell?

I wanted to see colorized filenames when I typed dir in Powershell. So, I added the Set-ChildItemColor function from here to my profile file. I also added this line at the end of the profile file to ...
Ashwin Nanjappa's user avatar
23 votes
2 answers
4k views

backslash at the beginning of a command

In Installing RVM manual I see a lot of lines starting with '\': Install RVM with ruby: $ \curl -L https://get.rvm.io | bash -s stable --ruby I'd think it is just mistype but they repeat it ...
Putnik's user avatar
  • 2,347
22 votes
2 answers
25k views

No targets available when trying to set alias target from Route 53 to S3

I'm trying to setup a simple Amazon AWS S3 based website, as explained here. I've setup the S3 bucket (simples3websitetest.com), gave it the (hopefully) right permissions: { "Version": "2012-10-...
Amir Zucker's user avatar
18 votes
1 answer
10k views

What is an Amazon Route53 "Alias" DNS record?

AWS Route53 Alias value Consider a domain registered on AWS Route53. HTTP requests to this domain should be served from a AWS CloudFront CDN distribution. In order to achieve this, an alias A record ...
Adam Matan's user avatar
  • 13.7k
16 votes
4 answers
22k views

Postfix - do not list domain example.com in BOTH mydestination and virtual_alias

I have a server with two domains. I get the warning as mentioned in the title: do not list domain example.com in BOTH mydestination and virtual_alias Although I receive the above warning, it works ...
cornergraf's user avatar
16 votes
4 answers
115k views

Oracle difference between SID, DB Name, DB Domain, Global Database Name, Service Name, Service Alias and Instance Name

What's the difference of SID, DB Name, DB Domain, Global Database Name, Service Name, Service Alias and Instance Name in Oracle ?
Michael Ellick Ang's user avatar
14 votes
2 answers
15k views

Can apache use the Alias directive to fetch a file?

I was wondering if there is a way to use the Alias directive with just one file. Or there was a hack to do this, without having to go into another directory.
Kyle's user avatar
  • 562
14 votes
5 answers
47k views

Why is my nginx alias not working?

I'm trying to set up an alias so when someone accesses /phpmyadmin/, nginx will pull it from /home/phpmyadmin/ rather than from the usual document root. However, everytime I pull up the URL, it gives ...
Rob's user avatar
  • 2,453
12 votes
4 answers
28k views

Postfix, virtual aliases and catchall for undefined addresses

In Postfix 2.10.2, I have a setup with multiple domains and several virtual aliases to assign mail addresses to local users. It works fine as long as I do not add a catchall. Before I used virtual ...
Konzertheld's user avatar
12 votes
3 answers
147k views

Finding all aliases for a server

Our network admin is away at the moment. I'm trying to find all aliases attached to a given server on our network (actually a number of servers) After googling around it seems like nslookup might do ...
Nick.Mc's user avatar
  • 163
11 votes
2 answers
35k views

nginx, alias, php-fpm = File not Found

I'm trying to set up nginx with DAViCal. However, I'm getting a "File not Found" with a "FastCGI sent in stderr: "Primary script unknown" in the log. Looks like something is wrong with my aliasing but ...
Martin's user avatar
  • 411
10 votes
13 answers
10k views

Useful bash aliases and generating a listing of your most used commands

I found this article discussing a quick way to sort your bash history and see which commands you use the most: cut -f1 -d" " .bash_history | sort | uniq -c | sort -nr | head -n 30 It really opens ...
9 votes
3 answers
37k views

Can a Windows Active Directory user have aliases?

I've just created a simple AD on our Windows 2008 r2 server. I've added a few employees into that directory. Now, is it possible to create some aliases for a single account. eg. name = foo.bar@...
Pure.Krome's user avatar
  • 6,628
9 votes
1 answer
2k views

Is it possible to hide a malicious alias in Bash on Linux?

Is it possible to conceal the existence of a malicious alias in Bash on a Linux system and have it executed by the user without their knowledge?
Dennis Williamson's user avatar
9 votes
2 answers
128k views

Error "not found or unable to stat" in apache logs, and difference in httpd.conf and site Document Roots

I get many of these errors each day in my apache error log: [error] [client 127.0.0.1] script '/var/www/html/wp-cron.php' not found or unable to stat and I'm wondering if it has something to with my ...
markratledge's user avatar
9 votes
2 answers
11k views

DKIM not signing with alias addresses - not internal, not authenticated

I have postfix, dovecot, opendkim and postsrsd installed. I am trying to forward mail from [email protected] to [email protected], and have them signed with DKIM. I use postsrsd in order for the SPF ...
user2370460's user avatar
9 votes
2 answers
5k views

Can I alias all directory requests to a single file in nginx?

I'm trying to figure out how to take all requests made to a particular directory and return a json string without a redirect, in nginx. Example: curl -i http://example.com/api/call1/ Expected ...
user749618's user avatar
8 votes
1 answer
15k views

ANAME / ALIAS records for BIND

I operate some DNS servers using BIND for around 15,000 domain names. Some customers would like to start using a Full-Site Content Delivery CDN and a requirement for this is supporting the usage of ...
Nick's user avatar
  • 83
8 votes
2 answers
33k views

How to create an alias for a named SQL Server instance

On my developer computer I have an SQL Server instance named developer_2005. In the resource setting files of a C# application we are creating, the instance name is set to foobar (not really, but just ...
Svish's user avatar
  • 7,307
7 votes
3 answers
442 views

What's actually requested when alias is set up in Apache with CNAME?

I have many sub-domains set to my development machine like the following. test1.example.com => 192.168.0.7 test2.example.com => 192.168.0.7 ... (about 30 domains like this) I have many sites on my ...
Sam Kong's user avatar
  • 933
7 votes
1 answer
35k views

Understanding Exim4's /etc/aliases

Regarding this exim /etc/aliases man page I am not sure how /etc/aliases works. The /etc/aliases The file should contain lins of the form name: address, address, ... I looked in /usr/share/...
bobobobo's user avatar
  • 798
6 votes
1 answer
9k views

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 ...
virtualeyes's user avatar
6 votes
2 answers
6k views

Apache dynamic alias based on sub-domain

I have the following structure as part of a ZF1 application - C:/www/multisite C:/www/multisite/application C:/www/multisite/public C:/www/multisite/client1/uploads C:/www/multisite/client2/uploads ...
user1191247's user avatar
6 votes
2 answers
5k views

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 ...
DarthCaniac's user avatar
6 votes
3 answers
13k views

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 ...
intuited's user avatar
  • 415
6 votes
4 answers
6k views

Redirect all non-www subdomains to main www domain with Apache2

I have a website (domain.com) and I would like to redirect all my secondary domains (domain2.com, domain3.com) and all the subdomains of these domains (*.domain.com, *.domain2.com...) to the main ...
5 votes
2 answers
14k views

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='...
wiggaplz's user avatar
5 votes
4 answers
19k views

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 ...
Seb Dangerfield's user avatar
5 votes
1 answer
18k views

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. ...
Jonathan's user avatar
  • 411
5 votes
3 answers
4k views

Set Apache Alias for specific ServerAlias

Currently, I have a VirtualHost defined like so: <VirtualHost *:80> ServerName mydomain.com ServerAlias otherdomain.com DocumentRoot /var/www/project/ </VirtualHost> How can ...
Tatu Ulmanen's user avatar
5 votes
2 answers
3k views

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 ...
Arnold Zokas's user avatar
5 votes
2 answers
607 views

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 ...
ralph's user avatar
  • 123
4 votes
4 answers
2k views

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 ...
Jeff's user avatar
  • 1,436
4 votes
1 answer
3k views

Creating a postfix alias "[email protected]" 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 ...
Izzy's user avatar
  • 349
4 votes
1 answer
3k views

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 /...
Pentium10's user avatar
  • 444
4 votes
1 answer
139 views

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

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 ...
hourback's user avatar
  • 289
3 votes
3 answers
3k views

How do I write a bash script that sets up aliases for the parent shell?

I'm trying to write a script that will set up aliases for my bash shell, but I don't want to source it automatically in .bashrc - I need to have the aliases in a subset of my terminals. Is it ...
stickmangumby's user avatar
3 votes
2 answers
5k views

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 ...
TCB13's user avatar
  • 1,258
3 votes
1 answer
16k views

Nginx - difference between root and alias?

My goal is to have a Laravel installation running alongside a Nuxt application generated as static content. I'd like for Laravel to be available, when the location start with /api. This works as ...
Repox's user avatar
  • 265
3 votes
1 answer
3k views

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 ...
dayuloli's user avatar
  • 1,293
3 votes
3 answers
4k views

Apache dynamic aliases

I've got LAMP setup on a VM that I use for multiple projects. My document root is a /www and I create a folder for each project within it. /www/project1-name/ /www/project2-name/ I access them in my ...
Atticus Finch's user avatar
3 votes
1 answer
159 views

`sudo` with alias in Bash

I have a couple of aliases setup in my ~/.bash_profile and the same exact ones setup in /root/.bash_profile so I can do v file instead of vim file and etc. These work fine when I am actually logged ...
RyanScottLewis's user avatar
3 votes
3 answers
27k views

How to set local alias for a machine?

I would like to set an alias on my local PC for a network machine. I know that it can be done by adding an entry in the hosts file as long as the IP address of the machine is also specified. However, ...
Alex G.'s user avatar
  • 133

1
2 3 4 5
7