Questions tagged [alias]

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

Filter by
Sorted by
Tagged with
2 votes
3 answers
5k views

postfix - allow sending email with related alias

I have installed postfix 2.11.3 + +sasl + postfixadmin + dovecot + roundcube on debian 8. All is working fine but today every users can send email with another email address. I would like to add a ...
0 votes
0 answers
1k views

Mapping alias in virtual host for a website - URL routes do not work

I have two Laravel sites: a front page and an API site. My customer will later separate the API site on a subdomain, but for the time being the customer wants to serve the API from inside "subfolder" ...
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 ...
1 vote
1 answer
116 views

shell : warn about or deny command execution with help of an alias

executing iptables -F is very dangerous if your default policy for one or all chains is DROP I would like to use an alias in bashrc like alias iptables -F="echo \ 'WARNING: due to the DROP ...
0 votes
2 answers
2k views

SMTP name too long for Canon

I am setting up a Canon iR device to scan to email, but their field name for SMTP server is too short for my MX record address. Is there a way to set-up an alias that would work round this, or some ...
-1 votes
1 answer
3k views

SSL certificates and DNS CNAME

I am wondering if an SSL certificate would work and be accepted in the following circumstances. In each of these circumstances, one DNS name returns a CNAME record for another DNS name, and the ...
0 votes
3 answers
3k views

Nginx: use $http_host in location

