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

How to allow requests coming from a particular hostname using Apache

Defining a virtualhost with Apache, which directive is used to force the virtual host to respond ONLY requests comming from a hostname like www.myweb.com? NameVirtualHost *:9090 <VirtualHost ...
0
votes
0answers
363 views

Virtual Hosting on Centos 7

I'm trying to set up Virtual Hosting on my server which is running Cent OS 7. I have done the following but it is not working: created a file called called vhost.conf in /etc/httpd/conf.d Add the ...
0
votes
1answer
860 views

Perl execution failed error when adding a virtual host in Webmin

I'm getting the following error when I try to select the document root when creating a virtual host in Webmin. Error: Directory of / HTTP/1.0 500 Perl execution failed Server: MiniServ/1.700 Date: ...
0
votes
0answers
59 views

Apache 2 forward request IP address to virtual host

I am having an Apache server which is running on port 80 and a Tomcat server running on port 8080. I am forwarding the requests coming for a certain domain to Tomcat using a virtual host in Apache ...
-1
votes
1answer
25 views

Apache server setup virtualhost that points to folder

i am trying to setup a virtualhost so that the url: system.domain.dk Will point to another directory than domain.dk So far this is what i have: http.conf: <VirtualHost *:1500> ...
0
votes
2answers
56 views

Apache Virtual Host Domain issues

Setup Ubuntu 14.04 Server Apache 2.4 I have multiple domains under this server and all of them were working correctly at one point. I attempted to access 3 of the domains and all ran into issues. ...
0
votes
0answers
220 views

How to redirect a domain to a specific IP and port using nginx?

I have read several similar questions to this one in this forum, but not exactly the same, I tried every solution in very different ways but I am not able to manage this. I was given some data about ...
1
vote
1answer
79 views

Apache proxy for multiple servers: comparing two solutions

I need to setup Apache proxies for multiple servers, one proxy for one server. I can do this in two ways: Setup one virtual host and multiple proxies. Each server is served as a sub-directory of the ...
-1
votes
2answers
52 views

Apache Virtualhosts Permission Denied. Tried everything I can come up with

I am using apache virtualhosts for a couple sites I want to run off my ubuntu 14.04 server. My setup works if sites are under /var/www but if i try to run one under /home/myuser/www/sitename/ i get a ...
-2
votes
1answer
69 views

is possible to set up a PXE Server on VMWare Server [closed]

I would like to boot up my VMs through the network, and I have a couple of questions: - is it possible to install an OS on one particular VM and booting up some other VM with no OS installed in order ...
-2
votes
1answer
148 views

Apache Redirect to another folder, both within and outside document root [closed]

I've recently set up a home web/media server and having a few difficulties with a few of the settings. It's working fine for serving webpages etc but I've now reorganised the structure of the main ...
0
votes
1answer
142 views

main Apache Virtual Host not working, but subdomains do

I have a WordPress Multisite installation, with quite a few subdomain sites set up. These all work perfectly fine, however the main domain doesn't work. It doesn't even show a white screen, or any ...
0
votes
1answer
81 views

Multiple Apache virtualhosts on same server

I am trying to setup a virtualhost / redirection point so i can have two different systems on one site. so far this is what i have: NameVirtualHost 89.104.220.207:80 NameVirtualHost ...
0
votes
0answers
47 views

Replicate server environment and directory structure using Vagrant

I am a developer by trade but am not used to configuring VM's and servers, so I apologize if these questions seem rather novice. I have recently started trying to use Vagrant for local development of ...
0
votes
1answer
48 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
2k 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
196 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 ...
0
votes
1answer
69 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
90 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 ...
2
votes
1answer
571 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
vote
2answers
89 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
1answer
133 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 ...
0
votes
0answers
56 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
161 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
97 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
133 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 ?
2
votes
1answer
108 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 ...
0
votes
0answers
313 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 ...
3
votes
1answer
85 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
1answer
98 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
89 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
52 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
52 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 ...
0
votes
2answers
68 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 ...
-1
votes
1answer
55 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
289 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 ...
1
vote
1answer
62 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
1answer
27 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
198 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: # # ...
0
votes
2answers
1k 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 ...
0
votes
1answer
57 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 ...
1
vote
1answer
77 views

Bad performace of virtualized Fedora 20

I have a problem with bad performance of Fedora 20 OS running on host which is shared by multiple virtual machines. All actions like typing, opening menu, etc. have 3 seconds or longer delay. It looks ...
2
votes
1answer
100 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 ...
1
vote
1answer
87 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
1answer
84 views

Configuring subdirectory with apache2 and HTTPS

I have a domain my.domain.com that points to a Zend Framework 2 application at /path/to/project/public which has a .htaccess and index.php file which handles all requests. At ...
0
votes
2answers
198 views

Subdomains Always Redirect To Main Domain - Apache2 VirtualHosts & Debain

I want to set up a main site, and a sub-domain for development, using apache2 VirtualHosts. This is what my site.conf virtual host file looks like: <VirtualHost *:80> ServerName ...
0
votes
0answers
197 views

Configure Nginx with multiple lxc containers, virtual hosts and subdomains

I want to use multiple (at least 3) lxc containers running Apache2 on port 80. I want to configure Nginx such that www.mydomain.com serves the content on the host machine while sub1.mydomain.com , ...
-1
votes
2answers
64 views

Apache add subdomain

I need to add a subdomain to this server, i added this NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html ServerName images.login.acorn.lt </VirtualHost> ...
0
votes
1answer
170 views

Apache VirtualHost with SSL Not Found

I setup 3 virtual hosts on port 80. Everything is fine. Now I would setup the SSL version of these virtual hosts. All works except the main DocumentRoot. Listen 80 ServerName www.mydomain.com ...
0
votes
0answers
29 views

Extracting ServerAlias to another file

I have a virtual host file with a ServerAlias: ServerName mydomain.net ServerAlias myalias.net ServerAlias *.mydomain.net For some reason, we'd like to have the ServerAlias in a different file. I ...