Questions relating to virtual hosting; that is, serving content for multiple logically-separate entities from the same machine. Usually relates to name-based virtual hosting in the web server, but can also cover other protocols such as SMTP or IMAP.

learn more… | top users | synonyms (3)

1
vote
1answer
1k views

SSL Connection Error

I have purchased a comodo ssl cert and have submitted the Certificate Signing Request (CSR) generated by my server to the ssl management site. With the 3 files it returned me with, - ...
2
votes
2answers
2k views

Apache 2 UserDir for only one VirtualHost

Is it possible to enable the UserDir Directive for just one VirtualHost rather than have it on for all and then disable it (with "UserDir disable") for each VirtualHost you don't want it on? I have ...
1
vote
1answer
20 views

Access static files on Tomcat directory using VirtualHost

I am running a Java webservice (JAX-WS) on Tomcat 8 from my AWS EC2 Linux instance, and I have a subdomain pointing to the service, so that I can call the service with URL ...
2
votes
3answers
8k views

Apache SSL configuration - Invalid method in request \x16\x03\x01

I'm trying to set up https service on my VirtualBox guest instance running Debian Squeeze and Apache 2. When trying to load my virtual host's test page in a browser from my Win7 host machine, I'm ...
7
votes
3answers
12k views

“Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile]” error

After recently upgrading Apache2 to version 2.2.31 I found a strange behaviour in SSL VirtualHost setup. A few of the website I'm hosting were showing the certificate for the default host even if the ...
0
votes
0answers
18 views

Subdomain only read the index file

This is the structure of the directory: +example.com +public_html +assets //assets directory of example (css,js,img) -index.html //the index file for example +subdomain ...
0
votes
2answers
2k views

Forbidden (403), when accessing server-status on apache 2.2.22

I'm getting Forbidden error when trying to access www.website.com/server-status mod_status is enabled The VirtualHost: <VirtualHost *:8080> ServerName website.com ServerAlias ...
-2
votes
0answers
8 views

Broken PHP or Apache handler [on hold]

I have try to install ionCube Loader on my Virtualmin (CentOS 6.6) using Method #2 from http://www.servermom.org/how-to-install-ioncube-loader-on-centos-6/802/ Method #2: Step 1 – Issue the ...
-1
votes
1answer
2k views

Setup an apache Virtual Hosts on Debian 7 [closed]

I tried to setup an apache virtual host on a fresh debian 7 installation like following: applied steps 1.Install apache server: apt-get install apache2 2.create my new derictory: mkdir -p ...
0
votes
0answers
6 views

Denying access to autogenerated file in Apache and Magnolia

I have several virtualHosts in a machine with magnolia working on it. Magnolia auto-generate a sitemap's file so I'm trying to deny its access with Apache 2.4 I've tried this: <FilesMatch ...
1
vote
0answers
30 views

Can't get VirtualHosts to inherit global settings from default-server.conf in Apache 2.4 on SLES 12

I am using Apache 2.4.10 on SLES 12. According to the the SLES 12 Administration Guide the default-server.conf file is "Global configuration for all virtual hosts with reasonable defaults. Instead of ...
1
vote
2answers
94 views

Can't configure two subdomains apache 2.4

I'm trying to configure two subdomains using apache 2.4, but seems that there is a problem I can't resolve. Here is the apache configuration file <VirtualHost *:80> ServerName ...
0
votes
1answer
27 views

Apache Web Server Virtual Hosting

i'm making a apache web server with two virtual host, i have a DNS Server caching-only on my other centos 6 minimal VM, the IP Address of my Apache Server is 192.168.1.9, when i try to browse that IP ...
0
votes
1answer
17 views

Apache: virtual host and mod_fastcgi — how does it work?

I read this article to set up virtual host with mod_fastcgi, but I don't quite understand the following configuration: FastCgiExternalServer /var/www/php5.external -host 127.0.0.1:9000 AddHandler ...
1
vote
1answer
17 views

Set VirtualHost for Tomcat 8 webservice on AWS EC2

In addition to the default Apache on AWS EC2 Linux I have installed Tomcat 8 and deployed a webservice on it. The current URL (which works) is http://example.com:8080/MyService/api/generatePath I ...
0
votes
0answers
13 views

Can't get files uploaded by php on Apache virtualhost

A couple of weeks ago i got the idea that i should host a Wordpress blogg on my VPS under a different domain name. I set up my virtual host following a guide i found on digital ocean tutorials How To ...
1
vote
1answer
31 views

