Questions tagged [serveralias]

43 questions
1
vote
0 answers

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 www works fine. Here is the conf file for the…
Yamiko
  • 143
  • 5
1
vote
1 answer

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 external URL's hello.com and world.com for example. and…
Gareth
  • 135
  • 1
  • 6
1
vote
2 answers

Apache vhost configuration for ServerAlias getting default

Given this configuration: NameVirtualHost *:80 Listen 80 ServerName default.example.com ServerName www.example.net ServerAlias …
1
vote
2 answers

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 server. Someone said I can somehow alias the…
keeg
  • 419
  • 2
  • 6
  • 11
1
vote
2 answers

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

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 record to my DNS to point all request like…
1
vote
0 answers

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 front ends aliased to a single name say "SPPortal"…
Junx
  • 111
  • 4
1
vote
1 answer

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 method to achieve this? Multiple entries? Use…
Christopher Altman
  • 729
  • 3
  • 11
  • 20
1
vote
2 answers

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 galengrover.com NameVirtualHost *:80
Galen
  • 1,983
  • 2
  • 12
  • 10
1
vote
0 answers

Apache2.4 strange ServerAlias wildcard behavior

I'm trying to create wildcard virtualhosts with ServerAliases sub.*.tld sub.*.tld2 *.tld *.tld2 (loaded in that order), the ones without the subdomain obviously work, but the first two do not, falling back to the default domain. I couldn't find…
0
votes
1 answer

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 and the www domain names. Each text file is one long…
Lid
  • 15
  • 5
0
votes
1 answer

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 it shows the content on www.subdomain.com instead of…
Esteban89
  • 101
  • 1
0
votes
1 answer

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 and rewritten the virtual hosts conf many times…
0
votes
2 answers

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 moved both stores to HTTPS, but one question…
IsKor
  • 45
  • 3
  • 10
0
votes
1 answer

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

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 server host using the direct host name itself (and…
0
votes
0 answers

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 Vhosts config from the old server to the new, I…
IsKor
  • 45
  • 3
  • 10