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
16 views

How do i make my web browser choose local virtual host over a site on internet [on hold]

I have different virtual hosts on my local machine i added them into /etc/hosts by ip 127.0.0.1 They were working fine but today when i try to access one browser was keeping connecting to internet ...
-1
votes
1answer
16 views

Apache2 new VirtualHost entry can not find server - DNS issue?

I'm using Apache2 on Ubuntu 12.04.5 LTS server. Server is my company (work) server and has a public IP, moreover, it hosts about 5 different pages which are available worldwide, I mean, on the ...
0
votes
1answer
23 views

Nginx conflicting server name for subdomain

I currently have a vhost running on Nginx for foo.domain.com and everything works great. I created a new file for a new sub-domain I want to add called bar.domain.com. I use the same settings for ...
0
votes
0answers
16 views

How to setup NGINX Reverse Proxy for Mulitple Domain with diffirent Hosting

Recently, I've started working on my NGINX reverse proxy project. There following websites which is hosted on different website Hosting with different IP / DNS. Example.com foo.net Takesrs.com ...
1
vote
1answer
10 views

Dreamhost Cloud Computing: Ubuntu 14.04 LTS / Apache 2 listen multiple port

I'm configuring an Ubuntu 14.04 LTS within your DreamCompute service. I have installed apache2 and currently running successfully a website in port 80. What I'm struggling now is to configure ...
0
votes
1answer
12 views

Virtual host with ProxyPassReverse and preserve sub link

I'm hosting a web site using Apache and i'd like to create a virtual host like freepbx like mydomain.com/freepbx. freepbx runs on port 7000, and when I create the virtual host it automatically ...
0
votes
1answer
25 views

Installing Domain SSL is not working

I have a Linode Server running Debian 7.5 & Apache2 I have the following files stored in the /etc/ssl/localcerts/ directory: www.test-site.com.key www.test-site.com.csr www.test-site.com.crt ...
0
votes
1answer
26 views

Single IP multiple domains SSL issue

I've just noticed a small problem with a self signed SSL I am using for a webmail subdomain on one of my domains. I was using https://webmail.website0.com just to secure it a bit but I've noticed ...
0
votes
0answers
39 views

Changing port for phpmyadmin

I've got on my VPS tomcat running on the port 80. Nevertheless I want to have there phpmyadmin (running on some other port) as well... I tried to edit /etc/apache2/ports.conf and ...
0
votes
0answers
25 views

Apache Virtual Host Not Working

I'm currently in the process of migrating several domains from Media Temple VPS to Linode VPS and all of the transfers have gone great until one of the last domains to move. I've gone through the ...
0
votes
0answers
14 views

Apache dynamic virtual hosts and load includes dynamically

I have setup dynamic virtual hosts, on Apache using this with Ubuntu. http://www.sitepoint.com/set-automatic-virtual-hosts-nginx-apache/ However I can't seem to load environment variables in a conf ...
0
votes
0answers
46 views

Apache 2.2 on Windows - Have a http version of a https site

I am wanting to use an Arduino to connect to my website jrprnet.com for a project me and a friend are working on. The only problem is that all requests to my website on http are automatically ...
6
votes
8answers
508 views
+500

Multi-site hosting - important vulnerability being missed to secure sites from each other?

EDIT #2 July 23, 2015: Looking for a new answer that identifies an important security item missed in the below setup or can give reason to believe everything's covered. This is multi-site / shared ...
0
votes
1answer
21 views

One virtual host on Apache is not visible on WAN, only on LAN

I can't set virtual hosts on Apache 2.4.12 32 bit on a Windows 7. I was able to do this in previous versions, but now even following the official instructions I can't set up virtual hosts properly. ...
-1
votes
0answers
17 views

Reverse Zone with Multiple Virtual Hosts (same machine)

I have two Virtual Hosts on same machine, using Apache 2: <VirtualHost *:80>ServerName house.com</VirtualHost> <VirtualHost *:80>ServerName car.com</VirtualHost> Also, I ...
1
vote
1answer
23 views

Apache ever match a virtual host with a different ServerName

i have an issue. I have a VirtualHost for domain1.com on IP 1.2.3.4, but Apache reply to the request to the IP 1.2.3.4 ignoring the ServerName. So, if i point domain2.com to 1.2.3.4 i see the content ...
2
votes
1answer
20 views

Apache VirtualHost wildcards with IPv6

Using Apache 2.4 on Ubuntu, I have the following in ports.conf: Listen XX.73.44.57:80 Listen [2001:XX:0:2c38::39]:80 <IfModule ssl_module> Listen XX.73.44.57:443 Listen ...
1
vote
0answers
27 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
31 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
23 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
0answers
9 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
40 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
37 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
33 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
18 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
43 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
35 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
40 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
40 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
25 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
2answers
28 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
10 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
36 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
29 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
42 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 ...
0
votes
2answers
61 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
32 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
167 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
52 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
48 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
60 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
26 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
75 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
50 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
23 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
150 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
99 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
3answers
169 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 ...