Redirect to https:// with www apache2

I am redirecting all http:// request to https:// using apache2 host .conf file like this. <VirtualHost *:80> ServerName example.com ServerAlias www.example.com Redirect / ...
1
vote
2answers
2k views

Apache - listen only on specific domain, not IP

How can I configure apache so that it refuses connections coming directly to the IP address (http://xxx.xxx.xxx.xxx) instead of the vhost name http://example.com? My VirtualHost configuration: ...
1
vote
1answer
2k views

How to configure ProFTPD to provide a different anonymous FTP for each domain?

I'm trying to configure ProFTPD to match the following situation: Multiple domains on a single IP address. Each domain should have it's own anonymous FTP directory. Everything runs on Ubuntu ...
0
votes
1answer
27 views

Apache VirtualHost Multiple Wildcard Domains / SSL

I'm trying to figure out the configuration for the following: Multiple Domains - (example1.com, example2.com, example3.com) Single Virtual Host Wildcard Subdomains (*.example1.com, *example2.com, ...
0
votes
1answer
960 views

lighttpd virtual hosting configuration

I need help setting up virtual hosting in lighttpd. i have the lighttpd default webpage in /var/www/lighttpd dir and i have created other dirs for my other websites /var/www/web1.com/public_html and ...
0
votes
2answers
284 views

View/test websites on new server, without changing domain's DNS

I'm pretty sure it's possible, I just don't exactly know how to; but I was wondering how I could view/test my website(s) without changing the DNS? I'm migrating my websites from provider X (server ...
2
votes
2answers
245 views

Why this VirtualDocumentRoot setup returns 403 Access Forbidden?

I have the setup my httpd-vhosts.conf with the following derectives: UseCanonicalName Off LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon CustomLog logs/access_log vcommon <VirtualHost ...
-2
votes
2answers
35 views

Apache virualhosts subdomain

I have 2 entires in the 000-default file. One of them is about a subdomain and the another is about everything else. The problem is that just one works, what is the first in the file. So if i write ...
0
votes
1answer
1k views

How to combine Lighttpd simple_vhost with www to non-www redirects?

I've set a simple virtual hosting using Lighttpd simple_vhost module and want to do a permanent 301 redirect from www to non-www. Here are most significant parts of my configuration file: ...
1
vote
1answer
175 views

How to use SSL Name Based Vhosts without SNI

I need to host a handful of web applications over SSL using name based virtual hosting. Apache documentation indicates this is possible (https://wiki.apache.org/httpd/NameBasedSSLVHosts) if all sites ...
2
votes
3answers
818 views

Disable *.example.com in Apache 2.2

My site works both with and without the www subdomain (i.e., both example.com and www.example.com work). However, anything.example.com also works and the same website content is served. How can I ...
2
votes
1answer
18 views

Pick SSL cert based on domain name without separate VHosts

I'm working with a WordPress multi-site network that has various top-level domain names. We're currently serving them all up with one virtual host: <VirtualHost *:80> ServerName ...
0
votes
0answers
22 views

Configuring Apache to use local address instead of VirtualHost

I'm trying to get an evaluation instance of ReviewBoard up and running. The default config file makes use of VirtualHost to supply a "special" URL. I'm doing this on the side in a virtual machine on ...
2
votes
2answers
373 views

Is it possible to set an SSLProtocol in Apache for a single VirtualHost (poodle)?

I'm trying to test a patch for the poodle vulnerability that involves disabling SSLv3 on my web server. In order to test this on a non-production environment first, I'm setting the SSLProtocol on a ...
0
votes
0answers
6 views

PHP absolute path not working [migrated]

I have set up a simple virtual host. JUST added these lines at the bottom <VirtualHost *:80> ServerAdmin webmaster@yourdomain.com DocumentRoot "/var/www/Reminder/" <Directory ...
0
votes
2answers
21 views

How to check the number of CPUs and cores from host with virsh?

How to check the number of CPUs and cores available in the host machine using virsh?
0
votes
3answers
1k views

multiple virtual hosts on EC2 ubuntu - cannot access second host, always accesses default

I have been searching and reconfiguring for 6 days now and have lost several clumps of hair. PROBLEM: I want 2+ virtual hosts on my ubuntu server (1 ip) BUT - Only the first "alphabetically" listed ...
0
votes
0answers
9 views

apache2 virtual server didn't quite succeed or not succeed

I set up 2 virtual servers on my Apache2 server to response to example1.com and example2.com without a problem. When I repeated the procedure for example3.com, however, I got this error: sudo ...
0
votes
2answers
49 views

Ubuntu Apache Virtual Hosts directing to wrong directory?

I am running an Ubuntu 14.04 LTS server with Apache installed. I have 3 Virtual Hosts set up, with another Default Server to catch all other requests not taken care of. The Default Server has a ...
3
votes
2answers
3k views

Nginx Multiple Domains

I am trying to add a second virtual host to nginx. When i go to the new domain it redirects to the old one. I have tried restarting Nginx, rebooting the server. Has anyone come across this before, ...
3
votes
2answers
31 views

httpd - virtual hosts go to the same website

here is my /etc/httpd/conf.d/test.conf NameVirtualHost *:80 <VirtualHost *:80> ServerName test.dev ServerAlias test.dev.*.xip.io DocumentRoot /var/www/html/user/test/web ...
0
votes
4answers
103 views

Apache 2.4 Virtual host apache.conf 403 permission & 404 document root access errors

I know this questions has been raised before, but I swear I have read through the other posts. I am using virtual hosts on Apache/2.4.7 (Ubuntu) server to host multiple wordpress sites. I have one ...
1
vote
0answers
29 views

Enable header module on OS X server

I have been using OS X Server for some time now and find that any attempt I make to manually edit the apache config files is somehow thwarted. I am using server 4.1 on yosemite 10.10.3 (all up to ...
3
votes
6answers
3k views

Are there any tools for monitoring individual Apache virtual hosts in real-time?

I'm looking for a way to monitor and record Apache traffic, separated by virtual host. I am currently using Munin to capture this and other data for the entire server however I can't seem to find a ...
-1
votes
0answers
4 views

Trying To Run a VM On Ubuntu 14.04 LTS [migrated]

I cant seem to run a VM on Ubuntu 14.04 LTS, virtual box is reporting "Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITEABLE)." I have tried all the fixes I could see on the bug reporting page of ...
0
votes
0answers
28 views

How to setup one virtual host configuration for multiple subdomains

Is it possible to setup one virtual host configuration for multiple subdomains using some sort of pattern matching? What I want to achieve is something like the following: <VirtualHost ...
0
votes
0answers
37 views

50% of requests failing to one host

I've encountered a weird bug and ran out of ways to troubleshoot it. I've set up 3 virtual machines: LVS, RS1 and RS2. RS1 and RS2 are running a simple php website. RS2 is an exact copy of RS1 with ...
1
vote
2answers
326 views

Apache virtual host config not working for one hosts

I am new to configuring Apache. I have two applications that I need to run locally, they are running on different servers - one on jboss and the other on Jetty. Now both of them use the same Apache ...
0
votes
3answers
920 views

Setting up an SVN repository on a subdomain

I've found a few guides for setting up a subversion repository and making it available via a subdomain (using a virtual host in Apache), but for some reason can't get things working. Here's what I've ...
0
votes
1answer
33 views

VirtualHost's behind an nginx reverse proxy fail to resolve properly

I have a load balancer pair in front of 4 web servers which run nginx on port 80 and proxy to apache on port 8081 for non-static content like php code. I'm running several domains in this ...
0
votes
1answer
38 views

Kerberos SSO virtualhost different domain

I have a running centos6.6 server who authenticates against a windows 2008 AD with realm EXAMPLE.LOCAL. I have successfully configured an apache webserver for authentication through kerberos keytab ...
0
votes
2answers
265 views

how limit php script to access parent host directory

I've a debian linux server with apache2.2 & php5 installed. I've created many virtual hosts on my apache server, each virtual host has a separate root directory & php is enabled for all of ...
0
votes
0answers
37 views

apache 2.4.10 error 403 on aliases

I updated my apache server to 2.4.10 from version 2.2.x on debian7 and I have problem with multi virtual hosts. When I try to load page I have forbidden [403] error. If I enable only one alias the ...
4
votes
2answers
132 views

Can I use TLSv1.0 for one client IP, TLS v1.2 for everyone else

Something like this? # TLS v1.0+ for one IP <VirtualHost _default_:443> Order deny,allow // <------------- HERE Deny from all // <------------- HERE Allow from 10.20.30.40 ...