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
1answer
40 views

Default VirtualHost redirect

I need your help guys. I have a server running Apache 2 and in there I've multiple vhosts bound to different domains. I want that the default vhost (so every address not bounded with a vhost) ...
0
votes
2answers
45 views

Placeholders for apache2 VirtualHost

I have a conf like this <VirtualHost *:80> VirtualDocumentRoot /Users/molfar/Sites/%-2+ </VirtualHost> I'd like to dynamically set error and access logs paths. I tried the following ...
0
votes
1answer
24 views

Multiple VirtualHost Configuration files in Apache2.

I have servers with RHEL-5, Apache-2.2.22, PHP-5.3.25 I know I can configure multiple virtualhost configurations in mutliple file by including these files in httpd.conf. Can Apache support this ...
0
votes
1answer
45 views

Virtual host Headaches

OK so.. I've checked a BUNCH of questions and tried to follow documentation without avail.. I've been on this for like 2 days now -_- I'm trying to make www.example.com point to ...
0
votes
1answer
33 views

Open Ip/folder in Nginx

I want to open a website with no domain name from IP/folder_name Each time I try to access the website , I get redirected to an other website on the same server : Here is my default configuration : ...
1
vote
0answers
120 views

Varnish server in front of nginx server with multiple virtualhosts

I have tried to search for a solution for this, but can't find any documentation/tips on my specific setup. My setup: Backendserver: ngnix: 2 different websites (2 top domains) in virtualenv, ...
0
votes
3answers
55 views

How to access web page on a server using the IP 10.0.0.3?

I have three internal servers that will never have any connection to the internet. I've had to build a local yum repo to set them up with tools like bugzilla and the like. However, all three are ...
0
votes
1answer
33 views

How to protect a virtualhost by Both IP OR password

I have managed to password protect a virtualhost by using this: <Proxy *> Order deny,allow Deny from all Allow from office-ip-1 office-ip-2 ...
1
vote
2answers
144 views

Virtual Host Configuration and mod_rewrite - Removing PHP Extension and Adding Forward Slash

On my production server, things are fine: PHP extension removal and trailing slash rules are in place in my .htaccess file. But locally, this isn't working (well, partially, anyway). I'm running ...
0
votes
2answers
256 views

ProxyPass for specific vhost with mod_rewrite

I have a web server that it set up to dynamically server different document roots for different domains <VirtualHost *:80> <IfModule mod_rewrite.c> # Stage sites :: ...
0
votes
0answers
57 views

How Do I Enable My Ubuntu Server To Host Various SSL-Enabled Websites?

Actually, I Have looked around for a few hours now, but I can't get this to work. The main problem I'm having is that only one out of two sites works. I have my website which will mostly be used for ...
0
votes
1answer
29 views

Apache Virtual host (SSL) Doc Root issue

I am having issues with the SSL document root of my vhosts configuration. Http sees to work fine and navigates to the root directory and publishes the page fine - DocumentRoot ...
0
votes
0answers
125 views

Why standard, virtual host Drupal 7 config causes 403 (Forbidden) in Apache2?

Virtual host declaration causing the problem (source): <VirtualHost *:80> ServerAdmin admin@d7 DocumentRoot /vagrant/d7 ServerName www.d7.local ServerAlias d7.local RewriteEngine On ...
2
votes
2answers
34 views

Apache 2 Multiple Named Virtual Hosts with one IP vhost

I have an instance running on AWS, with an Apache 2, two named domains and one ip. I managed to configure apache with both domains, ( domain1.com and domain2.com ). The first domain's docroot is ...
1
vote
2answers
329 views

Multiple SSL vhosts using wildcard certificate in nginx

I have two hostnames sharing the same domain name which I want to serve over HTTPs. I've got a wildcard-SSL certificate and created two vhost configs: Host A listen 127.0.0.1:443 ssl; ...
0
votes
0answers
38 views

Wordpress serving PHP but not CSS or JS

I'm trying to set up an Amazon EC2 instance to run a Django app and a WP instance side by side, differing only by the incoming URL. Initially, accessing the site via mysite.com/wordpress worked, but ...
0
votes
1answer
53 views

Accessing Apache virtual host on my local machine

