0
votes
1answer
32 views

set virtual host as default in apache 2.4

The deafult Apache 2.4 installation has the default virtual host 000-default.conf in /etc/apache2/sites-available. I've created configuration file for my virtual host example.com. How can I now make ...
0
votes
1answer
49 views

Setting up an apache virtual host with working override

I've been fighting this for many hours now, and I'm very frustrated. Apache just doesn't make sense to me; I'd greatly appreciate any advice. Please read through what I've written, as I've read ...
1
vote
0answers
53 views

Apache2 Virtual Hosts Wordpress FTP Failed

I'm trying to set up a hosting server where I can start putting up multiple sites. I'm having problems installing a wordpress theme using FTP. I've got a virtual host up, and it points ...
2
votes
3answers
6k views

Recent Apache2 update broke virtual host and New Error on restart or starting

I am on Ubuntu 12.04 box, recently installed one apache2 update, and since then all the virtual hosts are not pointing to the correct directories, it's now pointing to the default localhost. Also I am ...
0
votes
1answer
738 views

Why Apache responds to each subdomain, even if only one vhost defined?

I have Apache2 with one VirtualHost configured as following: NameVirtualHost *:80 <VirtualHost *:80> ServerName gitlab.mydomain.com DocumentRoot /home/git/gitlab/public ProxyPass / ...
0
votes
2answers
364 views

Apache on Mac: vhost looks for wrong directory (other than DocumentRoot)

I just un-installed XAMPP and decided to take into use the Apache included within OS X. After a lot of fiddling around I've gotten it to somewhat work, but not quite. I use VirtualHostX for managing ...
0
votes
2answers
199 views

Apache Virtual Hosts: Document Root as remote IP instead of local folder

I was wondering if I could point say ftp.foo.com to like 192.168.1.76 using Document Root. I have two servers, one contains all of the Apache2 stuff, the other, my downloads server. Could I route HTTP ...
0
votes
1answer
183 views

LAMP server with virtual host names

I'm using Xubuntu (Linux version 3.2.0-30-generic (buildd@aatxe), gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)). I've installed Apache2, php5 and mysql. On Windows, I used WAMP, and I edited ...
1
vote
0answers
990 views

Redirect IP to url for ISPConfig 3 administration

I am running a debian machine with ISPConfig 3.0.4.3. Yesterday I purchased a RapidSSL wildcard certficate and want to make sure my IPSConfig always loads the admin.mydomain.net url. Even if the user ...
1
vote
1answer
2k views

Apache2 vhosts not responding on ServerName directive

I have an apache instance running on Debian squeeze, with two virtual hosts defined (including a redirect from port 80 to port 443. There are two Vhosts listening to port 80, and one of the named ...
0
votes
1answer
385 views

Apache Name Based VirtualHosts and DNS “www” issue

I'm not sure how to solve my problem. It is that my Apache2 is configured to serve 3 different VirtualHosts. That depends on the Domains. The config is: NameVirtualHost example.eu:80 <VirtualHost ...
2
votes
1answer
726 views

Default handling for unmatched domains/subdomains in Apache

I have an Apache2 configuration with multiple VirtualHosts. My DNS is set to accept *.<domain>.<tld> on multiple domains. Everything is working correctly but if I go to ...
0
votes
1answer
205 views

Apache Multiple Sites: Show different site to visitors on domain-name than to IP address?

I want to set up my server for multiple sites but I want a good error message if people try to access them by the IP, is there any way to set this up in httpd.conf? I know you have to use virtualhosts ...
3
votes
1answer
2k views

Apache2 Virtual Hosts not recognizing properly

I have two virtual hosts, but apache seems to be defaulting to one of them. Here is host #1: <VirtualHost *> ServerName goiclub.com ServerAlias www.goiclub.com *.goiclub.com ...
2
votes
2answers
6k views

Apache2 2.2.14 setup with multiple virtual hosts for local testing

I have setup an Apache 2 virtual host by this method. under /etc/apache2/sites-available I've create a dummy_site_1.conf dummy_site_1.conf <VirtualHost local.dummy_site_1:80> ServerName ...