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
1answer
23 views

Virtual guest: NTP sync with host

Is there any way to get a virtual guest to only query it's current host for NTP? I'm not talking about configuring ntp.conf with the host's IP here either as VLAN's & firewalls may block that ...
0
votes
1answer
14 views

Setting up ProxyPass for a Virtualmin virtual server

I am trying to set up my web server so that I can server multiple Ghost.org blogs. I am stuck in one crucial step. To be honest, my knowledge in servers is not so big, so I request your help to do ...
0
votes
1answer
35 views

Apache vhosts not working on Ubuntu 14.04 LTS

I'm trying to set up vhosts on ubuntu 14.04 LTS using apache, but it's seemingly not working. Output of apachectl -S AH00558: apache2: Could not reliably determine the server's fully qualified ...
0
votes
1answer
28 views

Apache mod_proxy

Uggh, I'm spewing that I can't figure this out, I'm so frustrated: <VirtualHost *:80> servername domain1.com.au ServerAdmin webmaster@localhost DocumentRoot ...
0
votes
1answer
14 views

Moving Zend Framework 2 from apache to nginx

I would like to move site that uses Zend Framework 2 from Apache to Nginx. The problem is that site have 6 modules, and apache handles it by aliases defined in httpd-vhosts.conf, #httpd-vhosts.conf ...
2
votes
1answer
33 views

Apache mod_proxy: Multiple virtual hosts disable each other

I have an Ubuntu 12.04 server, which had Redmine already installed on a stand-alone apache (everything under /opt/redmine). I wanted to install an instance of Jenkins on the same system, without ...
-1
votes
0answers
26 views

Apache not directing to correct VHost

I have setup the following virtual host ServerAdmin user@mysite.com ServerName mysite.com ServerAlias www.mysite.com DocumentRoot /var/www/homepage/public_html ErrorLog ...
0
votes
2answers
35 views

Virtual host local subdomain

I'm having a bit of trouble getting a subdomain activated on my local dev server. The server's name is janemba and I access it by going to http://janemba. I'd like to be able to have domain.janemba, ...
0
votes
2answers
2k views

Apache Virtual Host with directory aliases

I'm trying to set up a dynamic virtual host in apache with a directory alias pointing to a difirent path for every domain. Here's what I'm trying to achive. Say I have 2 domains: * www.domain1.com ...
0
votes
1answer
17 views

Setting up my vhosts file correctly in WAMPServer

I am trying to setup an mobile app that I have received from another dev locally on my machine, this is a cordova based mobile app that is basically html5/javascript etc.. I have added the following ...
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 ...
4
votes
1answer
1k views

using wildcards in host-aliases for Tomcat's virtual hosts

I want to do the following with Tomcat 5.5: *.mydomain.com should go to my webapp, located at the virtual host mydomain.com. So I have a virtual host mydomain.com, and I want all *.mydomain.com also ...
2
votes
1answer
32 views

Subdomain redirecting to HTTPS despite lack of rewrite rule

I have a domain at staging.example.com which I want to run without HTTPS for testing purposes. The main domain (example.com) does use SSL. I am trying to find a rewrite rule that will forward to ...
0
votes
1answer
682 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: ...
0
votes
1answer
711 views

Apache2 VirtualHosts 403 Oddity

I'm sure this is something I should already understand, but I'm finding myself confused. The configs in play add up to this: NameVirtualHost *:80 Listen 80 <VirtualHost *:80> ...
0
votes
0answers
25 views

ec2 instance access via browser on subdirectory not working

I try to access a subdirectory via public dns vom amazon. I configured a virtual host: DocumentRoot "/var/www/html" NameVirtualHost *:80 <VirtualHost *:80> ServerName www.example1.de ...
0
votes
1answer
41 views

hosting two public facing website on single ec2 instance

I am trying to host 2 website xxx.com and yyy.com on a single amazon ec2 instance. So far this is what I have done. Created ec2 instance with Ubuntu and set up apache, mysql & Php On Ec2 I ...
0
votes
0answers
23 views