I use dyndsn.org and port forwarding to manage access of my local Apache webserver from the Internet. It access my apache htdocs via http://myusername.dyndns.org/somesite. However, I have set an ...
0
votes
0answers
27 views

Drupal Domain-Access Virtualhosting

I need help setting up a virtualhost configuration for a Drupal website. I am trying the Domain Access module to create sub-sites on my Drupal site. The Drupal site is on a VPS server @ IP: ...
-1
votes
1answer
55 views

Running Multiple sites with multiple domains apache

I am having a rough time running apache and using multiple domain names here is a snippet of my config file. I keep getting a error saying that NameVirtualHost has no VirtualHosts. I want them both ...
2
votes
1answer
24 views

Another domain other than localhost?

I have a LAMP installed on my computer without problems. I can go to http://localhost and it will by default show the contents of /var/www . Is there a way to add new "domains" that refrence ...
-1
votes
2answers
45 views

Should I be using www. when setting up virtual hosts on apache?

Does it matter whether or not I include the www. sub-domain when creating new virtual hosts on apache? So is this? /etc/apache2/sites-available/www.example.com better than this? ...
2
votes
2answers
163 views

Use subpath internal proxy for subdomains, but redirect external clients if they ask for that subpath?

I have a VirtualHost that I'd like to have several subdomains on. (For the sake of clarity, let's say my domain is example.com and I'm just trying to get started by making foo.example.com work, and ...
0
votes
2answers
75 views

Trying to set up virtual hosts to block access by IP, for three domains and when using SSL on one domain

