Questions tagged [namevirtualhost]
49 questions
15
votes
2 answers
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 yourdomain.com, and then link it to sites-enabled.
By…
Alex Coplan
- 575
- 1
- 10
- 18
7
votes
1 answer
Is "NameVirtualHost" necessary?
up to today I used name-based virtual hosting, but without the NameVirtualHost directive. It worked. Now, I read about the directive, and added it - no change. So - is NameVirtualHost really necessary at all, or will Apache 2.4 set this…
smat88dd
- 279
- 1
- 2
- 5
7
votes
4 answers
Apache SNI namevhosts always route to first VirtualHost entry
Apache seems to route all https requests to the first regardless of SNI matching on ServerName/ServerAlias fields.
Apache is built with SNI
Server version: Apache/2.2.22 (Ubuntu)
Server built: Mar 8 2013 15:53:13
OpenSSL 1.0.1…
arcyqwerty
- 181
- 1
- 1
- 9
6
votes
1 answer
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 error about "no listening sockets available,…
Ana
- 63
- 1
- 1
- 3
5
votes
1 answer
VirtualHost Defaulting to Wrong Deployment on Restart
We have a server running seven domains/subdomains. To try to go as minimal as possible here I'll include four of them.
example.com
www.example.com
dwf.example.com
chris.example.com
The server works great 90% of the time, but occasionally we get a…
chris85
- 81
- 2
- 11
4
votes
1 answer
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 www.example.com in a web browser, it will connect to a DNS…
userpal
- 593
- 3
- 9
- 17
4
votes
1 answer
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 was working properly so I'm not sure what has…
Jason
- 41
- 1
4
votes
1 answer
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?
deadprogrammer
- 1,661
- 7
- 24
- 25
3
votes
3 answers
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 squeeze. The ports.conf file looks like…
user35042
- 2,601
- 10
- 32
- 57
3
votes
1 answer
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 name pointing to the correct ip address. I keep…
arrowill12
- 229
- 1
- 3
- 7
3
votes
2 answers
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: Dec 11 2010 18:58:55
I have set up about 30…
SWilk
- 181
- 2
- 7
2
votes
1 answer
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 fine, something like this
Sverre
- 723
- 2
- 12
- 23
2
votes
1 answer
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 installation; one root certificate and one certificate…
ssc
- 1,129
- 3
- 16
- 30
2
votes
7 answers
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:
# Admin email, Server Name…
rfc1484
- 201
- 2
- 3
- 7
2
votes
2 answers
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 view the webpages. There will be multiple…
mgriffin
- 35
- 5