When trying to ProxyPass with SSL on Virtual Host (Apache2) I receive AH01630: client denied by server configuration: /var/www/

To give a little background; I am on EC2. I am running Apache2 version 2.4.7. I have also opened port 443 on my security group to allow SSL traffic. What I am trying to do in the long run is have a ...
0
votes
1answer
33 views

is “ServerAdmin email@domain.tld” required in the VirtualHost in Apache?

I rather not have ServerAdmin in my VirtualHost because all it does is attract spam. has no use what so ever. can it be ignored ?
1
vote
2answers
2k views

Allow access to PhpMyadmin only on a specified virtualhost

I'm working on a multiple virtualhost Environment. I've installed PhpMyadmin for Mysql Remote Control. Environment is configurate as below: one.domain.com two.domain.com onlyphpmyadmin.domain.com ...
2
votes
1answer
75 views

Apache: Difference between <Proxy> and ProxyPass

What is the difference between a ProxyPass directive: ProxyPass / http://localhost:8080/ nocanon ProxyPassReverse / http://localhost:8080/ And a <Proxy> directive: <Proxy ...
3
votes
1answer
41 views

a2ensite through shell script

I created a small script to add websites on my server and it looks like this: #!/bin/bash echo "<VirtualHost *:80> ServerAdmin admin@example.com ServerName $1 ServerAlias www.$1 ...
0
votes
0answers
28 views

VirtualHost config in Cpanel - how to ONLY use my custom include file

I'm on Cpanel/WHM. Everytime the system updates or there's an EasyApache thing run, a new VirtualHost entry is created for me in the freshly revised httpd.conf file. Fortunately I have my ...
0
votes
1answer
24 views

Configure sub-domains at different ports with lighttpd

I've one domain example.com and two sub domains of it docs.example.com & bugs.example.com. And I've two applications running at ports 8080 & 8090. How to configure Lighttpd so that, it can ...
1
vote
1answer
33 views

Under what scenarios would Apache allow a mismatched HTTP_HOST to pass through?

Someone has managed to pass an undefined HTTP_HOST server variable to my application script, triggering a series of errors. I am quite perturbed but am unable to replicate this behaviour. My httpd ...
0
votes
1answer
747 views

Error 403 Access forbidden! for Apache Virtual Host on Windows Server 2008

I have installed xampp I could access it successfully on port 85. Then I created a virtual host and pointed to a custom dir (not under xampp) <VirtualHost *:85> ServerAdmin ...
0
votes
1answer
27 views

Apache2 virtual hosts order (00- before 000-)

