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
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
1answer
167 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
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 ...
-1
votes
2answers
71 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 ...
0
votes
1answer
64 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 ...
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 ...
10
votes
6answers
5k 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 ...
1
vote
1answer
48 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
109 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
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
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
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 ...
2
votes
1answer
580 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 ...
0
votes
1answer
47 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 ...
-1
votes
1answer
50 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
5k 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 ...
0
votes
1answer
103 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
131 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
34 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
35 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 ...
0
votes
1answer
26 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
37 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
370 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
720 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
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
816 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
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. ...
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 ...
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
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
0answers
227 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
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
153 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 ...
6
votes
1answer
10k views

Declaring multiple ports for the same VirtualHosts

Declare multiple ports for the same VirtualHosts: SSLStrictSNIVHostCheck off # Apache setup which will listen for and accept SSL connections on port 443. Listen 443 # Listen for virtual host requests ...
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 ...
2
votes
3answers
120 views

Apache configuration to access directory

I'm on Ubuntu 9.10. My web application is in a directory on my /home/me/app . I want to configure Apache in such a way that I can access my app through a directory. For example: People can access my ...
0
votes
1answer
49 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
93 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
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
72 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
200 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 ...
1
vote
2answers
90 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
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 ...
2
votes
1answer
101 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
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 ...