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

learn more… | top users | synonyms

4
votes
3answers
7k 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 ...
1
vote
1answer
48 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 ...
4
votes
1answer
34 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 ...
0
votes
0answers
13 views

How to get the real path on FS of an Apache2 Alias from php script?

All is in the question, no ? I searched for it and the only solution I found is to use apache mod_info to generate a file with apache config then read into it from php via the url, then parse it ...
1
vote
2answers
314 views

Postfix sends to original recipient name instead of alias name [closed]

I have setup Postfix as part of my ISPConfig implementation. It should just forward all mail. Clients should be able to define a new alias and receive mail on a different e-mail address, using ...
0
votes
0answers
21 views

Apache Alias vs Symfony : route not found

I am working with Apache and Symfony for a webapp backed by an API. I want my webapp url to be : www.mywebapp.com/{id}/... where {id} is a 3 letters identifier And my API url to be : ...
0
votes
1answer
734 views

Proxy Plesk through apache alias [closed]

I have a VPS that I installed Plesk into. It has an external IP but only ports 22,80,443 are allowed through the firewall. Plesk uses port 8443 so currently the only way to access it is to tunnel ...
0
votes
0answers
60 views

nginx: Mapping location with try_files

I'd like to map domain.com/mail to serve content in (absolute path in my server) /var/www/default/mail server { ### MAIN ### server_name .domain.tld; index ...
1
vote
1answer
50 views

Postfix using virtual.db file instead of mysql table

I have specified virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf, but still I got errors like warning: hash:/etc/postfix/virtual is unavailable. open database ...
0
votes
1answer
13 views

Will SQL Alias compromise existing connections to [cluster name]/[database name]?

On a migration project we plan to use SQL Alias, since we learned it should be easier to use when moving databases between servers. The plan forward is to continue to move around databases to other ...
-1
votes
2answers
65 views

set bash alias from bash script (not command line)

Differently from bash shell (for create new alias): alias test="echo test" if I do the same thing using a bash script, alias does not run: #!/bin/bash alias test="echo test" also export it, same ...
0
votes
1answer
29 views

Apache WSGIScriptAlias - skip a certain prefix

The docs for WSGIScriptAliasMatch https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIScriptAliasMatch are openly scary. Is there a way to say "Everything in this directory goes through ...
3
votes
3answers
3k 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 ...
-3
votes
1answer
62 views

nginx sub-folder with separated root

I have a little problem. I have a wordpress installation in /var/www/xyz/wordpress and now I want to have a piwik installation in the path /var/www/xyz/piwik My current nginx configuration ...
1
vote
1answer
63 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 ...
4
votes
2answers
1k 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 ...
5
votes
2answers
624 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 ...
0
votes
0answers
70 views

Apache Alias and Mod_Rewrite For WordPress?

I have a site that is running WordPress, anothersite.com, and I am trying to access that site through a different domain, mydomain.com. The goal is to have mydomain.com/anothersite act just like it ...
0
votes
2answers
69 views

Apache Alias to link to another DocumentRoot

I have a WordPress installed in /var/www/wordpress/ and my own code in /var/www/project/ Now comes the following problem: When I try to access example.com/client/ or example.com/admin/ it should link ...
0
votes
1answer
384 views

Easy way to alias the default SQL Server instance to a named instance?

I have SQL Server Express installed on my machine as the default instance. "server=.;database=...." I'm now working with a new client where their config files are all checked into the repository. They ...
2
votes
2answers
8k 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 ...
3
votes
2answers
2k 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
2answers
2k views

apache 2.4 + php-fpm + mod_proxy_fcgi + alias

I have the following config: Apache 2.4, php-fpm, mod_proxy_fgci. The problem is that my config is not working with the alias directive: I've installed phpredmin, but the alias directive is not ...
0
votes
1answer
86 views

Linux: Ignored entries in aliases file

I am trying to configure my RHEL6.5 server to send all emails addressed to root or apache to go to my external email address. I have found many guides on doing this and tried all of the suggestions I ...
-1
votes
1answer
88 views

Amazon Route 53 domain mapping

We have some EC2 instances running NGINX that will be accessed via a loadbalancer that can be reached via www.example.com. The loadbalancer redirects the traffic to the appropriate EC2 servers. This ...
0
votes
0answers
12 views

Revert EC2 aliases to default

I have an EC2 instance that I have updated aliases on but I now wish to revert to the EC2 defaults. Basically I created a .profile file and ran source .profile before realising this could potentially ...
-2
votes
2answers
147 views

Replying to an email from a domain email alias

We have a multi-store set up in nopCommerce 3.20 with SSL enabled. Our environment info as follows, Windows 2012 R2 VPS Server. .Net 4.5, SQL Server 2012 Express Multi SSL in Same IP using ...
0
votes
0answers
60 views

CENTOS Apache: non-www alias not resolving when CGI executes

I'm setting up my first ever dedicated server, and copying over site files (mostly HTML code from a discussion board product) from another site to this new one. My issue is when I click on some links ...
0
votes
2answers
756 views

SQL 2012 server alias works locally but not remotely

I'm preparing for a server migration and am attempting to redirect a named instance of SQL Server 2012 (DW) to the default instance. There is currently no DW instance on the test server - I'd like to ...
1
vote
3answers
2k 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
3answers
3k 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
0answers
141 views

Apache Alias on multiple vhosts + redirect rules

I'm facing a tricky problem and I have problems to solve it through Apache config. I have two vHosts on my machine: A) /var/www/front/web app.domain.ext B) /var/www/api/web api.domain.ext This ...
39
votes
7answers
40k 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 ...
2
votes
0answers
35 views

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

Postfix: Two domains in mydestination - where are the mails delivered to?

I have two domains in the mydestination parameter of Postfix: mydestination = foo.com, bar.net The MX-Records for foo.com and bar.net are set to mail.foo.com. In my /etc/aliases I map admin to the ...
1
vote
0answers
147 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
-1
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 ...
0
votes
1answer
79 views

Postfix Regex Alias with Text Substitution

I'm migrating from an older email structure ([first letter of first name].[last name]@company.com) to [first letter of first name][last name]@company.com. To ensure that mail sent to older addresses ...
0
votes
1answer
736 views

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 ...
0
votes
1answer
311 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 ...
1
vote
2answers
17k 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 ...
1
vote
1answer
142 views

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 screatch@gmail.com and ...
0
votes
1answer
2k 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 ...
8
votes
1answer
3k 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": ...
1
vote
2answers
174 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 ...
1
vote
3answers
198 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
3answers
10k 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
91 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
151 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
34 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 ...