I need to load three virtual hosts in an exact order to make my configuration scheme work as expected. default (Apache default virtualhost) phpmyadmin (a virtualhost that serves phpMyAdmin to all ...
0
votes
1answer
551 views

Symfony2 Vhost Configuration

I'm new to Symfony2 and following the EnsJobeet tutorial. My VirtualHost config is as follows: <VirtualHost *:80> ServerName jobeet.local DocumentRoot /var/www/ensjobeet/web/ ...
1
vote
1answer
2k views

How do I make virtual host DirectoryIndex file appear in the url?

I have setup a virtual host which specifies a default file to load when the URL is called. The problem I have is that I need that default DirectoryIndex file to appear in the URL. So when I go to: ...
0
votes
1answer
18 views

Fix Apache Virtualhost with Proxy Location

Given the following virtualhost: <VirtualHost *:80> DocumentRoot "/var/www/dashboards/public/dist" Servername local.dashboards ServerAlias local.dashboards Header add ...
1
vote
7answers
4k views

Apache shows it works, what's wrong with my virtual host definition?

I have this apahe config file when I browse, I see "It Works" and I expect to see a list of files since it has the +Indexes option What am I doing wrong? <VirtualHost projects.com:80> ...
0
votes
2answers
21 views

unable to connect from other hosts to vm client

I'm building a vm client from a host using the virtual network 'default': NAT setting in virt-manager kvm which makes a bridge (virbr0) using my host's nic. The vm client receives the default ip of ...
0
votes
3answers
845 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 ...
1
vote
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
5answers
280 views

Apache 1 virtual host definition listening on 2 ips - how?

We have a couple of complex virtual host definitions in our httpd.conf file. What I mean by that is: <VirtualHost .....> .... </VirtualHost> What I mean by complex is that they are ...
-1
votes
1answer
30 views

apache2 virtual site not reachable

i am setting up the bloodhound webapp, and everything worked fine and i wanted to integrate it into the apache2 webserver using the a official guide, but apache is not listening to my specified port ...
0
votes
0answers
30 views

nginx HTTPS virtual hosts valid across all hosts

I have a nginx server that is listening on both port 80 and port 443. Currently, all port 80 traffic (i.e. http://0.0.0.0 and http://my.example.domain) is redirected to https://my.example.domain (as ...
1
vote
1answer
26 views

Correct setup of virtual hosts on Apache?

I have a problem figuring out the correct configuration for Apache2 virtual hosts on Centos6 server. I have a clean Centos6 installation with apache2 (httpd) installed, and by default there is ...
0
votes
0answers
25 views

Apache mod_proxy with HTTPS without key material (using SNI)

I would like to have an Apache 2.4 proxy which redirects port 80 and 443 requests to different machines in the local network, depending on the host name. I used mod_proxy and it works fine with port ...
0
votes
1answer
21 views

setting up duplicate http and https locations in apache 2.2 [closed]

I have VirtualHost *:80 tag with many Locations with authentication defined in it. Now I just added https. do I need to replicate all of these Locations under VirualHost *:443? is there any easy way ...
0
votes
1answer
815 views

Can't configure PHP error log

I'm running apache2 with php5 on Linux Mint 13 Maya. I have defined a virtual host and these two entries there: ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined ...
0
votes
1answer
41 views

VirtualHost Server Not Found

After modifying the httpd.conf to include my virtual host configuration: Include /private/etc/apache2/extra/httpd-vhosts.conf, I added the following to my virtual host configuration file: # # ...
1
vote
1answer
532 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 ...
-1
votes
0answers
26 views

Apache mass dynamic hosting mod_rewrite

I have set up this: mass virtual hosting I am able to access the index.html in each domain. However, some sites use mod_rewrite to handle their own routing for requests like site.com/route. When ...
2
votes
1answer
3k views

The Alias directive … will probably never match because it overlaps an earlier Alias

I'm getting this warning from Apache: The Alias directive in /etc/httpd/conf.d/foo.conf at line 10 will probably never match because it overlaps an earlier Alias. However the Alias overlaps on a ...
0
votes
2answers
173 views

upgrading to Apache 2.4: VirtualHost Invalid command 'AssignUserID'

I have many Apache 2.2 Virtual Hosts with same configuration: <VirtualHost *:80> ServerAdmin webmaster@site.com ServerName site.com ServerAlias www.site.com DocumentRoot ...
1
vote
1answer
29 views

Unable to access multiple virtual hosts under tomcat

I work under tomcat, and would like to have several apps to launch under the same tomcat In local, I called to hosts : localhost localhost_test Unfortuentaly, I only can access localhost. If I try ...
0
votes
2answers
273 views

Apache2: not defined domains directing to the same virtual host

I have Apache2 configured in a debian box with virtual hosts. I have several domains pointing to the box's IP address. The domains whose virtual hosts are configured works perfectly. But if I type in ...
0
votes
0answers
9 views

Apache - Secured Virtual Host and Default Web Site [duplicate]

On a RHEL 6 system running multiple web sites, I have configured a secured site (the only seured site on that server) accessible using https://abc.xyz.com/ which works fine. A separate virtual host ...
0
votes
1answer
21 views

How to change the default timeout configuration file for composer

I've been searching all over the internet and I can't seem to find any help as to where my composer's configuration file is saved to. Basically what I'm trying to do is change the ...