So I want all this on one server: - 3 domains / websites - SSL on one of them - nothing to be accessed by an IP address (e.g. 'domain.com' is okay, but not by just typing '123.55.44.123' into the ...
0
votes
1answer
248 views

setup apache and mod_fastcgi to work with php-fpm not working

I try to setup php-fpm with apache I am still missing a piece of the puzzle, because the page returns a 404 The requested URL /php-fpm/index.php was not found on this server. Apache/2.2.24 (Unix) ...
0
votes
0answers
53 views

Two SSL certs on different ports using Apache2 virtual hosts

On a RHEL6 machine with Apache2, I am hosting two sites using name based virtual hosts. Each site needs to run SSL with its own certificate so I have one site using port 443 and one site using port ...
0
votes
2answers
75 views

Setting two https on one IP, two domains also

I have two domains and one IP. Both domains listen on port 80. Also on port 443 listen one of the domains (from these two). But there is also possibility to access one of the domains only by IP. I ...
0
votes
1answer
59 views

Mac OSX 10.8.4 - Apache - Setting up Virtual hosts

I can't seem to get my virtual hosts working: I have an /etc/apache2/users/scottr.conf set up as: <Directory "/Users/scottr/Sites/"> Options Indexes MultiViews FollowSymLinks ...
0
votes
0answers
44 views

Messed Up Virtual Hosting After Installing Django with mod_wsgi

I was tasked with setting up Django, which seemed to require mod_wsgi, on an Ubuntu server fairly recently, which I was able to get working through much ardor and trial and error. Unfortunately, I ...
1
vote
1answer
67 views

RHEL Apache: 403 Forbidden on VirtualHost

My files are all owned by apache:apache. All directories have 770 permissions and files have 660 permissions. My original virtualhost seems to be fine but the second one is getting 403 errors on all ...
1
vote
2answers
34 views

Adding additional host to Apache2 [closed]

I have been tasked to add a copy of an existing website to the setup. (To be used as a test environment) The existing setup consists of : a.mysite.com b.mysite.com c.mysite.com I've been trying to ...
-1
votes
1answer
42 views

Allowing others in LAN to access dev sites at personal virtual host (myname.myserver.com) [closed]

I'm on Windows and have used WAMP to set up Apache, MySQL and PHP. I've installed ColdFusion on top of that, and everything works great for my local development. I've also set up my own virtual hosts ...
0
votes
1answer
71 views

Trouble configuring virtual host to allow standard wordpress mod_rewrite for permalinks

I'm having a little trouble getting the standard mod_rewrite that wordpress generates in my directorys .htaccess file to work correctly. The server I'm using has a virtual host set up on it by ...
1
vote
1answer
65 views

Virtual Host on Top Level Domain not working

I'm trying to route a top level domain through Apache Virtual Hosts, but I can't seem to get it to work. <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName mydomain.net ...
0
votes
0answers
22 views

apache virtualhostalias and logging

I have a virtualhost configurate with a VirtualDocumentRoot directive: <VirtualHost *:80> ServerName my_server VirtualDocumentRoot /home/user/webserv/%1/www CustomLog ...
-2
votes
1answer
73 views

GUEST MEM - VMWARE [closed]

I am reviewing an esxi 4.1 host memory usage I would like to lower some of the memory usage on some virtual machines. For example here I have a windows 2003 server This server is using 1GB Ram one ...
2
votes
1answer
31 views

What are these localhosts accessing Apache virtualhost?

In my server-status page I see a lot of requests from localhost. what are these for? are they actually doing anything? 201-0 - 0/0/327 . 0.94 28653 0 0.0 0.00 99.83 ::1 domain.com ...
0
votes
2answers
64 views

cannot set a virtualhost name with nginx

this is what I did with the standard nginx.conf if I use port boo.dev:8060 I have no problem, but if I do localhost or it's alias it always downloads something? I cannot seem to set a virtualhost ...
0
votes
1answer
50 views

Apache not restricting domain/subdomain port combinations

I have encountered an issue when I want to restrict the on domain/subdomain combinations to particular ports. For example when I just want the following domain/subdomain port combinations to work ...
2
votes
1answer
75 views

Setting up custom error pages for nginx with https and virtual hosts

We have an nginx (OpenResty 1.4.2.7) instance acting as a load balancer. It has two server directives, one to serve one specific site (let's call it www.our-special-host.com) and one wildcard for ...
0
votes
1answer
214 views

nginx - show different page when ip address is given instead of domain name

I have installed on my vps nginx with ISPConfig3. I created a domain mydomain.com through ispconfig and everything works just fine except two things. When i go to the ip address of my vps, my ...
1
vote
2answers
72 views

Ubuntu Apache2 Secure Directory Issue

I have been trying to prevent access to WordPress wp-admin and wp-includes directories on Ubuntu 13.04 with Apache2 2.2.22. First I tried to do this using .htaccess which for some reason wouldn't ...
0
votes
1answer
50 views

Redirection of subdomain working, but server not found error : Linode [duplicate]

Here is my virtual host : <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName policy.domain.com ServerAlias www.policy.domain.com DocumentRoot /policy ErrorLog ...
0
votes
1answer
50 views

OS X Server ignores virtual hosts

I have a OS X Server 10.8 [with the Server App]. I have enabled the websites service and I've added the path to /Volumes/dev1/http as the root for my Server Website. I've edited the file in ...
0
votes
2answers
25 views

Apache virtual hosts, aliasing, and directories

If you have an Apache running at somewhere.net, and you have a number of virtual hosts as well (a.somewhere.net, b.somewhere.net), you can access directories on the main branch while you are on the ...
0
votes
1answer
77 views

How to prevent SSL connections for some Virtual Hosts in apache [duplicate]

I'm using Name based Virtual Hosts on ports 80 and 443. Some of the virtual hosts only support port 80. I don't have, and won't be getting certificates for these hostnames. How can I configure ...
1
vote
2answers
304 views

Apache reverse proxy for Cloud9 using ServerName

I am trying to setup a reverse proxy to a Cloud9 instance running locally on my server using Apache. I have the following setup: <VirtualHost *:80> ProxyPreserveHost On ProxyPass / ...
2
votes
3answers
159 views

How can I add a virtual host to serve requests for a (working) CNAME?

On an AWS EC2 machine, in my /etc/httpd/conf/httpd.conf file I had this server configuration: NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin me@me.com ServerName www.example.com ...
1
vote
1answer
25 views

Lab 2012 Hyper-v migration from esxi

I need some clarity on the hyper-v virtualization strategy coming from ESXi 4.x. Purpose: A VM for Sql Server 2012 w/ SP1 A VM for Sql Server 2014 CPT1 Hardware: Poweredge T100 8GB RAM, 2 SSDs ...
0
votes
1answer
51 views

Apache vHost - Optimized and Secure

I took a look at the Canonical Topics ServerFault has and sadly the one I was after "Apache vHost" was on the list of unanswered questions. I found this a little surprising as there are loads of ...
1
vote
0answers
1k 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 ...