The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
89 views

Two SSL virtualhosts on same IP with Apache

I have an apache server with one ip address. (on a debian server). I have several virtualhosts for http and one virtualhost for https one vhost, redirect traffic to the https vhost and this works ...
1
vote
1answer
136 views

apache always serves first named vhost regardless of SNI setting

Apache is always serving the first named vhost regardless of SNI setting. I'm unsure what is causing this. I no longer get the message Init: Name-based SSL virtual hosts only work for clients with ...
0
votes
1answer
74 views

Apache mod_proxy

Uggh, I'm spewing that I can't figure this out, I'm so frustrated: <VirtualHost *:80> servername domain1.com.au ServerAdmin webmaster@localhost DocumentRoot ...
1
vote
1answer
60 views

How to set up SSL for one domain of several virtualhosts

I have an Apache2 server with multiple Virtual Hosts. One of the domains now wants SSL so they can do payment work with Stripe. I have a separate IP for that domain (domain1) than is the main IP for ...
0
votes
1answer
693 views

Apache/GnuTLS: can't get multiple TLS-enabled virtual hosts to work

A while ago, I set up an SSL certificate authority for our intranet, generated a bunch of certificates and ran a number of sites with them, all on the same physical host with one single Apache2 ...
-1
votes
1answer
53 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
vote
1answer
186 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
1k views

Why is my Apache virtualhost showing the default page for Apache?

I was wondering if im doing something wrong or what ? I have subdomain pointing to my server IP ( public ip of my server ) but when ever i go to my subdomain it show me the default page of Apache. Yes ...
1
vote
1answer
110 views

How to restrict Apache Location directive to cetain sub-domain?

On our server www.example.com, we use the <Location> directive to proxy traffic to a back-end server: <Location /app1> ProxyPass http://192.168.1.20 </Location> Then we added a ...
-1
votes
1answer
80 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 ...
0
votes
1answer
142 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 ...
0
votes
0answers
113 views

Ubuntu Apache2 Webmin — mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

I'm a relative beginner with LAMP servers; I've played with Ubuntu on a few systems before but this unexpected problem has me stumped. I'm hoping someone can offer advice. I've been reading all day ...
0
votes
1answer
212 views

Apache2 VirtualHosts and wildcard subdomains

Is there a way to setup a catchall (for subdomains) virtual server for a single domain, where I have a couple pre-defined subdomains. ie: webmail.example.com -> points to "/var/web/roundcube" ...
0
votes
1answer
77 views

How to make undefined host go to default Page in apache2 virtual hosts

I am using named Virtual hosts NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin ramesh@thegeekstuff.com DocumentRoot "/usr/local/apache2/docs/thegeekstuff" ServerName ...
1
vote
7answers
2k views

Changing port 80 to 8080 in Apache

I'm trying to change the port used by a website from 80 to 8080. Here is my /etc/apache2/ports.conf: NameVirtualHost *:80 NameVirtualHost *:8080 Listen 80 Listen 8080 Here is my VirtualHost file: ...
1
vote
3answers
2k views

Apache SNI namevhosts always route to first VirtualHost entry

Update So for some strange reason, the problem seems to have resolved itself. Perhaps it's some sort of strange caching issue or something (though I have apache2ctl stop/start/restart and sudo ...
0
votes
1answer
86 views

Apache Name Virtual Hosts Not Working

