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

Avoid unexisting subdomains to show main domain

I have a site example.com, and I made a subdomain test.example.com, both work just fine. The problem is that if someone now surfs to an unexisting subdomain like puppy.example.com he still gets to see ...
0
votes
1answer
22 views

Redirect subdomain to an Apache Virtual Host

I have a website "example.com" hosted on a provider that allows me to manage my own DNS. I want example.com to point to the provider's IP address but I want "subdomain.example.com" to point on my own ...
0
votes
0answers
19 views

Apache HTTPD accept requests different destination IP and HTTP Host header

We've built and brought up a new version of a web application. The legacy web application still exists and is still used by legacy clients. Now we want to migrate these old legacy clients to use the ...
0
votes
0answers
12 views

Apache virtual host and Flask broken Json response

I have develop a micro web app (with Flask) to retrieve a json data from a remote web server (virtual host apache + mod_wsgi). If I try to get data from a single remote istances (only flask web server ...
0
votes
1answer
21 views

SSL page only loading in private network

I have got a activated virtual hosts config for ssl like this: <VirtualHost vidanalysis.com:443> ServerName vidanalysis.com SSLEngine on SSLCertificateFile /etc/apache2/ssl/ssl.crt ...
1
vote
0answers
20 views

Excessive disk usage with virtfs / cpanel

I'm running a server using cPanel, with virtfs enabled, and seeing very high disk usage compared to the amount of data actually uploaded/created by each user. I am getting DISKWARN emails telling my ...
1
vote
0answers
11 views

Automatically add/remove entry to/from /etc/hosts when enabling/disabling apache2 virtualhost

When I create virtualhosts, I almost always forget to add an entry to /etc/hosts until I've attempted to check the site in a web browser and moaned about the oversight. What I want to do is modify ...
2
votes
3answers
68 views

Adding a domain and subdomain to server

Greetings and please excuse me if this is a very basic question. The problem: Currently I have bought a domain (crazywebsite.com) from Godaddy.com and I have an unmanaged VPS in Site5.com. I have ...
0
votes
0answers
30 views

Many webapps, one vps

Might be a noob question, Google and SF searches didn't turn up anything super useful. Could be using the wrong words here. I've got a vps, with one port 80 app running on it. I'd like to add two ...
0
votes
1answer
20 views

Wordpress Opening From Wrong Directory

I have an Amazon ec2 m3 medium instance running AMI(RedHat based) Linux. I am trying to host multiple domains on this instance by adding this at the end of httpd.conf: <VirtualHost *:80> ...
0
votes
0answers
34 views

How do I give each Virtual Host in Apache a domain name on a local network?

Background information. I have a server (running Debian Wheezy and Apache 2) at which I am to set up several Virtual Hosts to allow students to host their own website for development purpose. I am ...
0
votes
0answers
13 views

VirtualDocumentRoot and subdomains - correct configuration?

I have setup my vhosts file like so (only question related part): <VirtualHost *:80> DocumentRoot /var/www/example.com/web ServerAlias *.example.com VirtualDocumentRoot ...
-3
votes
2answers
47 views

nginx Virtual Host Problems

I am running nginx on centos and using the method of having individual files for each domain inside a sites-available directory symlinked to sites-enabled. Both conf files are almost identical. My ...
0
votes
0answers
3 views

lubuntu apache2 cakephp creating a Virtualhost [migrated]

I am using Lubuntu 14.10 32bit to run a LAMP system using Apache2.2. I have been unsuccessful at creating a virtualhost for cakephp 2.5.6. I'm not sure if this is causing the problem or not but I have ...
0
votes
0answers
3 views

2 virtualhosts in XAMPP Apache - only one site works [migrated]

I made 2 virtualhosts in XAMPP Apache environment in in httpd.conf Only first one works. Second one resolves to first entry. <VirtualHost *:80> DocumentRoot "C:\xampp\htdocs\shop1" ...
0
votes
1answer
28 views

Default Apache virtual host configuration with static ip

I recently configured an (Ubuntu 14.04) server to use static IP addresses and noticed that: <Virtualhost *:80> No longer seems to work. Previously the 000-default.conf file was used and by ...
-1
votes
3answers
25 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
2answers
109 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 ...
0
votes
0answers
29 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 ...
-1
votes
1answer
24 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
0answers
43 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
2answers
72 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
264 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 ...
0
votes
2answers
33 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
23 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
15 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
147 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
82 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
1answer
89 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
1answer
72 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
51 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
27 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
139 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
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
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 ...
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 ...
-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 ...
1
vote
1answer
49 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
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 ...
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
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
51 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> ...
0
votes
0answers
133 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 ...