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)

-1
votes
3answers
11 views

Apache: enter one of virtual hosts via url

By entering my public ip, browser will show page from this dir: /var/www/html. I have 2 virtual hosts in /var/www/host1 and /var/www/host2. By entering locally "host1.server1" or "host2.server1" in ...
0
votes
0answers
20 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
1answer
29 views

Forbidden (403), when accessing server-status on apache 2.2.22

I'm getting Forbidden error when trying to access www.website.com/server-status mod_status is enabled The VirtualHost: <VirtualHost *:8080> ServerName website.com ServerAlias ...
-1
votes
0answers
14 views

Reverse proxy for 2 domain with same context path

I have 2 different domains my.domain1.com and my.domain2.com and both have context name /app1 and this should be routed to two different backend boxes. Problem here is my.domain1.com is running on ...
0
votes
1answer
149 views

VirtualDocumentRoot issue

Good Day. I'm setting up a mac for local development and have configured dnsmasq.conf with the following: address=/.dev/127.0.0.1 My wish is to run sites locally by ...
0
votes
0answers
24 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
1answer
92 views

VirtualDocumentRoot Setup For Local Development

I'm trying to learn about setting up httpd.conf and httpd-vhosts.conf files. I would like to have a local setup, using Wampserver on Windows 7, so that I can add a new project just by adding a new ...
-2
votes
0answers
26 views

Setting up django 1.7 with apache and mod_wsgi on cpanel (centos) [on hold]

I’m trying to deploy the Django to the production server. But before we go any further, I simply want to mention I'm newbie in this topic and please don't judge me too strongly =) I’m trying to ...
-3
votes
0answers
42 views

Which is the best OS level container management system [closed]

I've been researching a bit for the best, securest, easiest to maintain, and easiest to firewall (using software firewalls like iptables) container solutions for a while and I would like to hear some ...
0
votes
2answers
62 views

Issue with multiple virtual hosts on dedicated server. 2nd VH won't respond, 1st one does

I've got two virtual hosts setup and enabled using a2ensite. It's Ubuntu Server 14.04.1 LTS, Apache2, etc. So there's two config files in /etc/apache2/sites-available and their respective symlinks ...
0
votes
2answers
120 views

Apache virtual host not working on Ubuntu 14.04 LTS

I've been using this tutorial to set up an Apache virtual host on my Ubuntu pc. I've created a no-ip domain which I will be using as the hostname of my virtual host. I've followed every step of the ...
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 ...
3
votes
2answers
2k views

Using VirtualDocumentRoot *only* if a suitable document root exists

I'd like to set up an environment where Apache virtual hosts can be dynamically created without reloading the configuration. I can do this with mod_vhost_alias, I set up my default virtual host ...
4
votes
1answer
2k 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
2answers
30 views

virtualhost document root access previous folder

How to access previous folder via index.html that not included in virtualhost document root. For example: <VirtualHost *:443> DocumentRoot /var/www/banking/personal-banking ...
1
vote
1answer
22 views

Accessing site after IP redirect

we are using Apache2 to host multiple sites on one system in our local network. One such site is the following: <VirtualHost *:80> ServerName wiki.idi.local DocumentRoot ...
0
votes
0answers
9 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
1answer
810 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
0answers
6 views

nginx proxy_pass and virtual hosts within LAN returns 404 [migrated]

I hope this makes sense. Basically, I have set up a local server on my MAC using nginx, with these rules for the proxy_pass: location /engine/rest { proxy_pass ...
0
votes
1answer
814 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
891 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 ...
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: ...
1
vote
4answers
3k views

Password protect and serve Apache site by port number?

I'm trying to set-up a password protected development version of a clients web site (Plone CMS driven). The live site serves on port 7373, and is mapped to the public www port 80. The 'dev' site ...
0
votes
1answer
69 views

DNS or Virtual host issue to open abc.com and www.abc.com

I'm facing issue with Linux VPS. Whenever I'm clicking xyz.com, it is working fine. Whenever I'm trying to click www.xyz.com, it is opening firstly configured website on virtual host. I configured ...
1
vote
1answer
859 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
vote
1answer
63 views

Apache/DNS - Pointing Domain Name to Folder in my Directory

I have a folder with an app that I'm serving. In my httpd.conf, I set up a virtualhost to point to that folder. During development I set it up to point to a subdomain on a domain that I own ...
-1
votes
0answers
22 views

Installing an SSL certificate for one domain causes default domain to use it

I've installed a new SSL certificate on our server for a new domain. We have a wildcard SSL certificate installed for the default-ssl vhost, but when I enable the vhost for the new certificate and ...
-1
votes
1answer
69 views

Apache & mod_proxy - What's wrong?

I am limited to one external IP on my server thus to run a mail server alongside with other Apache instance for web hosting, I believe I am forced to use mod_proxy. I tried using mod_proxy in the ...
0
votes
3answers
902 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, ...
0
votes
1answer
49 views

nginx suddenly trying to bind on the wrong port

I'm running on a server that has Apache on port 80. I also have nginx installed, and just one conf file in /etc/nginx/sites-enabled which has listen 8888; specified. This works perfectly fine. Now, I ...
0
votes
1answer
44 views

Apache: Connection times out on all subdomains

Recently I've been setting up Apache for a friend (I have't used Apache in ages, I've switched to nginx). Anyway, I was able to set up the server itself, and can connect via "example.com". However, ...
0
votes
0answers
26 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 ...
2
votes
1answer
88 views

Virtual host, allowoverride and webmin not working

I was changing my virtual hosts in apache2 and now it's not working. I can get working my web and my blog but AllowOverride directive setting in All produce 403 Forbidden, and my access to webmin via ...
0
votes
0answers
17 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
150 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
30 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
65 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
52 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
14 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 ...
9
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
44 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
94 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
36 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
30 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
17 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
456 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
46 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
38 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
4k 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 ...