Questions tagged [serveralias]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Use captured wildcard subdomain to direct requests to specific PHP-FPM Pool Apache

The scenario is that I sysadmin a host with shared SSH access backed by LDAP user accounts. Each user gets a home folder in /home/users. We use Apache currently with mod_php for users to be able to ...
0
votes
1answer
45 views

multiple include files in apache virtualhost

I have a pile of domains and my customer wants www also available. I made two text files. One that starts with ServerAlias and the domain names and another text file that starts with ServerAlias ...
1
vote
1answer
16 views

Anyway to avoid putting in seperate www for ServerAlias in Apache

I have a server with about 2000 domains on it pointing to same folder. I put an include file with the domain list into a virtual host entry. Do I need to make a second include file for www.sales....
0
votes
0answers
21 views

Typo or not? (DBMSSCON vs DBMSSOCN?)

I'm troubleshooting this SQL Server connection issue which is set on our client's server and I cannot find anything wrong with our application. They are using aliases and usually they use the TCP/IP ...
0
votes
0answers
26 views

Issue with multiple virtual hosts with multiple certificates

I have multiple domains which each have a wildcard encryption certificate. I also have different subdomains which have different document roots. Here's the issue: <VirtualHost _default_:443> ...
3
votes
1answer
79 views

How to make computer alias discoverable?

I am replacing an old server 2008r2 system with a new windows 2016 server but am having problems with computer visibility on the local network. My file server has a DNS alias which doesn't appear as ...
0
votes
1answer
85 views

SaaS Domain Mapping: Cname to subdomain

I read a lot of threads here and I think I'm doing everything perfectly. I setup a cname record on domain.com with the name www and the answer the.subdomain.com However when I go to www.domain.com ...
0
votes
1answer
56 views

Apache Virtual Hosts points to wrong DocumentRoot

I’m running a VPS (Debian 9) with Apache2 service running on it. I want to have a mail.example.com direct traffic to /var/www/mail and example.com to direct traffic to /var/www/example. I have written ...
0
votes
2answers
1k views

Apache URL rewriting with ServerAlias

I have a vhost running on a CentOS 7 Server, which is serving 2 Prestashop stores. In this vhost conf file, I have a ServerName and a ServerAlias, each directing to a dedicated store. Recently I ...
0
votes
1answer
34 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
0answers
59 views

CentOS 7 / Apache 2.4 ServerAlias strange behavior

I am facing a strange problem. I recently set up a fresh CentOS7 minimal install with an apache 2.4 server to replace an older server (CentOS5 / Apache 2.2) in production. However, when I copied the ...
1
vote
1answer
2k views

Redirect root & all subdomains to another domain equivalent (DNS only)

First, yeah, I know, this question is probably a duplicate, but I've searched for some hours now and I can't find any relevant answer.... So I try asking. I got, let's say, domain-a.com & domain-...
0
votes
1answer
887 views

Combining Apache ServerAlias and 301 Redirects

I've referenced this question but I'm not sure if I'm clear on how this works given this situation: I have a client with two brands that are currently online like this: Brand A (site 1) Brand B (...
0
votes
1answer
23 views

MAMP setting up a host [closed]

I've a website which use a google api by a specific domain. Then my google App work on domain like dev.mydomain.com So i need to create a VH but it doesn't works. <VirtualHost *:80> ...
0
votes
1answer
1k views

Apache ignoring Server Alias and going to first virtual host

I'm having problems getting my ServerAlias domains to work correctly. apache2ctl -S gives: IP.ADDRESS:80 is a NameVirtualHost default server byteinsight.net (/etc/apache2/sites-enabled/000-...
3
votes
1answer
1k views

apache2 and VirtualHost with foreign characters and more than one Alias

I have a simple apache2 setup with two VirtualHosts. One is a domain name with "normal" characters, and one has foreign characters (with punycode). The problem is that I don't know how to add "www" ...
21
votes
1answer
36k 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 ...
0
votes
1answer
622 views

ServerAlias - Force Apache to use 301 by default instead of 302

I currently have the following in my config file: ServerName example.com ServerAlias www.example.com ServerAlias www.example.org ServerAlias www.example.co.uk This all works great because if I go to ...
0
votes
2answers
381 views

Plain Wildcard for Apache's ServerAlias

Are there any possible problems with using ServerAlias * in an Apache configuration? One thing I considered: ServerAlias is based on HTTP_HOST in HTTP headers delivered by the client, which can ...
1
vote
0answers
157 views

Can not access www with puppetlabs apache module

The vhosts are managed with the puppetlabs-apache module and I can not access the website with www but I can without it. When i use www I get a blank page and there are no errors an any logs and non ...
-3
votes
1answer
76 views

How to configure multiple domain on single hosting [duplicate]

I would multiple domain on single hosting. My project files inside this hosting plan. I run same server. How to multiple hosting (vhost) acccess to my project files? For example: my project files in:...
1
vote
1answer
3k views

ServerAlias with SSL

I would like to know if the SSL certification would still be valid in the scenario. By valid I mean it will display both sites with SSL certificate without any issues or errors etc. I have two ...
1
vote
2answers
139 views

Apache vhost configuration for ServerAlias getting default

Given this configuration: NameVirtualHost *:80 Listen 80 <VirtualHost *:80> ServerName default.example.com </VirtualHost> <VirtualHost *:80> ServerName www.example....
0
votes
1answer
56 views

