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)

2
votes
0answers
64 views

TTFB different between 2 identical virtual hosts on same machine

After almost 3 years of finding every answer on either StackOverflow or ServerFault, I'm finally stuck on one. I recently migrated our server from dedicated to VPS, and the problem now is that we have ...
2
votes
0answers
2k views

NameVirtualHost *:80 has no VirtualHosts

When I start httpd it says: NameVirtualHost *:443 has no VirtualHosts NameVirtualHost *:80 has no VirtualHosts I have however configured a virtualhost as followed: httpd.conf: Listen 80 ...
2
votes
0answers
138 views

Include virtual host for all subdomains

I'm using the below to set a client env variable which my system requires. SetEnvIf HOST "^(\w+).domain.com" CLIENT_ID=$1 UseCanonicalName Off VirtualDocumentRoot /home/user/clients/%-3/ I'm ...
1
vote
0answers
20 views

Excessive disk usage with virtfs / cpanel

I'm running a server using cPanel, with virtfs enabled, and seeing very high disk usage compared to the amount of data actually uploaded/created by each user. I am getting DISKWARN emails telling my ...
1
vote
0answers
10 views

Automatically add/remove entry to/from /etc/hosts when enabling/disabling apache2 virtualhost

When I create virtualhosts, I almost always forget to add an entry to /etc/hosts until I've attempted to check the site in a web browser and moaned about the oversight. What I want to do is modify ...
1
vote
0answers
25 views

Make nginx config like apache2 virtualhosts

I have web server with apache2 with many subdomains on it like, domain.com, abc.domain.com, def.domain.com etc. etc. Now I got a new nginx server and want to set it up like apache2, so to test I ...
1
vote
0answers
61 views

Configure Bonjour for a custom vhost on Apache on OS X 10.9

How to broadcast all my vhost ? This has been answered for Snow Leopard, sadly the configurations files pointed in this thread are not there anymore in Maverick.
1
vote
0answers
329 views

Virtual hosts with port 80 & 443 not working

I can't figure out why I can't connect to my VPS. httpd.conf: i added: Listen 80 listen 443 NameVirtualHost *:80 NameVirtualHost *:443 <VirtualHost *:80> SSLEngine off ServerAdmin ...
1
vote
0answers
57 views

set document root for external calls

I'm using mod_userdir to set my document root to /home/user/server/public_html/ I also setup a virtual host that will redirect for the ServerName domain.com to ...
1
vote
0answers
84 views

Apache ProxyPass to custom port

The problem is following: I have an index.html file that is located under /www/site/ and I want to be able to serve all appropriate content from that folder under custom port lets say :8085. It is ...
1
vote
0answers
251 views

Varnish server in front of nginx server with multiple virtualhosts

I have tried to search for a solution for this, but can't find any documentation/tips on my specific setup. My setup: Backendserver: ngnix: 2 different websites (2 top domains) in virtualenv, ...
1
vote
0answers
144 views

reverse proxy on apache for a single virtual host

Preamble: I've configured a publicly accessible server with multiple virtual hosts. The requests for one virtual host need to be sent to a backend server. All the other requests need to be served ...
1
vote
0answers
50 views

Custom Log Paths in Apache Virtualhost Config

On my local Windows LAMP Dev server, I set up test sites with the domains like this... http://projectName.dev http://www.projectName.dev I then have a simple program that also adds the appropriate ...
1
vote
0answers
112 views

Mass virtual hosting and subdomain

I'm trying to setup zero-config web-development environment: wildcard DNS plus dynamic virtual hosts. Here is my v-hosts config: NameVirtualHost *:80 <VirtualHost *:80> ServerAlias *.dev ...
1
vote
0answers
88 views

Apache: block file access outside Document Root

I manage with easyphp numerous sites locally, for convenience and speed. I config with Apache an Alias for each site: Alias "/site.com" "C:/Work/site.com/Dev" <Directory "C:/Work/site.com/Dev" ...
1
vote
0answers
33 views

VirtualHost triggers strange error on Apache

I have set up an Apache Webserver and I own a domain. I also installed a database and PHP, so I also use PHPMyAdmin as database administration software. Now, I want to put PMA out of the webroot so it ...
1
vote
0answers
87 views

Named virtual host on Debian Squeeze only serves the default host

