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)

2
votes
2answers
46 views

How do I give label to vSwitches on VMWare?

I've searched extensively trying to name the vSwitches that I create, but all I can name them are "vSwitchX" where x= some number. How do I give these switches names? I'm using the Web Client. ...
1
vote
2answers
38 views

Apache restrict /var/www subdirectories access

I got 2 virtualhosts that are looking at /var/www/site1 (ServerName site1) and /var/www/site2 (ServerName site2). I want to make my sites unavailable by http://1.2.3.4/site1 or http://1.2.3.4/site2 by ...
2
votes
1answer
3k views

The Alias directive … will probably never match because it overlaps an earlier Alias

I'm getting this warning from Apache: The Alias directive in /etc/httpd/conf.d/foo.conf at line 10 will probably never match because it overlaps an earlier Alias. However the Alias overlaps on a ...
-2
votes
2answers
27 views

Virtualhosts - making available only certain websites without root folder [on hold]

I have a DNS name as somename.dlinkddns.com Also I've LAMP installed on my development machine. I want to show my websites for client. It's possible to do it using virtual hosts. e.g. - ...
-5
votes
1answer
30 views

Host a website on your virtual pc and access it on the internet [on hold]

My friend and I are talking about hosting a website that is in development, We have a single computer(windows7) and would like to host a website virtually on this computer. Scenario is: Main ...
-4
votes
2answers
57 views

how can i access a directory from network in apache using httpd.conf [on hold]

I want apache to access a location which is in network that means instead of specifying a DocumentRoot from withing the server(mine is centos) i want the apache to access a directory which is on ...
0
votes
1answer
22 views

Two apps on Apache server with URI

I need to install a server with Apache 2.2 on Linux and I need to do two VirtualHosts differentiated by URI. But with only one domain name and one ip address. And I can't use Alias. I tried ...
-3
votes
0answers
25 views

Configuring Httpd VirtualHost on CentOs6 [closed]

I want to use Virtual host to use my two domains in my ded server , i went through its documentaion and my current virtual hosts is this : NameVirtualHost *:80 <VirtualHost *:80> ...
0
votes
1answer
37 views

Configure Apache To Return Nothing For Default 443 VHost

I have several vhosts on port 443 and each of these vhosts have the ServerName config option set and also the correct SSLCertificateFile and SSLCertificateKeyFile values as well which vary depending ...
2
votes
2answers
1k 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 ...
1
vote
1answer
21 views

Sub-domain setup doesn't work Apache 2.2.26 on Amazon EC2

I tried setting up a sub-domain for my site example.com. It doesn't seem to resolve to the proper directory. Below is my setup Main domain: example.com Subdomain: subdomain.example.com DNS records: ...
0
votes
2answers
1k 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
3answers
73 views

Apache 2.4 - 403 HTTP status code

I'm getting a 403 error message with Apache, in Debian Testing. Apache version: # aptitude show apache2 | grep -i version Version: 2.4.9-1 # ls -la /home/ total 28 drwxr-xr-x 4 root root ...
-1
votes
0answers
26 views

Multi-domain, multi-ip apache web server OUTGOING traffic [closed]

HELP! Situation: I have an apache web server with foo.com (192.168.0.50 eth0) and bar.com (192.168.0.55 eth1) and everything seems to be working in order, in respect to incoming connections... I have ...
2
votes
1answer
25 views

How to trace high CPU Apache process to particular virtualhost

Looking at the output of top I notice that intermittently there are one or two Apache processes consuming a high amount of CPU - anywhere between 50% - 90% The spikes in CPU usage come and go quite ...
3
votes
2answers
114 views

Upgrade Hyper-V cluster to 2012

We have an existing 3 node cluster running 2008R2 Hyper-V. Back end storage is an EqualLogic iSCSI SAN. We are replacing the host servers in this cluster and are looking at upgrading to server 2012 ...
0
votes
3answers
32 views

