0
votes
0answers
6 views

What configurations should be in the main server config vs virtual host config? [on hold]

I've setup my server as follows: The majority of recommended configurations by Apache and H5BP have been placed within the Server Config file while I've designated specific configurations for Header ...
0
votes
0answers
32 views

Configure Nginx with multiple lxc containers, virtual hosts and subdomains

I want to use multiple (at least 3) lxc containers running Apache2 on port 80. I want to configure Nginx such that www.mydomain.com serves the content on the host machine while sub1.mydomain.com , ...
0
votes
0answers
26 views

Extracting ServerAlias to another file

I have a virtual host file with a ServerAlias: ServerName mydomain.net ServerAlias myalias.net ServerAlias *.mydomain.net For some reason, we'd like to have the ServerAlias in a different file. I ...
0
votes
0answers
58 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 ...
3
votes
2answers
324 views

Apache configuration - rewrite rule for all virtual hosts

I have the following configuration with 2 virtual hosts on my Apache: www.domain.com and res.domain.com. The first one is open the second is limited to registred users. <VirtualHost *:80> ...
0
votes
3answers
1k views

PHP doesn't work on Apache virtual host

I have a virtual private server with Parallels Power Panel on CentOS 6. The default Apache virtual host (accessed using the IP) works wihtout any problem. Now I created a new domain with Plesk and ...
0
votes
1answer
57 views

Specifying multiple NameVirtualHosts in a VirtualHost configuration

My server is running Apache2 and the configuration contains several NameVirtualHost settings. # Example NameVirtualHost aaa.bbb.ccc.ddd:80 NameVirtualHost xxx.yyy.zzz.qqq:80 NameVirtualHost ...
-1
votes
2answers
401 views

Apache Suddenly won't start

So I've been working with several Virtual Hosts on OS X 10.8.2. I'm using the Apache2 installation and MySQL to run name-based virtual hosts. They have all been working perfectly fine until last ...
0
votes
1answer
180 views

Cannot execute PHP file from domain name

Server run on Amazon Linux AMI** (similary to redhat) I follow the installation from Install PHP-FPM, Nginx, & MySQL on EC2 with Amazon Linux AMI It's work properly if I call directly from server ...
0
votes
1answer
3k views

How to configure Apache2 for Redmine properly?

I have a working Redmine installation on my Debian server, but I don't know how to configure Apache2 properly so that neither the content of the Redmine folder nor the Redmine start page will be ...
1
vote
2answers
2k views

vhost file not bring recognised by apache

Hi sorry total noob to Apache and Macs here... feel the answer is really obvious but I've been looking for ages without success I have the following lines in ...
0
votes
0answers
51 views

Apache fails to start when it cannot connect to a vhost

In my apache vhosts configuration, I have a number of vhosts that point to network locations, e.g our production files are stored on another server that is heavily backed up. If at any time the ...
1
vote
0answers
594 views

Virtual hosting in Varnish with individual vcl files for configuration

I wish to use varnish to put in front of an apache and a tomcat on the same server. Depending on the ip requested, it goes to a different backend. This works. Now for most of the sites the default ...
0
votes
2answers
2k views

500 Internal Server Error when setting up Apache on localhost

I downloaded and installed XAMPP, and to keep my projects nicely separated I want to create a VirtualHost for each one based on its future domain name. For example, in my first project (we'll say it's ...
1
vote
2answers
1k views

nginx ignores my include directive?

I'm currently migrating from Apache to nginx. I have a couple of domains that are going to be hosted on the same machine with one IP address. Though I've configured nginx --prefix=/my/path it seems ...
1
vote
1answer
463 views

How to configure g-wan to use virtual hosts?

Say I have a domain foo.com and a server accessible at 50.60.70.80. I have configured the DNS entries so that foo.com and www.foo.com point to 50.60.70.80. I have g-wan running on the web server. Now ...
0
votes
1answer
477 views

virtual host setup: can't access wordpress site without www

I would like to access my site both with and without using the www. Currently it only works with. Leaving out the www just goes to a blank page. Also, wp-admin just loads a blank page too. I have set ...
1
vote
1answer
1k views

Apache 2.4 :: What happened to conf.d/ virtual hosts?

Getting local devel environment setup with Apache 2.4. Looks like things have changed compared to 2.2 In particular, conf.d/ directory is gone and now we have just conf/ directory with a single ...
0
votes
1answer
700 views

Apache name-based virtual servers without DNS

I have Apache web server installed on local Windows 7 x64 machine. It has no global DNS name. In default distribution it has virtual host configured in Apache/conf/extra/httpd-vhosts.conf file. It ...
0
votes
2answers
144 views

VirtualHosts with Apache not respecting ServerName

This has always bugged me and I've never got around to figuring out why Apache does this, I always resorted to the mod_vhost plugin to work around the issue. Basically, I have 2 vhosts in ...
0
votes
1answer
2k views

Virtual hosts not working

So - I cant get my virtual hosts to work. I'm working on Ubuntu11.10 with xampp install. I have been trying to find the errors - no success.Maybe you have some pointers what is misconfigured here: ...
0
votes
2answers
117 views

Apache Virtual Host Configuration

I have been searching the internet for an hour now, and I was hoping for a quick hint here so that I could solve my problem a wee bit faster. My virtual server is so far only accessible through an IP ...
0
votes
1answer
106 views

Simply Apache virtual host configuration not working

I'm tying to configure Apache for running phpmyadmin in it's own folder, using phpmyadmin.local server name. I'm not an Apache "guru" and i can't figure out why this is not working. Any help would be ...
0
votes
2answers
344 views

Is it possible to run two webservers on the same port on the same server? E.g., Apache and Lighttpd [duplicate]

Possible Duplicate: Running two services on port 80 I have a QNAP TS-459 Pro II that comes with an Apache webserver which runs on port 80. I'd also like to run a small Sinatra app; also on ...
0
votes
1answer
181 views

Can't access apache after changing ports to non-80

I don't know what's wrong, I just changed /etc/httpd/conf/httpd.conf and now I can't access it from non-loopback address. After the change: Listen 2999 <VirtualHost *:*> DocumentRoot ...
0
votes
4answers
225 views

Dealing with development subdomains

I have a virtualhost that is forwarding to my main domain (e.g. showing the same content that my main domain shows). Right now my site uses a main domain: www.example.com And various alias ...
1
vote
4answers
2k views

Virtual host “Forbidden You don't have permission to access / on this server” on debian

Before I created a virtual host I could see "http://localhost", but when I created a virtual host I could not see "http://localhost" and my virtual host "http://test" Here is my virtualhost config ...
0
votes
1answer
706 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
3answers
104 views

How can I add config options for a specific hostname outside <VirtualHost>?

I'm using Apache 2.2 and let it serve domains foo.example.com and bar.example.com with <VirtualHost> statements: <VirtualHost 127.0.0.1:80> ServerName foo.example.com ...
5
votes
1answer
7k views

Declaring multiple ports for the same VirtualHosts

Declare multiple ports for the same VirtualHosts: SSLStrictSNIVHostCheck off # Apache setup which will listen for and accept SSL connections on port 443. Listen 443 # Listen for virtual host ...
1
vote
3answers
111 views

Apache configuration to access directory

I'm on Ubuntu 9.10. My web application is in a directory on my /home/me/app . I want to configure Apache in such a way that I can access my app through a directory. For example: People can access my ...