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
51 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
42 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
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
39 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 ...
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: ...
-1
votes
0answers
27 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 ...
0
votes
3answers
76 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 ...
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 ...
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 ...
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
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 ...
1
vote
1answer
72 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
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
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 ...
-1
votes
1answer
60 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
63 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: ...
0
votes
1answer
45 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 ...
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 ...
-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
89 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 ...
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 ...
0
votes
1answer
32 views

SSL isn't working with Apache

I was trying to install a SSL certificate on my VPS. I Generated the CSR, and Got the Certificate and Intermediate CA. I am working on apache 2 on ubuntu server 13.10. So I used the Default SSL ...
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) ...
1
vote
1answer
26 views

Apache Auth directive cascade to alias directories

I have a reasonably lengthy block of authorization config directives within an Apache <Directory> context in a virtual host configuration file. It has LDAP credentials and a complex filter that ...
0
votes
1answer
62 views

Apache Proxy Reroute to Different Port

Trying to redirect my subdomain to a different port other than port 80. The request is received via port 80 and I'm trying to direct the requests to port 10001 as there's a mono server running ...
2
votes
1answer
39 views

Multiple Virtual Host isn't working in apache

I was configuring a VPS with Apache2, MySQL, PHP. The Main site is working fine. Then i went to create a webmail with a Subdomain. Whenever someone browse webmail.mydomain.com he or she should have ...
0
votes
1answer
97 views

Apache VirtualHost setup… 502 Bad Gateway

I am trying to set up apache virtual hosts on Ubuntu 12.04 lts. I followed this guide here http://www.debian-administration.org/articles/412 except I used /var/www not /home/www. Ive set the document ...
0
votes
2answers
37 views

How do i properly configure multiple multiple SECURE virtual hosts - Apache 2.2.15 & RedHat 6

To start, this question might overlap with others but I almost feel like this is a Red Hat issue regarding the "how to properly configure it" part. I have a few websites being served from the same ...
0
votes
0answers
21 views

cannot configure Port forwarding on CISCO Router and Apache Virtual Host

I have 3 websites up and running using a single apache server running on slackware and a netgear wireless router as my gateway, I use port forwarding on the netgear to map services of different hosts ...
0
votes
1answer
38 views

Apache2 Default overrides virtual host

I have an Ubuntu 12.10 LTS server running apache2 with a simple wordpress install. I created the virtual host in /etc/apache2/sites-available and used a2ensite to enable it. All was working fine for ...
0
votes
1answer
51 views

Using Puppet with complex Nginx VirtualHosts

I'm trying to use Puppet and a Nginx plugin to manage a virtual host config file. I have everything working, but now that I need to add some rewrite rules I'm running into issues. I know I can use ...
1
vote
3answers
66 views

Apache virtual host - one site, two IP addresses

Is it possible to configure an Apache (v2.x, running under Plesk 10.4.4) virtual host to listen to two IP addresses at once? We are moving a site from one IP on the server to a different IP (so that ...
0
votes
2answers
49 views

Microservers VS Virtual Servers

I am reading this articles in regard to microservers : 10 things you should know about microserver Microservers : What you need to know It seems to conclude that micoservers are best tailored ...
0
votes
1answer
36 views

Using Apache to make a virtual host with the same domain name?

I'm sure there's a name for this and I'm probably just searching wrong. Anyways, is it possible to set up virtual hosts on the same domain name by using information after the '/' For example host1 ...