Visit Our UNIX and Linux User Community

Maximum Number of Virtual Hosts per Apache instance

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Maximum Number of Virtual Hosts per Apache instance
# 1  
Old 09-24-2010
Maximum Number of Virtual Hosts per Apache instance

Is there a directive to limit the number of virtual hosts allowed per apache instance? I am told yes but I cannot find it.
# 2  
Old 09-27-2010
I don't know of that particular Apache directive. To my knowledge, the only limit to how many virtual hosts you can create in Apache are the actual limitations of the physical machine that Apache is running on, for example the kernel limit on file descriptors.

Previous Thread | Next Thread
Test Your Knowledge in Computers #299
Difficulty: Easy
Novell bought the SUSE (then SuSE) brands and trademarks in 2003.
True or False?

10 More Discussions You Might Find Interesting

1. Web Development

Apache Virtual Path

Say there is a certain path I wish to always load the same page. So if they go to, it always goes to myscript.php and fed a/b/c as a server variable. I'm fairly sure this is possible but cannot remember the term it's called, and so cannot find it in web searches or... (7 Replies)
Discussion started by: Corona688
7 Replies

2. Red Hat

apache httpd virtual hosts setup keep hitting the same VirtualHost

I'm trying to set up two virtual hosts. Here's my httpd config: <Directory /Users/userX/dev/sandbox-2> Order deny,allow deny from All Allow from localhost </Directory> NameVirtualHost <VirtualHost> DocumentRoot "/Users/userX/dev/sandbox-2" ... (0 Replies)
Discussion started by: GlideK
0 Replies

3. Web Development

Apache Virtual URL

Hi All, i'am facing a problem with urls that don't have a filestructure under DocumentRoot. A URL like Should be rewritet to something else. Now i defined a Location like <Location ~... (3 Replies)
Discussion started by: wuschelz
3 Replies

4. Red Hat

Apache instance

Hi , Maximum How many instances of apache can we run in one box? (2 Replies)
Discussion started by: krish4linux
2 Replies

5. Red Hat

How to start the right instance of Apache on RedHat server

Hi, I have 2 apache instance on my machine (RedHat), and i need to start the "apache2" after any reboot but could not find the way ( searching into "httpd.conf" ), so i'am starting "apache2" manually. After a reboot, none of them starts and when i when doing : httpd -k start, i got "apache"... (14 Replies)
Discussion started by: mehdi1973
14 Replies

6. Linux

Problems with log rotate and virtual hosts

ok guys, Im running Centos 4.6 Final latest versions of apache, mysql etc etc Basically, I have several websites on there and one of them is a busy forum and it generates big log files in not that long of a timeperiod. I set it up about 8 months ago so that logrotate was rotating the logs... (7 Replies)
Discussion started by: anderow
7 Replies

7. UNIX for Advanced & Expert Users

Virtual Hosts and Alteon DNS conflicts

Hi, This is more of a verification rather than a question of technical nature. This is based on solaris 10 machine Could we use Virtual hosts (within our hosts file): virtual_host_name host_A (note: - host_A is also in our DNS server entry) And... (0 Replies)
Discussion started by: jackola
0 Replies

8. Linux

Apache Virtual Server Help

Hi I am trying to configure virtual host on apache and I am running into a problem where the server defaults to the default location and I cannot get apache to pull from the second server. I have configured 2 files in vhosts.d folder I have added NameVirtualHost *.80 to the httpd.conf I have... (0 Replies)
Discussion started by: ratnamg
0 Replies

9. UNIX for Dummies Questions & Answers

Application & Virtual hosts in Apache

Folks; I need help knowing how to add an application to existing Virtual host on Apache. here's the details: I have a virtual host file (Based on IP address) for Apache and is configured to run application inside it. How can i add another application to the same virtual host based on the same IP... (0 Replies)
Discussion started by: moe2266
0 Replies

10. UNIX for Advanced & Expert Users

Apache 2 Virtual Hosts not resolving

Hey all, I'm having some apache problems. I've installed apache countless times on FreeBSD. However, I'm having some problems and I could use some help. Here is my system info: FreeBSD 5.2.1 Apache 2.0.51 (/usr/local/apache2), doc root (/www symlink to /var/www) PHP 5.0.1 (/usr/local/php)... (2 Replies)
Discussion started by: ezekiel61
2 Replies

Featured Tech Videos