Questions tagged [alias]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
49 views

Location in Nginx doesn't work as expected

Here is https://site.io, it's based on Wordpress. It is located in /var/www/site.io. I need to add https://site.io/guides and put a fresh Wordpress engine there. I've added this location to site.io ...
1
vote
1answer
44 views

nginx alias with location regex get wrong file name

my location config: location ~ ^/maat/(js|css|images)/ { alias /usr/local/services/gdt-frontend-test-1.0/maat/$1/; expires 1y; } complete server config: server { listen 80; ...
0
votes
1answer
128 views

How to set a command alias that will be respected in a shebang

I run multiple versions of PHP on my Linux server. I've added an alias in my bashrc to point the php command to a specific version alias php='/usr/bin/php7.3'. This works as expected when I execute a ...
0
votes
0answers
35 views

Add alias to Google admin not working

I try to add the domain 'example.com' to the main business account as an alias but it displays: "This domain name has already been used as an alias or domain" So I login to example.com ...
0
votes
3answers
308 views

alias command that works in ssh too

I have some commands that I always use and they are rather hard to remember such as lsof -i -P -n | grep LISTEN. I would like to create an alias for them that also applies when logged in via ssh on ...
1
vote
1answer
66 views

Hotstrings on a bash console

I can do things like this to alias often used things alias iii='sudo yum install' and that works fine, but it's nice to be able to expand a command on the command line as I use it. For sure I can type ...
0
votes
0answers
13 views

Apache on windows, aliases not working

Now my apache is set up as a service running as local system account pages in the document root work fine but virtual folders does not, how can I make virtual folder to work? My current httpd.conf has ...
0
votes
0answers
20 views

Is it possible to have an alias directive apply to all files except one in a directory?

I would like to have an alias to a directory in order to serve static files, but I'd like that alias to not apply to one file in the directory so that I can serve it through a framework instead of ...
0
votes
1answer
1k 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 ...
0
votes
1answer
75 views

AllowOverride not working for alias'd site

I have a two domains johny.com and alice.com and one webserver (apache) managing them. Web files are in /var/www/johny.com and /var/www/alice.com and are configured as two virtual hosts with proper ...
0
votes
1answer
121 views

assigning aliases in .bashrc via echo '…' >> .bashrc

running cat .bashrc gives me these two lines at the end: alias remove='rm -i' alias chamber='ls -a -i -l' when I run remove followed by a file name I get a successful removal with confirmation ...
0
votes
0answers
41 views

disable case folding for pcre alias file in Postfix

As I described in my last question I'm suffering form an issue caused Postfix to doesn't recognize local user account with capital letter! I red some manual page of Postfix and ran into a quote saying ...
0
votes
1answer
43 views

Aliasing Server Name in SSH Command [closed]

This may be trivial, but I am not sure how do it safely and optimally. I have a few servers (AWS EC2) into which I ssh from the bash. Those server names are long. How can I alias them, so instead of ...
3
votes
4answers
3k views

Unable to create email alias because it already exists, but cannot find the instance of it

Error: An Azure Active Directory call was made to keep object in sync between Azure Active Directory and Exchange Online. However, it failed. Detailed error message: Another object with the same ...
1
vote
1answer
122 views

Unable to use alias name with powershell

I have created an CNAME alias record (PublicShare) for one of our servers (KWT-SRV01) in Windows Server DNS. Unfortunately i am unable to use it in powershell "-path" attribute. For example, ...
-1
votes
1answer
72 views

CNAME from 1 subdomain to another subdomain

I have added a CNAME from order.checkoutchiangmai.com to restaurant1.acemsweb.com. The result I have is "Apache is functioning normally" when I open order.checkoutchiangmai.com. I am unsure why the ...
0
votes
2answers
55 views

CNAME is not acting as an Alias on Cloudflare

I would like to display the same content of: example.com if someone visits example.net I researched and it seems to be possible by simply setting up a CNAME record on example.net that is pointing to ...
0
votes
1answer
516 views

How do CNAME Flattening, ANAME or ALIAS records work? [closed]

I found explanations by Cloudflare and DNS Made Easy quite vague on the implementation of these records - it was something about IP address caching. Do those records only retrieve A and AAAA records ...
0
votes
0answers
44 views

Postfix forward mails to external domains as (inline) bounce

My problem: I own a postfix server with several Aliases on it. For example: info@my.tld => abc@gmail.com If I now send a email from def@gmail.com to info@my.tld it get's forwarded to abc@gmail.com ...
0
votes
0answers
137 views

Masking URL in Address Bar in IIS

I am not an expert in IIS and would really appreciate your help if this is something that can easily be resolved. We have a web server on an intranet domain to which users are directed by the DNS ...
0
votes
1answer
28 views

apache intermitently fails to resolve Alias directive

we have a set up where main site (wordpress) is running on the server, all additional mini sites that should appear within the main one, but not served by wordpress are configured as Alias'es: Alias "...
0
votes
1answer
89 views

How to create an alias that uses a value and grep on a remote server?

I need help, I can't create an alias with a variable to grep a file on a remote server. I have tried: alias searchword="ssh -t user@server "grep -i \"$1\" /root/file.txt\"" alias search="ssh -t ...
0
votes
1answer
123 views

Postfix header conditional rewrite

in my mail server I have a mailbox me@mrtsolutions.it and an alias ciao@mrtsolutions.it which send all to me@gmail.com. Now when I send from user@gmail.com an email to ciao@mrtsolutions.it, I receive ...
0
votes
1answer
81 views

How to use Veeam to recover locally-hosted Exchange mailbox alias to implement on Exchange Online

I've inherited an IT department after just 1 year in it, during which the 30-year sole-IT person retired, and his replacement, who hired me, left for a remote position. Shortly before he left, Veeam ...
1
vote
0answers
21 views

Create custom sub-command for Docker

For Git user can create alias git config --global alias.co checkout git co master If Git cannot find build-in subcommand it looks for git-SUBCOMMAND executable in PATH echo -e '!/bin/bash\necho I ...
0
votes
1answer
276 views

Should I set up my Postfix send-only server to send as a subdomain?

Scenario: I own the domain example.com. I am signed up with an email provider, and configured my account as a catchall for *@example.com. I use the email dude@example.com. I have a VPS running Ubuntu ...
0
votes
1answer
493 views

Postfix How to send mail in behalf of an alias

I'm using postfix as a mail relay in a very simple setup, mostly with aliases, forwarding mails to GMail. My main goal with this is to minimize the need for mailboxes on my server. Let's assume I ...
0
votes
0answers
330 views

Replace explicit `virtual_alias_domains` by domains in `virtual_alias_maps`

I have a working Postfix config with some local mailboxes, some local aliases and a handful of purely virtual alias domains. Because I find it tedious to add all to virtual_alias_domains I'm asking: ...
1
vote
1answer
1k views

How to check which DNS Alias is used to access the server?

I have a host with a database installed on it. In order to access the database, the clients use a DNS Alias (CNAME) - AliasOne - and the database port. DNS Aliases are managed by colleagues in ...
1
vote
1answer
429 views

Spoofing/Spam received from GSuite alias accounts

The company currently have 2 domains registered: "dom1.com" and "dom1.com.ex". "dom1.com" is hosted and is the main domain associated on our GSuite account to create user accounts to send mails, "dom1....
0
votes
1answer
42 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
283 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 ...
1
vote
1answer
414 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
58 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
119 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
43 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....
1
vote
1answer
678 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 ...
1
vote
1answer
444 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
149 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 \\...
15
votes
1answer
5k 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
29 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
1k 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
1k 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
43 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
83 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
3k 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
466 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
95 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
1answer
3k 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
200 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 ...

1
2 3 4 5
7