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

learn more… | top users | synonyms

0
votes
0answers
13 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
1k 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 www/...
0
votes
1answer
38 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
29 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 ...
0
votes
1answer
39 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
1answer
3k 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
1answer
1k 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 /home/django/mysite/deploy/logs/nginx_err.log;...
0
votes
1answer
13 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
1answer
97 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 <...
2
votes
2answers
36k 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 ...
0
votes
1answer
92 views

Nginx - serving static files

What am I doing wrong here? This works: location / { alias /var/www/static/; try_files $uri index.html =404; } But this doesn't: location /hello { alias /var/www/static/; ...
1
vote
1answer
17 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
1answer
22 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
1answer
2k 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
2answers
27 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
0answers
30 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 contact@domain1.com, contact@...
20
votes
1answer
61k views

CNAME record/alias in windows hosts file?

Is it possible to enter some sort of CNAME record or alias in the windows hosts file (C:\Windows\System32\drivers\etc\hosts)? Basically I want to forward all requests made to host A to host B, ...
2
votes
5answers
4k 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 ...
12
votes
3answers
7k 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 ...
1
vote
3answers
6k 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 ...
1
vote
0answers
51 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/...
0
votes
2answers
86 views

Finding all aliases for a server

Our network admin is away at the moment. I'm trying to find all aliases attached to a given server on our network (actually a number of servers) After googling around it seems like nslookup might do ...
3
votes
3answers
12k 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 ...
-1
votes
1answer
204 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
1answer
49 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
3answers
2k 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
1answer
175 views

Why nginx alias returnes 404 on .php files?

This configutation works: location /phpmyadmin { root /usr/share/; index index.php index.html index.htm; location ~ ^/phpmyadmin/(.+\.php)$ { try_files $uri =404; root /...
1
vote
1answer
34 views

Using network drive as alias in Apache 2.2 is not working

OS is Windows 7 Appache is installed in "C:\AppServ\Apache2.2" In httpd.conf for documentroot DocumentRoot "C:/Program Files (x86)/myweb" for alias: alias /link/ "\\xxx.xx.xx.xx/myfolder/logs"...
0
votes
2answers
5k 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 ...
50
votes
7answers
63k 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 ...
0
votes
1answer
60 views

Requesting nginx using a public ip works, but using the host alias doesn't

As the title suggests, I have a public ip address (it's the address for an azure VM running ubuntu server fyi) which has an nginx server listening to requests on port 80. Entering this public address ...
1
vote
2answers
5k 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 ...
-1
votes
1answer
33 views

What is the Ideal way to spoof files in nginx (alias, try_files or rewrite)

I'm trying to spoof file location by sending long url to the server, the server translate it to the proper php file and return the result, example: I send a link like this: http://example.com/...
17
votes
1answer
9k 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": "2012-10-...
0
votes
0answers
46 views

Nginx problems with alias, photo is not displayed

Here's what I have: /usr/share/nginx/htmlNouveau/images/logo.gif my photo logo.gif; /usr/share/nginx/htmlNouveau/index.html my index.html which is like this: <!DOCTYPE html> <html> <...
4
votes
2answers
277 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 ...
1
vote
1answer
44 views

Serving additional directory content under root in Nginx

Using Nginx with Django, I have the following location entry in my server config: location / { include uwsgi_params; uwsgi_pass 127.0.0.1:1234; } Thus, all root URL requests are passed to ...
1
vote
1answer
196 views

Server Aliases on NGINX

I'm moving a site to a new server running on NGINX. The old site's Apache2 VirtualHost has ServerAlias configured that I want to replicate in the NGINX configuration. From what I've read on the ...
4
votes
1answer
435 views

Creating a postfix alias “all@domain.tld” to send to all users of a domain

I'm using Postfix + Dovecot with a MySQL database as backend and PostfixAdmin to administrate users and domains. Now I'm looking for an easy and automated approach to define per-domain alias of the ...
4
votes
1answer
1k views

DKIM not signing with alias addresses - not internal, not authenticated

I have postfix, dovecot, opendkim and postsrsd installed. I am trying to forward mail from alias@example.com to myemail@gmail.com, and have them signed with DKIM. I use postsrsd in order for the SPF ...
0
votes
1answer
210 views

simple nginx alias not working while trying to serve files other than docuemnt 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; } ...
2
votes
1answer
68 views

postfix alias maildir delivering to ~user/Maildir/ instead of ~user/Maildir/alias/

My environment: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) # rpm -q postfix postfix-2.6.6-6.el6_5.i686 # I switched home_mailbox from Mailbox to Maildir/: # ...
1
vote
2answers
760 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 ...
5
votes
3answers
6k 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 ...
1
vote
0answers
93 views

Host name alias resolves to different computer in network

I have an alias 'DATA-SERVER' for many machines in my network. When I try to access DATA-SERVER from a computer (say Computer A), it resolves to some other Computer C and not to A itself. How do I ...
1
vote
1answer
2k views

ISC DHCP Server listening on virtual interface

I've got an ISC DHCP server 4.2.2 (Debian Wheezy) working. I need to add a second scope for unknown clients that gives them a bogus address (mostly for troubleshooting purposes). However, nothing I ...
2
votes
1answer
103 views

Alias to external address in compound with catchall in mydestinations

I have a mail server that accept emails from any domain. This is accomplished by using the following line in Postfix's main.cf: mydestination = regexp:/etc/postfix/mydestinations.reg and ...
27
votes
12answers
15k views

How to pass alias through sudo

I have an alias that passes in some parameters to a tool that I use often. Sometimes I run as myself, sometimes under sudo. Unfortunately, of course, sudo doesn't recognise the alias. Does anyone ...
0
votes
1answer
358 views

Adding a VLAN to Multiple Aliased (Virtual) Interfaces

I have a server running centOS 4.6 with 4 NIC ports. I successfully set up 2 ports with 32 virtual interfaces to handle my VLAN-untagged connections and have no issues with that side of things. ...