I am trying to setup my own virtual host on Debian Squeeze and I think I have done the setup as per the documentation and have gone through a number of questions and answers. Everything seems to ...
1
vote
0answers
166 views

nginx does not respect “root” directive

I'm running an EC2 instance with Ubuntu and trying to setup virtual servers for two domains without luck and cannot figure out why. My web documents are located in /var/www/<domain> and ...
1
vote
0answers
70 views

Apache VirtualHost options with ePages e-commerce solution

I have a Centos server running ePages (which runs on Apache). Now I want to use the same server to host a couple of other sites as well, but I can't seem to get my configs working correctly. I'm not ...
1
vote
0answers
205 views

Mixing Redmine and custom authentication method in a single apache virtualhost for Redmine

I developed on Redmine a plugin to automatically log users using the REMOTE_USER given by Apache when its Kerberos ticket is accepted. This plugin works as long as the user has a corporate login, but ...
1
vote
0answers
64 views

Is it possible to write a shared config for several VirtualHosts?

My intent here is avoid a lot of repetitive code. Essentially what I'm trying to do is use the same block of SSL config for several VirtualHost entries... <IfModule mod_ssl.c> <Directory ...
1
vote
0answers
146 views

proxy ajp single apache single glassfish multiple GF domains

I'm sorry if I am not well versed enough to be as specific as some would wish here. I have successfully got Apache mod_proxy_ajp working with Glassfish 3.1.2 on a VPS. However it is one Apache httpd ...
1
vote
0answers
218 views

Dynamic virtual host configuration in Apache

I want to make a virtual host in Apache with dynamic configuration for my websites. For example something like this would be perfect. <VirtualHost *:80> AssignUserId $domain webspaces ...
1
vote
0answers
128 views

apache2 server running ruby on rails application has go daddy cert that works in chrome/firefox and ie 9 but not ie 8

I have a rails application up on a linode ubuntu 11 server, running apache2. I have a cert purchased from godaddy, (where we also bought our domain) and the cert is installed on my server. Part of my ...
1
vote
0answers
76 views

Removed and then reinstalled php-common via yum. Now no virtual hosts?

Using yum I wanted to install the php-gdlibrary, however there was a dependency issue with php-common preventing me from installing php-gd. So after some digging I found this article on SO. I followed ...
1
vote
0answers
62 views

Apache serving first domain, despite NameVirtualHosts and ServerName being set

Apache's NameVirtualHost has been configured in httpd.conf as such: NameVirtualHost *:80 However, the sites are still defaulting to the first virtual host, despite the VH configs looking correct. ...
1
vote
0answers
228 views

SetEnvIf unset variable not working

I would like Apache (version 2.2.3) to log according to the following rules: Do not log internal calls to self (127.0.0.1). Log access to /provisioning/ to provisioning_log. Log access to other ...
1
vote
0answers
782 views

Virtual hosting in Varnish with individual vcl files for configuration

I wish to use varnish to put in front of an apache and a tomcat on the same server. Depending on the ip requested, it goes to a different backend. This works. Now for most of the sites the default ...
1
vote
0answers
115 views

How to monitor bandwidth on host which uses bridge-util and virtualization

I am running a debian squeeze box with bridge-util and LXC containers. I guess this is a 2 part request. I would like to know what my total bandwidth usage is I would like to see it broken down by ...
1
vote
0answers
194 views

Redirect incoming traffic for a domain to another local ip on same host

I have a server running Win 2008 R2, on that machine a run virtualbox where I run multiple ubuntu instances for webservers. I also have a router that redirects all traffic on port 80 to that machine. ...
1
vote
0answers
114 views

mixing apache2/another web server, virtual apps and static content

I am unable to configure apache2 frontend proxy to other servers and also serve apache2 content. My intent is to have apache2 serve some static content and some dynamic apps, both with domain names ...
1
vote
0answers
292 views

associate dhcp requests with subdomains in dnsmasq

I have dnsmasq running as a dns server with a number of linux boxes using static ips that run several virtual hosts on subdomains. I currently have the following address line in my dnsmasq.conf to ...
1
vote
0answers
438 views

Coldfusion deployment under Apache Tomcat with Virtual Hosts

I'm looking for the proper way to share the Coldfusion engine for all my Virtual Hosts. This is how I have the virtual hosts configured on server.xml in the Tomcat conf: <Host ...
0
votes
0answers
16 views