one IP: virtual machines for virtual hosts? [closed]

I currently have one hardware linux server with one IP address that is running three websites (virtualhosts via apache). I would like to push each website into its own virtual machine in order to ...
1
vote
1answer
26 views

Virtual server isn't working if I use www instead of just the domain

I have two domains. Domain1 uses IP1, and Domain2 uses IP2, however they both point at the same VPS. I got it working if I go to domain1.com, however going to www.domain1.com gets stuck on the ...
0
votes
1answer
21 views

Does apache have some sort of cache for virtual host configuration?

I am trying to simply change my ServerName and Server alias but it will not make the change effective even after restarting apache. Is there some sort of cache that I need to clear somewhere to get ...
1
vote
1answer
71 views

Which CPU model to set for guest KVM when processor is Ivy Bridge?

For a KVM host with an Ivy Bridge processor, which MODEL should use for CPU>CONFIGURATION in Virtual Machine Manager? Ivy Bridge is not available.
0
votes
0answers
22 views

Apache configuration using symbolic links

I have two folders: /var/www/link/ /var/www/project/ In the link folder, you find symbolic links pointing to the project folder. For example: /var/www/link/api.demo.com points to ...
0
votes
1answer
38 views

Setup an apache Virtual Hosts on Debian 7

I tried to setup an apache virtual host on a fresh debian 7 installation like following: applied steps 1.Install apache server: apt-get install apache2 2.create my new derictory: mkdir -p ...
0
votes
1answer
49 views

Nginx multiple virtual host isn't working

I already have a Working nginx installation for my local development in my Computer. So i was thinking about adding another virtual host for a new project. Here is the Existing Virtual host file AKA ...
0
votes
1answer
22 views

Postfix not mapping UNIX users with @ character

What I want to achieve: On my production server, I'm planning to have multiple users and multiple domains and my best option is to create full email-address-format unix user - when John Doe requests ...
2
votes
2answers
1k views

Apache: Client-IP-based DocumentRoot

I don't know if this could be possible on apache yet, I've done hefty amount of research before coming here. but: I have a VirtualHost running at *:80, ServerName to somedomain.tld. What I want to ...
0
votes
0answers
27 views

weird https redirect when visiting server IP

I've following virtualhosts: sudo apachectl -S VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:443 is a NameVirtualHost default server ...
0
votes
1answer
680 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> ...
1
vote
1answer
960 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: ...
3
votes
4answers
1k views

How do I get my Apache virtual hosts working?

I'm trying to set up virtual hosts for local development and can't seem to get it working. I have this in my httpd.conf: NameVirtualHost * <VirtualHost *> ServerName localhost DocumentRoot ...
-1
votes
1answer
59 views

mod_rewrite: Redirect https://example.com to https://sub.example.com [duplicate]

I have an domain example.com running on an Apache Server and I want to redirect every call to https://example.com to https://sub.example.com. I have a Virtual Host configured like this: ...
1
vote
1answer
62 views

Apache - listen only on specific domain, not IP