I've looked at several answers here, but none of the solutions worked. Here's what I have so far in my /etc/apache2/sites-available/default site (and it is enabled). (No modifications to other files ...
0
votes
1answer
256 views

setting up subdomain wildcard: configured A record, VirtualHost… still does not work

Running Apache on CentOS, trying to setup wildcard subdomains, basically I want .mydomain.com to point to mydomain.com With cPanel I added *.mydomain.com With WHM I made sure that A record is ...
1
vote
3answers
10k views

NameVirtualHost *:443 has no VirtualHosts on debian squeeze

I have an Apache 2.2 server that works but I am getting the NameVirtualHost *:443 has no VirtualHosts warnings when restarting. But I do have VirtualHosts that match *:443. The system is Debian ...
0
votes
1answer
49 views

Security of NameVirtualHost in regard to HTTP request forgery

If I understand the concept of NameVirtualHost correctly it works by reading the Host variable of every HTTP request and matching it to a ServerName in any active VirtualHost directive with the ...
0
votes
2answers
192 views

setting up a vhost alias with a wildcard for domain and document root - doc root not parsed correctly

I only have a fuzzy idea of the correct terminology to use in this question so please feel free to help me by clarifying it. I have a vhost setup. The idea is that I want a wildcard to route all ...
0
votes
1answer
303 views

apache2 defaultsite redirect but not virtual host

I'm trying to set up a new server with several virtual hosts but also such that if the requested fqdn doesn't match a virtual host then the request is redirected to http://example.com/log.php?url=fqdn ...
0
votes
1answer
134 views

apache2 default namevirtualhost

I got a site server.com which I want to be returned when it is directly adressed using server.com or www.server.com but issue a 404 if the webserver gets accessed using its ip or another hostname. I ...
2
votes
1answer
1k views

How Apache name-based virtual host works with public IP address?

I am new to Apache web server. When we configure Apache web server, we have the options of setting name-based virtual host. Based on my understanding, when a user type in a domain name ...
3
votes
1answer
117 views

apache fails to restart…happened out of the blue :/

Tried navigating to my server today and noticed that NONE of my hosted websites are loading...even if I enter the ip and try to hit the default page I get nothing. I hadn't touched the server since it ...
2
votes
2answers
467 views

NTLM Authorization using Apache NameBased VirtualHosts over SSL

I have a development environment that is fronted via an Apache server. This apache server requires SSL and Centrify-enabled NTLM authentication/authorization with the AD backend, using group access to ...
1
vote
1answer
4k views

could not resolve host name while setting up namevirtualhost

I have been working on setting up namevirtualhosts on my centos 5 server. I have added all of the virtualhosts to my httpd.conf file and alos uncommented the namevirtualhost line.I also have my domain ...
0
votes
1answer
207 views

Apache Wildcard Vhost not working

I can't seem to get a wildcard vhost working on my local apache installation. My vhosts file currently has the contents below. After I edit it, I'm making sure to restart the server but have still had ...
0
votes
1answer
1k views

Apache2 (debian) virtualhost not working properly

I'm trying to add another virtualhost to an existing list of hosts (/etc/apache2/sites-availible/default). Here is a partial copy of the current setting: <VirtualHost *> (<-- currently ...
1
vote
2answers
662 views

Should you edit/delete the default apache site config?

I've just followed this tutorial on setting up name-based virtulization in Apache, and it worked really well. The tutorial basically got you to add a config file to sites-available called ...
1
vote
1answer
2k views

Apache2 No Listening Sockets, unable to open logs while trying to configure virtual hosts

I'm trying to set up multiple domains with virtual hosts in Apache2. I'm currently getting a "Could not connect" error when I try to browse to my site, and whenever I try to restart Apache2, I get an ...
0
votes
1answer
1k views

Adding virtual hosts without restarting Apache?

I've got Apache 2.28, on Web-Developer Server Suite, PHP 5.38, MySQL latest version, and have got about 5 virtualhosts. This is my latest virtual host, which was a dynamic one: UseCanonicalName Off ...
0
votes
1answer
337 views

Performance of multiple VirtualHosts vs. ServerAlias in Apache2?

until now, we had multiple web servers with multiple IPs and a lot of domains pointing to them (most of the domain logic was inside our CMS). I liked this aproach because a lot of configuration could ...
3
votes
2answers
1k views

Can Apache vhost_alias and NameVirtualHost coexist in same server / ip?

I have a development server for PHP programmers set up and runnig for some time now. The system is Debian with default Apache package: # apache2 -v Server version: Apache/2.2.9 (Debian) Server built: ...
0
votes
0answers
76 views

What is wrong with this Vhost setting?

I posted a question about this issue earlier but i am pasting the vhost file here to show that i am going to the same location when i go to nacc.biz and kadence.tv if you look at the bottom of the ...
0
votes
2answers
200 views

Named Virtual Hosts + HTTPS Shouldn't Work?

The Apache httpd documentation says that name based virtual hosts don't work with SSL. But our sites are working in a configuration like that! In site1.conf, we have <VirtualHost *:443> ...
1
vote
2answers
553 views

Apache NameVirtualHost with Domain and IP

I have several IP's which I am trying to configure in Apache2. I have tried searching around but it seems I may be asking for too much. I want to route every direct request for each IP (e.g. ...
0
votes
2answers
2k views

Varnish configuration, NamevirtualHosts, and IP Forwarding

I currently have a bunch of NameVirtualHost based websites, load balanced between 3 apache2 servers using ldirectord. I would like to insert varnish as a reverse-web-proxy between ldirectord and ...
1
vote
2answers
953 views

Apache2 ignores ServerAlias

the www versions of all my sites work. the non-www version don't work. All non-www versions go to my default vhost (galengrover.com) Here are the first 2 virtual hosts in httpd.conf. ServerName ...
4
votes
1answer
154 views

how does Apache NameVirtualHost understand “0.0.0.0”?

What is the difference between "NameVirtualHost *" and "NameVirtualHost 0.0.0.0"? Both seem to be implementing name-based virtualhosts, both seem to work. How does "0.0.0.0" become a wildcard?