I got many server aliases in nginx configuration: server { listen 80; server_name example.com site1.example.com site2.example.com site3.example.com ... How i can control specific ...
0 votes
1 answer
2k views

Postfix not respecting mysql alias domains

So the setup is using postfix, dovecot, postfixadmin and mysql. I have configured postfix admin to alias one domain, "name.co.uk" to "name.net", I see this in the database so there's no issue there. ...
82 votes
2 answers
174k 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 \\...
1 vote
2 answers
4k views

Execute local alias through ssh on remote server

I know I can execute a function through SSH on a remote server like so: $ ssh remote_server "$(declare -f cool_function); cool_function" I also have some aliases that I would like to execute on ...
0 votes
1 answer
151 views

Is it possible to create a global SQL Server alias?

I understand it is possible to create a SQL Server alias on a per-client basis via SQL Server Configuration Manager, but is it possible to do it globally, on the target SQL Server server? My goal ...
0 votes
1 answer
1k views

Alias link doesn't open correct page

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 /home/django/mysite/deploy/logs/nginx_err.log;...
0 votes
1 answer
2k views

Apache Alias to serve /blog from another directory

I'm upgrading our website, the blog hasn't been done yet so I want everything starting with www.mydomain.com/blog* to use the code under a specific directory (var/www/blog) everything else will come ...
2 votes
1 answer
8k views

simple nginx alias not working while trying to serve files other than document root

i am trying to serve images which are stored in different location other than document root. #avatar files block location ~^/pics/profile/(.*)$ { alias /home/data/site_data/profile/$1; } i ...
1 vote
0 answers
242 views

Alias hostname and file path

Is it possible to mask the hostname with an Alias and variables? For example: I would like to call http://easyNameToRemember/path/to/file instead of: http://uglyServerName:8000/the/real/path/to/...
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 ...
0 votes
2 answers
403 views

Filter mail recipient by alias matching with sender's domain

I use an alias for each company that I provide an e-mail contact. So, for example, in /etc/aliases somecompany: myuser The address I supply to SomeCompany would be [email protected] If the ...
0 votes
1 answer
11k 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
1 answer
628 views

Same Postfix aliases for different domains

I've got Postfix managing two different domains one.com and two.com, included in the my destination variable of the main.cf file. I need an /etc/aliases file including something like this: user@one....
1 vote
0 answers
2k views

Postfix: forward email to non-local address - expanded from user unknown

I'm running into issues with postfix, specifically while creating a local virtual alias to forward email to external addresses (on other servers). My goal is to: Forward all email sent to [email protected] ...
0 votes
1 answer
426 views

Alias specific hostnames by regex to fully qualified domain name (FQDN)

Is there any way on linux to alias a group of hostnames (group specified by wildcards/regex) starting i.e c-* to fully qualified domain names i.e c-hostname -> c-hostname.domain.com Thank you, ...
0 votes
0 answers
1k views

Nginx regex alias on common location

I am trying to recursively serve the content of a folder for several customer IDs to pertain backwards compatibility to a respective application beyond my influence. I want all URLs paths beginning ...
0 votes
3 answers
3k views

Including additional alias files in Sendmail

I've run into an issue with a piece of third party software that creates it's own alias file to be used by sendmail. Looking through the configuration options, google, and the man pages it seems like ...
1 vote
2 answers
1k 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 { ...
-2 votes
1 answer
787 views

How to turn this into an alias?

I frequently use this command: grep -rnw donkey | grep market | cut -c -80 How can I change it into an alias on Linux? I tried: alias search='grep -rnw $1 | grep $2 | cut -c -200' But when I run ...
0 votes
1 answer
338 views

Exim4 email forward not working

I have been trying to set up an email forward on my server, which uses Exim 4. I want to forward all emails sent to [email protected] to [email protected]. From reading elsewhere and looking at a ...
0 votes
1 answer
474 views

Is it possible to chain relative MX records?

I need to make an "MX chain" as the following: @alias.mydomain.net --> @mail.mydomain.net --> @smtp.targetdomain.net (1) (2) (3) Say an SMTP ...
3 votes
1 answer
6k 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 ...
0 votes
1 answer
817 views

LDAP: Posix group alias

I have a group in my LDAP ('devteam') that I use for login on all machines of the parc. I would like all these users to also belong to the group 'docker', that allows them to manipulate the docker ...
0 votes
1 answer
28 views

Exchange 2013, partnerships, domains, & out of office

Background: I work at a company with several confidential business partnerships that require employees to appear as though they work for another company/brand and use multiple domains via email in ...
-1 votes
3 answers
9k views

Getting hostname on CentOS 6.6 from command line

In the command below, I'm trying to get the hostname of the server I'm logged into. Please note that I'm on the actual server and not ssh'ed into another server!! I'm trying to get the hostname. ...
1 vote
2 answers
11k 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 ...
2 votes
3 answers
31k 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 ...
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 ...
0 votes
0 answers
180 views

how to undo 'Alias' in Virtualhost

I wanted www.domain1.tld/domain2 to point to /www/directory2 So I added an 'Alias line' to my Virtualhost config apache2/sites-available/domain1.conf like this: <VirtualHost *:80> ...
0 votes
1 answer
888 views

nginx downloads php instead of processing it

I have been trying to make a simple alias in nginx and the furtherest I could get is to get the server to send me the file. When I visit /xhprof_html in my browser the server asks me to download the ...
0 votes
1 answer
2k views

Nginx alias not working

I'm trying to pass all traffic at location ^/[a-z0-9]{24}$to index.html at a different root directory. I have my config set up like so: server { listen 80; server_name example.com; return ...
0 votes
1 answer
438 views

IPSEC VPN site-to-"alias"

I am trying to connect my CentOS (CentOS release 6.7) server to a 3rd party VPN so traffic can be routed between my Apache instance listening on an aliased private IP (192.168.253.1), through the ...
0 votes
1 answer
1k views

Website prefixed with XXX is working (XXX.example.com) but not without it (403 error)

I had a Redirect permanent in my apache config file, so I don't know when the 403 error for example.com started happening. # When attempting to fix possible permissions issues due to 403 <...
9 votes
2 answers
127k 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
1 answer
29 views

File in the same subdirectory as the HTML in CMS

I have a CMS installation with a link such as journal.org/archives/volume136/number10/37362-49383 I want to place a few PDF files in the same directory as the above HTML such that the PDFs are ...
-1 votes
1 answer
35 views

Make mydomain.fr "mirror" to mydomain.com/france/

How do I "mirror"/point various specific domain names to a given .com/suburl/? Examples: mydomain.fr > mymaindomain.com/france/ mydomain.se > mymaindomain.com/sweden/ I currently have the ...
0 votes
1 answer
6k views

NGINX - Cannot set Cache-control for redirected .js files (with alias + rewrite)

I have successfully setup an nginx server which uses both alias + rewrite as in the below configuration. Everything works except that javascript files are not enforced browser caching. Server url: ...
0 votes
2 answers
415 views

Redirect subdomain.domain.org to domain.com which is expired

I have 2 domains and both are on my server and both are registered by me. But the problem is that one of domains expired yesterday and i need to access it's data through the url urgently but i can't ...
0 votes
0 answers
888 views

Postfix and PostgreSQL: How to make same aliases work for different domains?

I've currently three domains. I want to setup (mostly) the same aliases for every domain and retrieve the mails on Thunderbird. It already works to send/receive mails for [email protected], contact@...
2 votes
5 answers
10k views

Rewriting from headers in Postfix

I want to configure Postfix to replace the 'From' header in all forwarded/aliased messages with a custom email address, and the 'Reply-To' header with the original sender's address. Is that something ...
1 vote
0 answers
489 views

"Deny from all" not working

I have made following configuration on httpd.conf. But, any IP still can access PHPMyAdmin URLs/aliases. What have I missed? Is this related with "Alias" directive? Alias /phpmyadmin /usr/share/...
-1 votes
1 answer
3k views

Alias not working in VirtualHost for a domain but works locally on localhost?

I have created a virtual host locally using domain name virtual hosting in which I have used an Alias to a directory pointing to another project on the same server (my local host) as given below: <...
-1 votes
1 answer
1k views

How to Get Rid Off 'index.php' in URI Using Virtual Host and .htaccess File?

I am using a Virtual Host for my Laravel 4 Project on my local host to get rid off typing 'localhost/L4/public/index.php/route'. Laravel also uses a .htaccess file in it's public directory. Both the ...
0 votes
3 answers
7k 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 2
3
4 5
7