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)

-3
votes
0answers
32 views

What is the most appropriate control panel for virtual hosting behind Nginx? [on hold]

I have several domains on Digital Ocean hosting which runs behind Nginx server. I am using it mainly for python aps, but I would like to setup them with PHP as well. Python apps run behind Gevent ...
0
votes
1answer
82 views

Is it possible to set an SSLProtocol in Apache for a single VirtualHost (poodle)?

I'm trying to test a patch for the poodle vulnerability that involves disabling SSLv3 on my web server. In order to test this on a non-production environment first, I'm setting the SSLProtocol on a ...
0
votes
0answers
21 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 ...
-1
votes
0answers
25 views

Infinite and error loading on my apache server [on hold]

i'm new in setting up apache server ( with its php/mysql stuff ), so i followed this for a virtual hosts. Everything works fine while i use my hosts file to emulate a remote request. However a real ...
-1
votes
2answers
46 views

SSL version of site served by Main Server instead of virtual host (Apache 2.2.15) [duplicate]

I have multiple virtual hosts on port 80 and 443. They all work. The problem comes when addressing the web server by a name not mentioned as a vhost. The documentation says: If the lookup fails ...
-1
votes
0answers
17 views

Apache VirtualHosts

After setting up my apache to deliver 2 different websites based on the name (same server, same ip), i changed my nameservers. Now, the 2nd website doesn't respond with an error 404 .If i do nslookup ...
0
votes
1answer
43 views

configuring nginx server blocks

On CentOS, I have been using the default webRoot (/usr/share/nginx/html) until now to run my simple scripts and small applications. The other day, I had to configure nginx server blocks to run ...
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 ...
0
votes
0answers
11 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 ...
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 ...
0
votes
1answer
751 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: ...
9
votes
6answers
4k views

Redirect to SSL only if browser supports SNI

I have Apache 2.2 with mod_ssl and a bunch of sites in HTTPS on the same IP/port with VirtualHosting, so client must support SNI to connect to those virtual hosts. I would like to configure my server ...
0
votes
0answers
24 views

Configuring /etc/hosts to run an application [migrated]

I am using nginx, until now I was running my php applications on /usr/share/nginx/html which is the default document root when nginx is installed on centOS and like systems. Now I had to create ...
1
vote
1answer
30 views

Apache Server: IP Address Routes to Domain Instead of DocumentRoot

I have only one website in my server. My desire is to open different directory when the IP address is used as the URL in web browser. However, even though I set the DocumentRoot to a different ...
1
vote
1answer
60 views

Setup client certificate verification in an Apache webserver via SSLVerifyCilent on a Centos 6.5+ server

Goal: My goal is to setup an Apache web server on a Centos box, with SSL and client certificate validation similar to the following Apache virtual host ...
0
votes
0answers
19 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
24 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
10 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 ...
2
votes
1answer
245 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
1answer
3k 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
38 views

NGINX Configuration issue

I have a issue with my nginx configuration. The problem is that it always use the proxy conf it never use the beta.node365-p.se conf. I want that if the requested domain is beta.node365-p.se the ...
0
votes
1answer
862 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
3answers
888 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 ...
-2
votes
0answers
76 views

Only first Virtualhost gets served [closed]

this is my first attmept at setting up the LAMP stack. I've installed only apache so far, and I don't want to install the rest until I've solved this problem. I'm using a headless archARM on a ...
-1
votes
1answer
16 views

VirtualHost keeps redirecting to default main page

I was wondering if im doing something wrong or what ? I'm trying to create a virtualhost for my web page. I've got default apache conf in /etc/apache2/sites-available : <VirtualHost *:80> ...
1
vote
2answers
3k views

Apache SSL configuration - Invalid method in request \x16\x03\x01

I'm trying to set up https service on my VirtualBox guest instance running Debian Squeeze and Apache 2. When trying to load my virtual host's test page in a browser from my Win7 host machine, I'm ...
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, ...
0
votes
1answer
57 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 ...
0
votes
0answers
45 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 ...
0
votes
1answer
30 views

How can I configure a dynamic virtual host on Apache?

I have multiple development branches of my app, which I would like to be able to deploy on my testing server and switch between easily. I was wondering about configuring some sort of dynamic virtual ...
0
votes
0answers
31 views

2 virtual hosts, 1 server, 1 with dns and 1 without

I have one Apache server from which I would like to host 2 sites, one has currently got DNS records propagated and the other currently does not. in sites-enabled, I have the following ...
-1
votes
0answers
22 views

mod_rewrite in VirtualHost file not working on Apache server [duplicate]

I am trying to figure out why HTTP->HTTPS redirection is not working any longer for my domain. Here is the VirtualHost file for the site which contains some mod_rewrite code, but I am not sure how to ...
0
votes
1answer
21 views

New domains and aliases in Virtual Hosts not working

We have a new Ubuntu VPS and have a couple of sites hosted fine on it. We've added a new one, yet the www of the domain isn't working. We've swapped them around (so it's the server name and not the ...
0
votes
1answer
27 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
104 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 ...
16
votes
7answers
7k views

Resolving to virtual host very slow on Mac OS X Lion

Since upgrading to Mac OS X Lion (from Snow Leopard), I have noticed that resolving to a virtual host is very slow (between about 3 seconds). I have found a number of tips (e.g., not using the .local ...
0
votes
1answer
702 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
1answer
718 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
55 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
20 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
682 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/ ...
0
votes
2answers
40 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. ...
1
vote
1answer
69 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 ...
0
votes
0answers
35 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
105 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
0answers
69 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
votes
2answers
42 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
47 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
60 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
2k views

Setting multiple Apache VirtualHosts to same DocumentRoot without url changing?

I'm trying to get domain.fi and domain.com to point to the same DocumentRoot, without the domain changing in the browser url. Is that possible with Apache? I've got the both domains pointing to the ...