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

learn more… | top users | synonyms

-1
votes
1answer
20 views

Apache: how can i alias document root to /cgi-bin? [on hold]

I would like to have DocumentRoot "/var/www/" to load and execute files on /usr/lib/cgi-bin/. So instead of site.com/cgi/script.pl i can type site.com/script.pl I tried to set my ScriptAlias from ...
0
votes
1answer
680 views

Using Plesk control panel, how do I point www.example.net to sub.example.com?

I have two Linux / Apache VPS servers running Plesk 9.5.4. VPS 1 is the production server and VPS 2 is the development server. At present I have www.example.com on VPS 1 and sub1.example.com, ...
1
vote
1answer
52 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": ...
0
votes
2answers
29 views

permission denied using sudo

I have an alias in my .bashrc file that runs an executable python file like so: alias my-command="sudo -u apache /path/to/file.py" When I run my-command It prompts for my sudo password and then it ...
0
votes
3answers
1k views

Apache2 alias in virtual host

I have multiple virtual host in one server and plan to has some alias setup in one virtualhost. So I add the Alias /foo/ /path/to/foo/ in virtualhost directive,but it has no effect. Request of ...
1
vote
3answers
133 views

how to make alias with quotes

I tried to make alias with quotes as following: alias myalias='ps -ef | grep tomcat | kill -9 `awk {'print $2'}`' but as you can see i already have ' in awk so i tried to replace awk {'print $2'} ...
0
votes
1answer
36 views

Postfix alias [user unknown] issue

So I need to create an alias on my postfix server that will redirect all mail to multiple email addresses. I have postfix + postfixadmin with dovecot up and configured and everything seem to be ...
0
votes
3answers
9k views

Apache 403 Error - where is the fault?

My environment: Ubuntu 10.10 Desktop Edition So I am trying to access a file through my localhost and Apache is giving me a 403 error. On /etc/apache2/apache2.conf, I've added this line : # wan27 ...
0
votes
1answer
27 views

alias directive with nested location to catch php files - requests for php files giving 404

I have a directory/web app that is located outside of the web root directory of my site. Say the site is here: /var/www/site/htdocs/ And the external app is located here: /var/www/apps/coolapp/ ...
0
votes
1answer
32 views

Forwarding a domain to another subdomain

I have 2 domains jainaditya.in (domain purchased from GoDaddy and currently parked) and techphernalia.com (domain and web hosting from one.com). I created a subdomain ajain.techphernalia.com. ...
0
votes
1answer
21 views

Use htaccess to alias to different hosting

I have a host my.site.com that doesn't support a PHP version that I need, so I got some new hosting at newsite.com that has a more up to date PHP version. I'm going host the site completely on ...
1
vote
1answer
17 views

Show website on one server in subfolder on another server

I have two websites. One website is a microsite developed by someone else, hosted on a subdomain and I would like to serve this website via a URL on the second website, for example: ...
0
votes
0answers
20 views

Output traffic on different alias based on user

I have a server running Debian with two IP addresses aliased on a single NIC. eth0 254.71.11.134 eth0:0 185.14.16.132 I want all traffic form a specific user to go through eth0:0. I figure I ...
0
votes
1answer
55 views

Why am I getting a 403 in attempting to access view-source:https://ccachicago.pragmatometer.com/admin/static/css/base.css?

I've been trying by hook or by crook to get /admin/static/ served up in an Apache SSL VirtualHost, preferably by Apache (which is forwarding SSL traffic to a Django Gunicorn instance), or barring ...
9
votes
13answers
5k 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 ...
1
vote
2answers
68 views

Router see IP alias? [closed]

On my Win7 host machine, I have two VMs which I test network/server stuff. On one machine I created an IP alias using the following commands from ...
0
votes
2answers
1k 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 ...
0
votes
1answer
63 views

Nginx: nginx alias doesn't work

