Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [alias]

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

0
votes
1answer
33 views

Source bash.rc / aliasses from external file (LEMP)

I'm running several LEMP VMs with mostly identical setups. Each of these VMs has a /etc/profile.d/00-aliases.sh containing a bunch of aliasses and functions to run on the server. Now, whenever I make ...
0
votes
2answers
68 views

Postfix Alias issues

I am having an issue with setting up an alias "support-notify" in Postfix. Recipient address rejected: Access denied; I am running Postfix with OpenDKIM, OpenDMARC, Policyd-SPF, and Dovecot on ...
0
votes
1answer
25 views

Set alias from sh script in ESXi 6

I have created a simple script to setup an alias on an ESXi 6.7 host: #!/bin/sh alias ll="ls -la" echo "Profile done" When I run the script I see the echo'd message on screen, but the alias is not ...
0
votes
0answers
17 views

Postfix with external alias rejected

i have a problem with external aliases on my server. There are aliases for my users so they can retrieve mails on their personal mailaccount. For example: user1@mydomain.com user1 user1@gmail.com ...
0
votes
1answer
58 views

Multiple Domain Names. Alias not Redirection

I need to get my new domain for example.net to not only respond to the same content as I have for the existing example.com, but I need the user to actually still only see example.net when they get to ...
0
votes
0answers
18 views

Unable to load PHP files from second server directory

My server has a root directory which is /home/forge/example.com/current/ionic/www and a secondary API PHP directory, located /home/forge/example.com/current/public. When the user browses to example....
0
votes
1answer
23 views

Postfix virtual_alias_maps won't work

I have the following entry in virtual_alias_maps: ttt@works-organizer.ch: tibor.nagy@works-organizer.ch However if I send an email to ttt@works-organizer.ch, it fails with User unknown in virtual ...
0
votes
1answer
21 views

Why isn't my Nginx alias directive working?

I'm using Nginx on CentOS 7 with Ruby on Rails / Puma. I would like for certain file paths to be skipped by RoR and be served directly by Nginx. I created this in my "server" block for my site ...
0
votes
1answer
32 views

Windows server, temporary alias name, only visible from one machine

Two weeks ago our IT department migrated a huge network folder from an older server to a newer one. For example, the older folder was reachable under \\oldserver\ourfolder and the new one under \\...
11
votes
1answer
2k 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 ...
0
votes
0answers
455 views

Active Directory Domain name alias

I have a server 2012r2 environment. We have our domain name that we would like to alias to another name so users do not see the current domain name. There are multiple UPN's in the network. In ...
0
votes
0answers
22 views

Apache alias a short extensionless symbol to a file

I would like to have a short url like: https://myDomain/essr to evaluate to: https://myDomain/dir1/dir2/myFile.html I've been trying to use alias in my apache config but I haven't been able to ...
1
vote
1answer
198 views

NGINX PHP FastCGI multiple locations (alias) issue

First time posting and very new to all this - was advised to try here over stack overflow and have read a few different things linked but just cannot get my head around it. After alot of trial and ...
0
votes
0answers
507 views

NGINX Remove index.php in URL Rewrite

i had to modify an NGINX configuration to allow getting the static files from a different folder. server { listen 80; server_name app.test; root "/home/vagrant/app/public"; index ...
0
votes
1answer
30 views

How to know if connection is made to a server using alias or not? [duplicate]

Is there a way to know if the connection to a host is made via an alias or using the direct host name itself? This is in Linux. Basically I want to find out what are the connections made to my DB ...
0
votes
1answer
60 views

Virtual Alias File Using Regular Expression in Exim 4.89

I would like to thank you in advance for taking my question. I am deploying a mail server using Exim, version 4.89, and would like to use a virtual alias file using regular expression to forward ...
0
votes
1answer
326 views

Can't connect to site in IIS through DNS Alias, but can connect through localhost

I have a site in IIS configured and visible over localhost. I have also set up an CNAME Alias within the DNS to point to this server as 'main' and set up the bindings for the site with 'main' over ...
1
vote
1answer
166 views

Autoindex cuts off end of directory path; workaround needed

I'm trying to set up a sort of shared hosting with nginx where each user has a public_html directory. Requests to /~username are aliased to /home/domain-users/username/public_html. Problem is, I also ...
1
vote
0answers
52 views

Postfix: multiple aliases for same mail address from multiple results

I am about to configure our new mailserver and one feature must be that mailinglists must be delivered to multiple receipients as well as to an internal shared imap folder. we store most of our users ...
0
votes
0answers
37 views

Email administration - Best Practices

Is there a better way to manage email for ~250 users other than using 1 Office 365 user and assigning aliases, then using rules to sort them into folders? The problem I am having is as we approach ...
0
votes
1answer
304 views

Nginx location alias for theme files

I'm trying to move my theme files outside of document root. I'm using nginx for the server and I've tried using alias and root directives in a location block. Nothing I've tried works and I suspect it'...
0
votes
2answers
131 views

Bash directory alias/redirect

I'm trying to compile a library and his dependencies (lots of dependencies), but the system that I'm using didn't have the usual directory structure. I'm searching for a method to "redirect" all the ...
0
votes
0answers
107 views

Nginx is not serving Perl files

I am running Nginx server on Debian 9. My problem is that, Nginx is serving Perl files in root directory, but it is not serving in alias directory (I get 403 Forbidden). This is my configuration of ...
0
votes
0answers
283 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" ...
1
vote
1answer
43 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
3answers
569 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
1answer
378 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. ...
0
votes
2answers
1k 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
1answer
71 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
1answer
590 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 ...
1
vote
0answers
71 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/...
1
vote
1answer
3k 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
2answers
386 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 ...
0
votes
2answers
120 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 somecompany@mydomain.com If the ...
1
vote
1answer
342 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....
0
votes
0answers
641 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 fwd@xyz.com ...
0
votes
1answer
165 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
0answers
514 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 ...
-2
votes
1answer
78 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
1answer
113 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 steve@mydomain.com to john@mydomain.com. From reading elsewhere and looking at a ...
-2
votes
1answer
858 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
1answer
165 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 ...
0
votes
1answer
23 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 ...
0
votes
1answer
327 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
3answers
1k 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 ...
-1
votes
3answers
2k 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. ...
0
votes
1answer
3k views

How to configure an alias in nginx

Im switching from apache to nginx and im not sure how i would do the following in nginx. <VirtualHost *:80> ServerName example.com ProxyRequests On Alias /faq /var/www/http <Directory /var/...
0
votes
0answers
111 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
1answer
321 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
3answers
727 views

Have 2 different applications use 2 different ip's with the same port on the same host

I want to have an application running on x.x.x.x:80 and another one at y.y.y.y:80 on the same host. I have bought 2 ips from ovh and would like to know how to do so. I found these: Debian/OVH: How to ...