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
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
1answer
21 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
16 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 ...
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 ...
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
0answers
18 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 ...
1
vote
1answer
949 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 ...
2
votes
3answers
67 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
1answer
835 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
1answer
864 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
29 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
235 views

Wrong redirection : problem with vhost?

i want to access to http://admin.my-app.com It is supposed to point on web/backend.php, but when i try to access via the URL, it redirects me to the index.php of my application. I don't know what ...
2
votes
2answers
990 views

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. <VirtualHost _default_:*> #... ServerName host.example.com #... </VirtualHost> ...
0
votes
1answer
914 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
1answer
365 views

Postfix null client configuration for Multiple Domains

I'm setting up Postfix null clients on in a virtual hosting server for multiple domains. I found some documentation about setting up Virtual Domain Hosting, the closest thing I could find to what I'm ...
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> ...
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
293 views

Apache2 Virtual Hosts Overriding One Another

I am not exactly sure what I am doing wrong. I have been able to get subdomains to work on my server, running Ubuntu 10.04 Server. I am running like a Ubuntu recommends with the VirtualHost ...
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 ...
-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
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 ...
-3
votes
2answers
46 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
3answers
917 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
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
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
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
1answer
156 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
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 ...
0
votes
1answer
98 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 ...
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
261 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 ...
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 ...
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: ...
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
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
88 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 ...