How can I configure apache so that it refuses connections coming directly to the IP address (http://xxx.xxx.xxx.xxx) instead of the vhost name http://example.com? My VirtualHost configuration: ...
1
vote
2answers
2k 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
44 views

Can't configure Nginx on Ubuntu 13.10 to work with Subdomains and main domain name

I am new to Nginx, switched 2 days ago from Apache. With Apache my website had 1 main url (www.example.com & example.com) and 2 subdomains (s1.example.com & s2.example.com). I succeeded to ...
0
votes
3answers
1k views

Apache2 alias in virtual host

I have multiple virtual host in one server and plan to has some alias setup in one virtualhost. So I add the Alias /foo/ /path/to/foo/ in virtualhost directive,but it has no effect. Request of ...
0
votes
3answers
745 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
1answer
35 views

Can I have two (or more) Apache VirtualHosts separated by subdirectories?

I think this is a simple question, but let me explain better. I have the following development environment: Ubuntu Server 12.04 LTS; Apache 2.4; PHP 5.5; Everything is working fine, except the ...
0
votes
3answers
33 views

Apache Multiple instances without specifying the port in the address

I'm after some apache advice, I'm looking to find a way to make apache instance on the fly, thats the easy bit so i generate a .cof and a crtl and start the instance on say port 389. So now if i go ...
0
votes
1answer
24 views

Apache2 - Virtual hosts, directing all traffic besides set subdomains to a certain subdomain?

I am currently making use of an alternate sub-domain (besides www) that i am hosting with apache. I am struggling to understand how something works within this. I have for example, dev.test.com and ...
0
votes
2answers
35 views

Enable Apache Virtualhost Site To Only View Over SSL [duplicate]

Viewing site over http and https are both working but prefer to configure it so that ALL visitors ONLY go through the SSL connection so that it always start with http*s*://www.example.com - what am I ...
-1
votes
1answer
29 views

VirtualHosts: * vs IP Address

When declaring a VirtualHost does it matter if I use an asterisk or an IP if I only have one IP I'm working with? Note, I do have several domains. The reason I ask is because I get warnings when ...
-1
votes
1answer
37 views

Virtual host does not seems to work

It seems that the most basic virtual host does not work under apache 2.2 : # httpd.conf Listen 80 .... Include /private/etc/apache2/extra/httpd-vhosts.conf the httpd-vhosts : # httpd-vhosts.conf ...
1
vote
0answers
47 views

Virtual hosts with port 80 & 443 not working

I can't figure out why I can't connect to my VPS. httpd.conf: i added: Listen 80 listen 443 NameVirtualHost *:80 NameVirtualHost *:443 <VirtualHost *:80> SSLEngine off ServerAdmin ...
1
vote
2answers
39 views

Server-level block, deny, or redirect based on User-Agent?

We've recently begun having trouble with web-scraper/DDoS service 80legs taking down our servers a couple times per week due to their abusive crawling practices. Initially we were simply dropping in ...
0
votes
6answers
203 views

Use the LAN based IP address to access local Apache on laptop when working outside the network?

<VirtualHost *:80> DocumentRoot "D:/Projects" ServerName 192.168.11.74 </VirtualHost> Why doesn't this work ? How to access websites on the local box (Windows, Apache, MySql, PHP) ...
-5
votes
4answers
70 views

How to get the specs of a server?

I have a virtual machine and boss says "Hey, get me the specs on that server." presumable because she wants to acquire a comparable one and will ask me to set it up from a backup of our current one. ...
0
votes
1answer
88 views

Apache vhost always show me the same content on different subdomains

I have two subdomains on my VPS, i have registered the two subdomains in my DNS pointing to the same IP address. the version installed is Server version: Apache/2.4.7 for Ubuntu 12.04. I've enabled ...
1
vote
1answer
45 views

Access Apache VirtualHost from localhost

I have a DirectAdmin setup with Apache on a server which is behind NAT. Everything is working correctly when accessing a VirtualHost from outside the machine (either through the Internet and the ...
2
votes
3answers
7k views

Need help trouble shooting Https webserver error - SSL Handshake failed

I followed this guide: http://hints.macworld.com/article.php?story=20041129143420344 Here is my virtual host definition <VirtualHost *:443> SSLEngine on SSLProxyEngine On ...
0
votes
2answers
60 views

Apache SSL virtual host using SNI ignores ServerName

I would like to serve SNI-enabled clients that send the wrong host name a 400 Bad Request, but Apache always serves the default virtual host in this situation. I cannot add a default virtual host that ...
-1
votes
1answer
25 views

Setting up Virtual Hosts in XAMPP on Windows [closed]

I'm having trouble setting up some virtual hosts using XAMPP. The machine name is server02.bb.net and is only accessible on the Intranet. I want other machines on the network to be able to see the ...