Avoid unexisting subdomains to show main domain

I have a site example.com, and I made a subdomain test.example.com, both work just fine. The problem is that if someone now surfs to an unexisting subdomain like puppy.example.com he still gets to see ...
0
votes
0answers
17 views

Apache HTTPD accept requests different destination IP and HTTP Host header

We've built and brought up a new version of a web application. The legacy web application still exists and is still used by legacy clients. Now we want to migrate these old legacy clients to use the ...
0
votes
0answers
11 views

Apache virtual host and Flask broken Json response

I have develop a micro web app (with Flask) to retrieve a json data from a remote web server (virtual host apache + mod_wsgi). If I try to get data from a single remote istances (only flask web server ...
0
votes
0answers
29 views

Many webapps, one vps

Might be a noob question, Google and SF searches didn't turn up anything super useful. Could be using the wrong words here. I've got a vps, with one port 80 app running on it. I'd like to add two ...
0
votes
0answers
34 views

How do I give each Virtual Host in Apache a domain name on a local network?

Background information. I have a server (running Debian Wheezy and Apache 2) at which I am to set up several Virtual Hosts to allow students to host their own website for development purpose. I am ...
0
votes
0answers
13 views

VirtualDocumentRoot and subdomains - correct configuration?

I have setup my vhosts file like so (only question related part): <VirtualHost *:80> DocumentRoot /var/www/example.com/web ServerAlias *.example.com VirtualDocumentRoot ...
0
votes
0answers
28 views

Can't Create Win 7 VM with RHEL 6.5 VMM

I have a server running RHEL 6.5 that I primarily run VMs on it. The VMs I run on it are all Linux, with the exception of one that runs Server 2008 R2. Yesterday, I attempted to install Windows 7 as ...
0
votes
0answers
39 views

filezilla ftp file server not working with microsoft azure

I have installed Filezilla FTP on (Windows 2012 R2 server). When I try to connect FTP through my local IP (ftp://localhost) it asks for login credentials. Once I enter credentials it connects ...
0
votes
0answers
14 views

Configure Apache proxy using an ip address with an argument

I have a server running apache that receives multiple address names and redirect by proxy to their respective server however i have one server that is responsible to answer for two different names: ...
0
votes
0answers
27 views

How do you configure Wildcard SSL on Apache a single IP?

I have recently purchased a Wildcard SSL Certificate for my domain, however I am having difficulty configuring it within Apache. My server has one dedicated IP address, so I have read that you need ...
0
votes
0answers
20 views

Creating subdomain for domain which is on a dedicated IP

I am not sure if this question belongs here. I have got a new server. It provides three IP addresses. There is a DNS manager where I can setup domain name at a particular IP. Done successfully, and ...
0
votes
0answers
31 views

Redirect between two Apache virtualhosts using the same hostname

I have a server based in Europe which runs Apache with several virtualhosts on the same IP address. Now I want to set up another server based in United States in order to host the same virtualhosts as ...
0
votes
0answers
16 views

Jetty: set up general host

How can i force Jetty to open all deployed webapps starting from specific virtual host like test.localhost:8080/myapp instead of localhost:8181/myapp? Here's snippet from jetty.xml: <Call ...
0
votes
0answers
46 views

Munin showing apache accesses per virtual host

I have different NameVirtualHosts defined in Apache2 running on debian wheezy. Munin is running and is showing me the apache accesses on "port 80". Every virtual host is writing its own log files and ...
0
votes
0answers
18 views

apache2 deny OPTIONS methos in virtualhost config

How to deny the requests with method OPTIONS and PROPFIND in apache virtual host config. Now I have: <VirtualHost **********:80> ServerName ******************* <Location ...
0
votes
0answers
32 views

Specific Virtual Host not responding

I have a bare-bone CentOS 5.6 server, running apache, and serving two websites, http://soccernmoore.com and http://evosoccerprograms.com, all of a sudden, im having trouble connecting to the ...
0
votes
0answers
129 views

Set up dynamic virtual host subdomains on WAMP

To streamline web dev, I want to be able to quickly switch between development branches of a project, using subdomains on my WAMP server. e.g. If my WAMP directory structure is like so: C:\wamp\www ...