Does ServerAlias config under apache accepts something like “www.example.com/somthing/more”?

I want to add a ServerAlias pointing to a url say "www.example.com/somthing/more". I know this is perfectly possible in case of "www.example.com" or "*.example.com" for eg.
1
vote
2answers
80 views

Aliasing a domain on Apache

I am developing a website on my own development servers. The client is loading some fonts that are white-listed on just their domain, the problem is that during development I cannot see them on my dev ...
0
votes
1answer
294 views

How can I get ServerAlias to work?

I have an Ubuntu server with apache2, where I host a small community. The domain for this is (as an example) domain.tld. I Try to add a simple ServerAlias that allow users to append a www-prefix, like ...
5
votes
1answer
2k views

Apache ServerAlias wildcard for domains (e.g. subdomain.*.com)

I know it's possible to use wildcards for subdomain aliases like: ServerAlias *.domain.com But is it possible to use that for domains having a the same subdomain? # like this ServerAlias subdomain.*...
1
vote
2answers
623 views

Is it possible to add wildcard serveralias to virtualhost without modifying httpd.conf manually? [closed]

Is it possible to add wildcard serveralias (example: *.somesite.com) in an apache server without modifying httpd.conf manually? I use a DNS different from my hosting server and i have added asterisk A ...
5
votes
2answers
2k views

Set Apache Alias for specific ServerAlias

Currently, I have a VirtualHost defined like so: <VirtualHost *:80> ServerName mydomain.com ServerAlias otherdomain.com DocumentRoot /var/www/project/ </VirtualHost> How can ...
0
votes
1answer
1k views

CNAME to wildcard subdomain only getting default server page

We're having problem with a server config, and I hope I can get some help with this as its driving us mad! Basically, we have an app set up at domain.com, and wildcard subdomains set up on the same ...
2
votes
4answers
3k views

Managing lots of Apache vhost ServerAliases

So I've got this site that's being served as a virtual host by Apache 2. And it has a metric ton of alternative domain names that are all supposed to resolve to it. Up to now I've handled things like ...
0
votes
3answers
169 views

ServerAlias stopped working

I had this working, then my VM server crashed. I'm running Ubuntu on Oracle VirtualBox. Now I'm trying to add some server aliases, but it's not working. In my 'sites-enabled' folder I have a file ...
0
votes
1answer
205 views

ServerAlias Exceptions

I am looking for a special configuration for Apache (and eventually NGinx) to allow to map all but one host as a ServerAlias to a specific VHost configuration. For example, my current setting is: ...
2
votes
1answer
276 views

Passenger and ServerAlias not cooperating

I have a ruby application that runs on a server with multiple IP addresses and mutliple vhosts. Here is the configuration of the problematic virtual host: <VirtualHost 10.0.0.10:80> ...
10
votes
1answer
8k views

Exclude specific domains from Apache2 serverAlias while using a catch all *(wildcard) alias

I have a web application that needs to support custom domains, in that regard I have set-up the following name based virtual server: <VirtualHost *:80> ServerName example.com ...
0
votes
1answer
713 views

Performance of multiple VirtualHosts vs. ServerAlias in Apache2?

until now, we had multiple web servers with multiple IPs and a lot of domains pointing to them (most of the domain logic was inside our CMS). I liked this aproach because a lot of configuration could ...
0
votes
1answer
227 views

Alternative to editing httpd-vhosts.conf for ServerAliases on shared hosting?

greetings. i need to set up some ServerAlias records so multiple domains can be mapped to the same application folder however with this shared server i don't have access to the httpd-vhosts.conf file. ...
7
votes
1answer
13k views

Server Alias With wildcard subdomain

I am using WordPress network subdomain setup. I had to put *.mydomain.com as a server alias but now I also have a site subdomain.mydomain.com that leads to another directory. Is there a way of doing ...
2
votes
3answers
21k views

ServerAlias not working

I have a VPS, that I have configured to host multiple websites with name based hosting. It is all good while only using example.com, and www.example.com. It also works with example.net, but when I try ...
1
vote
0answers
1k views

Kerberos Issue on Aliased SharePoint Web Front Ends

I am having a problem with Kerberos working on SharePoint. Also note that I am a developer not a network guy so if I use the wrong terms I apologize but I hope my intent is clear. We have two web ...
3
votes
2answers
26k views

Apache2 multiple hostnames redirected to one

I'm trying to redirect multiple hostnames to only one, for example, if you enter any of: foo.example.com www.example.com bar.example.com eample.com you must be redirected to www.example.com I have ...
5
votes
3answers
17k views

Apache Virtual Host Config www vs non-www, Rewrite or sServerAlias?

We have a central httpd.conf and we include confs for various virtual hosts. Until today, we didn't really have a need for "www.subdomain.site.com" domains, only "subdomain.site.com." Now we do, so I ...
1
vote
1answer
580 views

Apache 2: I have multiple domain names I want to point to one Virtual Host. Do I use ServerAlias?

I have multiple domain names, for example: www.foo.com www.goo.com www.moo.com www.coo.com I want all of these domain names to resolve to one website AND to redirect to www.foo.com What is the best ...
1
vote
2answers
1k views

Apache2 ignores ServerAlias

the www versions of all my sites work. the non-www version don't work. All non-www versions go to my default vhost (galengrover.com) Here are the first 2 virtual hosts in httpd.conf. ServerName ...