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)

0
votes
0answers
6 views

firewall on server preventing access by multiple computers on same NAT'ed ip

I am encountering a strange problem with my VPS provider and wondered if anyone here with firewall / sysadmin experience had seen anything like this. Has anyone seen a situation where a firewall or ...
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 ...
0
votes
0answers
19 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 ...
-2
votes
0answers
8 views

Broken PHP or Apache handler [closed]

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 ...
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 ...
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 ...
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
32 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 / ...
0
votes
1answer
18 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 ...
0
votes
1answer
30 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, ...
-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
0answers
23 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 ...
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
22 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
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 ...
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 ...
2
votes
1answer
19 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 ...
1
vote
0answers
30 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 ...
-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
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 ...
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
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 ...
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 ...
0
votes
1answer
35 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
39 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
0answers
39 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 ...
0
votes
1answer
25 views

Apache2 DocumentRoot does not exist

I was using Apache2 with /var/www/site and all was working well. We started using proFTPD and we releasised we need to move the sites insie the home directory. Note: Home directory was not there was ...
0
votes
1answer
72 views

How to disable catch-all on a ssl virtual host

My virtual host looks like following: <VirtualHost example.com:443> SSLEngine on SSLCertificateFile /etc/apache2/ssl-keys/example/example.crt SSLCertificateKeyFile ...
1
vote
1answer
41 views

Unable to get Virtualhost config working with Apache 2.4.6

I had a HTTPS site running successfully under Apache 2.4.6 on CentOS7. I was then asked to host another site on the server, which at the moment is just HTTP but will eventually also move to HTTPS. I ...
-2
votes
1answer
21 views

CentOS6 Apache - Virtual hosts

I was trying to set up a virtual host in apache on my CentOS6 server that handles queries of a subdomain. Let's say, I have the domain 'example.com'. Now, I want to create the sub domain ...
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 ...
0
votes
0answers
86 views

Nginx + Apache + PHP-FPM, VirtualDocumentRoot not working

I'm having a webserver with Nginx (1.7.10) is front of Apache (2.4.12), everything is fine until I used VirtualDocumentRoot for mass virtual hosting. I got this error in the log: [Fri May 15 ...
1
vote
1answer
24 views

Cannot access virtual directories on Drupal 7

I have installed Drupal 7.37 on AWS EC2 Linux instance. It was working perfectly until I reinstalled httpd24 and PHP 5.5. Since then, the main page loads perfectly but I cannot access my virtual ...
1
vote
2answers
134 views

Apache subdomain configuration not working

I have a Debian 6 server that was configured by somebody else. I was asked to add a subdomain on that server. I configured the DNS correctly (checked with nslookup), created the directory in ...
-1
votes
1answer
25 views

Apache 2/httpd vhost dynamic documentroot

I have an app in folder /var/www/test Also there is an "sub-app" in folder /var/www/test/subapp There is another index.php inside /var/www/test/subapp and If user will type test.com the index.php ...
0
votes
1answer
44 views

Apache 2.4 virtual host on different port than 80

When reading the articles it all seems easy, but I am unable to get this to work. I run apache 2.4.7 Several virtual hosts are running just fine. I need one virtual host to run at port 8080 only. So I ...
0
votes
1answer
63 views

How to correctly setup an Apache VirtualHost as HTTP and HTTPS?

I am trying to setup a locally (for development/testing purposes) SSL site using Apache and mod_ssl and this is what I have in my VirtualHost files: /etc/httpd/conf.d/local.conf <VirtualHost ...
0
votes
0answers
18 views

https passthrough in Apache

Every HTTP or HTTPs connection i have is received by an apache (lets name it as "SERVER A") that acts as router that redirects to other internal computers that holds other apache service. Recently ...
1
vote
2answers
95 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
0answers
34 views

Is it good or bad to have dynamic virtual hosts configuration in Nginx?

I have a dozen sub-domains hosted in a single server using Nginx. Currently I am using a single configuration like this: server { listen 80; server_name *.example.com; root ...
0
votes
1answer
47 views

Creating a Virtual Host on a local development machine

I'm having issues with creating a Virtual Host on my Ubuntu Apache2 setup for local development. I'm better familiar with httpd.conf running CentOS 6.5 and don't seem to be able to figure out how to ...
0
votes
1answer
34 views

Why does Apache need o+x permissions for a Virtual Host running under suEXEC?

Running Apache 2.4.10 on Arch Linux. I'm trying to restrict an SFTP user to only be able to access his home directory, a public folder under a vhost directory, without being able to access that vhost ...
0
votes
0answers
55 views

Redirecting ServerAlias root to some sub-directory with Apache

I have the following Apache VirtualHost configuration: <VirtualHost 192.0.2.1:80 [2001:DB8:4007:80d::200e]:80> ServerName app.example.com ServerAlias foo.example.com ServerAlias ...
-1
votes
1answer
134 views

Multiple websites running in docker containers, how to implement?

I am running two docker containers, using the following docker-composer script: db: image: cofoundry/mysql environment: - MYSQL_USER=wordpress - MYSQL_PASS=wordpress - ...
0
votes
1answer
36 views

Redirect with apache subdomain from oher hosting (?)

My requirement: access subdomain.example.com where example.com is a shared hosting, and subdomain is an app (schooltool) running on port 7080. I tried to configure virtualhost, but I can not set the ...
1
vote
1answer
479 views

Can't access local apache virtualhost using Chrome [closed]

I have a few virtualhosts on my localhost apache, here's the config of one (the others just change the letters before .localhost) <VirtualHost *:80> ServerAdmin admin@dev.localhost ...
-1
votes
1answer
21 views

Append RewriteRule to existing virtual host

My server configuration example.com.conf uses a virtual host for example.com. It contains a few rewrite rules. Now I'd like to add another rewrite rule on the same example.com domain, without editing ...
0
votes
1answer
86 views

How can I use a virtual host to redirect https subfolders to different ports in apache?

I have a web service running on port 8112 and I can redirect a subdomain eg http://myapp.mydomain.com to 127.0.0.1:8112 using a virtual host by setting the ServerAlias, proxypass and proxypassreverse ...