Virtual hosting refers to the practice of hosting multiple websites on a single server.

learn more… | top users | synonyms

2
votes
3answers
577 views

How to remove /index.html

How to make redirect /index.html -> / in Apache? Redirect /index.html http://domain-name.com/ Is causeing infinite loop when opening home page.
1
vote
1answer
1k views

mod_rewrite with Apache -> mod_jk -> tomcat

Related to some of my earlier questions. I now have a setup I quite like; Apache httpd listening on port 80 accepting http and https connections. Several Tomcat instances running on several AJP ...
1
vote
1answer
511 views

SSL on multiple directories

I have a website that is http, but has a port set up for https for a specific directory that is for the shopping cart. Now I'd like to use our SSL on a different directory in the same site as well. ...
0
votes
2answers
1k views

apache virtual host problem on windows 7 - please explain

This problem has never occurred in the past (i have tried this many times) but this time, ALL virtual hosts defined in the virtual-hosts.conf file in the apache installation directory direct the ...
2
votes
1answer
16k views

Apache: Virtual Host and .htacess for URL Rewriting not working

I have configured a virtual host in my local machine and every thing is working fine. Now I want to use SEO friendly urls. To achieve this I have used the .htaccess file. My virtual host ...
1
vote
1answer
58 views

Forcing adverts via apache configuration file

I have a server I am trying to force adverts for free users. I can do it with a .htaccess file with this line "php_value auto_append_file '/var/www/vhosts/demoblog/demoblog.tk/httpdocs/test_ad.php'" ...
2
votes
1answer
56 views

How should I set the default virtualhost?

I want to run 2 websites. One for www.example.com, and the other for everything else (www.example2.com, www.example3.com) How I do it? I tried: <virtualhost *:80> ServerName www.example.com ...
2
votes
1answer
2k views

Webmin - Setting up multiple virtual hosts - Subdomains

Can someone please help me in using WEBMIN to setup virtual hosts. My current domain www.MYDOMAINLOLFAKE.com currently functions. Settings are as follows - Apache - Handles the name-based server ...
0
votes
1answer
749 views

How to use different php.ini files for different VirtualHosts?

I have my site and it's staging subdomain running on the same CentOS machine running apache. The subdomain is created using a VirtualHost, and I use it to find any bugs before I push to production. I ...
4
votes
1answer
99 views

Unable to view 2 local sites over network

I have 2 websites running on my local machine that I'd like to view from other machines on the same network. For /etc/apache2/sites-available/site1.com: <VirtualHost *:80> ServerName ...
1
vote
1answer
7k views

Managing multiple reverse proxies for one virtual host in apache2

I have many reverse proxies defined for my js-host VirtualHost, like so: /etc/apache2/sites-available/js-host <VirtualHost *:80> ServerName js-host.example.com [...] ProxyPreserveHost On ...
2
votes
1answer
470 views

Virtual Host under MacOSX not working

I have setup a virtualhost for MacOSX Apache installation. These are my steps: edit /private/etc/apache2/httpd.conf removing comment from: Include /private/etc/apache2/extra/httpd-vhosts.conf ...
0
votes
1answer
136 views

Do Apache virtual hosts perform better when listening to different ports?

I plan to use mod_proxy to route requests to Apache virtual hosts based on the URL. example.com/foo/x is routed to foo.example.com/x, example.com/bar/x is routed to bar.example.com/x, etc. Are there ...
2
votes
1answer
121 views

vhost set up help — domain and ip point to the same site

I have these virtual hosts set up however when I browse to domain.com or 123.45.67.89 they both point to /var/www/html/. How can I get them set up so they point to correct DocumentRoot? ...
0
votes
1answer
542 views

Apache: how to create subdomain on name-based virtualhost?

i have name-based hosting, lets name it my.address.com - my friend have 'white' ip -address.com and gave me virtual machine than i can access via ssh, also, he made some magic with ports and now after ...
1
vote
1answer
49 views

Prevent virtual host on same server interact on apache [duplicate]

Possible Duplicate: Prevent virtual host on same server interact on apache I have a vps apache 2.0 webserver, with multiple domains and multiple IPs set. In document root /var/www/html/ I ...
1
vote
1answer
158 views

How is web hosting CPU usage measured?

Among virtual hosting providers, there is usually an amount of storage and bandwidth specified in the service description (example: 50 GB storage, 1 TB bandwidth/month) but no such thing for CPU ...
0
votes
1answer
616 views

How to hide awstats url parameters

currently in order to access statistics on my site I access this link: www.mysite.org/awstats/awstats.pl?config=awstatsconffile.org all is working fine, but what I want to achieve is simply this: ...
1
vote
1answer
911 views

Purposes and priorities of Apache conf files

I've installed an Apache2 server on a Linux Box (Ubuntu 10.04 TLS) and am trying to setup some virtual host and proxies. There is some stuff in the apache2.conf, an empty httpd.conf (which was used ...
1
vote
1answer
404 views

Why isn't HTTP Authentication working on this Apache HTTPS site?

I have set up a private MoinMoin wiki, accessed through HTTPS, but I cannot get Basic HTTP Authentication to work on it. I have it working on another site, using a similar vhosts file, so I cannot ...
1
vote
2answers
1k views

Why is my subdomain not showing up?

I am hosting a website on Host Gator: http://www.flowerwood.com. It is working correctly. I also have a subdomain that I setup using cPanel called http://plants.flowerwood.com Right now I have a very ...
2
votes
2answers
515 views

a good VPS to grow into (cheap at start, multiple sites, php and python, easily custom-configurable) [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? We develop and host for many clients. I am choosing an upgrade over shared hosts, preferably a VPS. The new site ...
1
vote
1answer
4k views

What is wrong with this Apache httpd.conf file for vhosts?

What is wrong here? NameVirtualHost *:80 <VirtualHost *:80> ServerName www.apples.co.uk DocumentRoot /var/www/apples.co.uk RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.apples\.co\.uk$ [NC] ...
2
votes
2answers
410 views

Rackspace Cloud Servers in Europe?

We have setup a cloud virtual server at rackspace in the US, but we use it from Europe. I found out I am not quite happy with the response time. Of course I knew that there would be some latency. But ...
3
votes
1answer
2k views

How to setup VPS(Virtual hosting server) in Godaddy

I recently purchase a VPS from GoDaddy. Now i need to Setup the virtual server to go ahead and install my website. Please guide how to go about. Thanks in advance
0
votes
2answers
1k views

How to configure virtual host to consider domain path in Apache [closed]

the following virtual host definition is working for an arbitrary url starting with "http://1.2.3.4:80/*" <VirtualHost *:80> ServerName www.domain.com DocumentRoot ...
1
vote
2answers
135 views

Keeping rackspace vserver alive

It appears to me that rackspace somehow freezes cloud VMs after some idle time. This means the first page request to a php page takes much longer to respond than the subsequent requests. This is in ...