Here is the full config of my site: server { server_name back.mysite.com; access_log /home/django/mysite/deploy/logs/nginx_acc.log; error_log ...
1
vote
1answer
827 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 ...
0
votes
0answers
59 views

Setting SNMP interface aliases

I've been trying for a long while now to get a set of Allied Telesis switches to display links in OpenNMS. Long story short, I want/ need to set interface aliases for ports. If I use snmpwalk -v2c -c ...
0
votes
0answers
91 views

Openshift PHP app throws “404 Page not found error” with custom domain name

I have a PHP app on Openshift which is working fine with the native URL (e.g xyz-xy.rhcloud.com). Later I added an alias to the app(e.g, www.xyz.com) and I also updated the CName in my Zone file at ...
3
votes
2answers
231 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 ...
1
vote
0answers
41 views

Pass a traffic from a specific domain through OpenVPN

I want to pass traffic from a specific domain through openvpn (tun0) and the rest through eth0 How can I configure openvpn to work with eth0? the domain name is set with ddclient to update dynamic ...
1
vote
2answers
69 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 ...
0
votes
1answer
42 views

Alias with regex

I want to forward an email from domain1.com to domain2.com using /etc/aliases The incoming email has the following syntax: mail+somerandomstring@domain1.com and should be forwarded to ...
2
votes
2answers
126 views

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 ...
0
votes
1answer
421 views

How to add domail alias in iRedMail open source edition?

Looking at the vmail database of the iRedMail installation I see an alias_domain table which is currently empty. Is it possible to add domain aliases with a MySQL query directly on the ...
1
vote
1answer
139 views

LDAP and DAV with AuthnProviderAlias not working

I have a working apache 2.4 config for ldap with svn <IfModule mod_ssl.c> <VirtualHost _default_:443> ... <Location /ldapsvn> DAV svn SVNParentPath ...
0
votes
1answer
176 views

How to send emails stored in /var/spool/mail/root to a gmail inbox

I am new to managing a VPS. The host name for my vps is vps.techbreeze.in and recently I discovered that if i try to send a mail to an address like say rick@techbreeze.in the email gets sent to the ...
0
votes
1answer
399 views

Aliased network interfaces and isc dhcp server

I have been banging my head on this for a long time now. There are many discussions on the net about this and similar problems, but none of the solutions seems to work for me. I have a Debian server ...
30
votes
7answers
28k 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 ...
1
vote
1answer
99 views

Apache Alias subfolder and starting with dot [closed]

I have a multi purpose server running ArchLinux that currently serves multiple virtual hosts from /var/www/domains/EXAMPLE.COM/html /var/www/domains/EXAMPLE2.COM/html I deploy those websites (mostly ...
3
votes
1answer
7k 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. ...
0
votes
0answers
50 views

How to configure ejabberd to “redirect” one MUC to another (aliasing)

Frequently I see users mistype the name of particular multi-user chats (MUCs) on my ejabberd server. How can I create aliases such that when a user requests to join one of the wrongly typed names will ...
0
votes
0answers
28 views

Dynamic virtual hosts with and without www

I'm trying to configure dynamic virtual hosts with Apache and vhost_alias but I can't figure out how to do this: I'd like to set my path like this: /var/www/vhosts/example.com/www -> ...
0
votes
1answer
39 views

How does Postfix handle conflicting aliases?

I've got several alias files being used as sources for virtual aliases in Postfix, one of which is auto-generated. Sometimes, this one contains aliases that conflict with those declared in static ...
0
votes
1answer
44 views

Apache Alias subdomain/folder to folder above subdomain

What I want to do is to create an alias at http://subdomain.example.com/login that points to /usr/.....etc/htdocs/example/login so that anytime someone is redirected to ...
5
votes
1answer
281 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 ...
-1
votes
2answers
68 views

nested Cmnd_Alias in sudo configuration

im trying to simplify my sudo configuration but not sure if sudo supports this configuration. I have a "view" command alias which we use to provide access to log files: Cmnd_Alias VIEW = ...
-1
votes
2answers
1k views

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/ $ ...
1
vote
2answers
788 views

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 ...
0
votes
0answers
300 views

Ubuntu 12.04 64 server eth0 DHCP, eth0:1 alias static set primary

Existing /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp auto eth0:1 iface eth0:1 inet static ...
1
vote
2answers
129 views

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: <VirtualHost *:80> ServerName admin.example.com ServerAlias admin </VirtualHost> Now I want to make ...
3
votes
4answers
332 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 ...
0
votes
1answer
470 views

Nginx alias and regex

i'll need a bit of help for alias on folder with nginx I have my folder www/ with the container of my site example.com and a lot of folder like client0, client1, client2... I should NOT modify ...
3
votes
5answers
4k 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 ...
2
votes
0answers
48 views

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 ...
-1
votes
1answer
94 views

How to configure Dovecot to allow alias to login

I use dovecot with a Mysql for user account and aliases. The aliases are objects of the class couriermailalias. Some users would like to use the alias address as POP/IMAP login instead of the 'true' ...
1
vote
2answers
141 views

nginx location overwrites alias

I have an alias "/temp" that works ok, but when I add another location block, the alias returns 404. Working config: http://mysite.com/temp/blank.gif -> OK server { # ... location /temp { ...
0
votes
1answer
59 views

Is DNS flush needed on the clients when DNS alias is updated?

We have a DNS alias set up for an SQL database server. We will be upgrading the SQL server to a new machine, and the machine name will be different. DNS alias will be updated with the new name on the ...