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

learn more… | top users | synonyms

2
votes
4answers
6k views

How do I hide the port in my URL?

What am I missing? If I go to mysite.com:9999 I get my site, but not mysite.com Obviously the users shouldn't need to type in the port, so what do I need to do? I'm not really trying to hide the ...
1
vote
1answer
1k views

Symbolic link not allowed or link target not accessible: /var/www on Ubuntu 11.04

I am getting a 403 when i access http://mayfieldafc.local/ upon looking in the Apache logs I am getting: [Wed Nov 16 12:32:59 2011] [error] [client 127.0.0.1] Symbolic link not allowed or link target ...
3
votes
2answers
1k views

Apache2 virtual host localhost doesn't render CSS when offline because of absolute path

I'm running apache2 on a local server. I use no-ip.com to route DNS to that server through my cable modem. While disconnected from the web and working on localhost my web pages don't render the CSS ...
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'" ...
1
vote
1answer
152 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 ...
4
votes
1answer
354 views

How to organize /var/www/ for multiple users and vhosts in apache

I've been creating new directories for each site in the var folder like this: /var/www -- localhost -- owned by localuser:www-data (+setuid/setguid) /var/www-somesite -- somesite.com, ...
2
votes
2answers
173 views

Apache2: Deny access for mail.mydomain.com but allow www.mydomain.com, both points same ip

i have a linux mail+http server located throguh Internet at www.mydomain.com. Domain was bought at GoDaddy so after configuring the server and getting the public ip address i went at GoDaddy's profile ...
1
vote
1answer
645 views

How do I map some subdirectories to run alongside a Drupal site?

I have a Drupal site running on Apache using the following vhosts file: <VirtualHost xx.xx.xx.xx:80> ServerName bananas.net ServerAlias www.bananas.net ...
1
vote
2answers
7k views

Virtual host not working in Windows 7 XAMPP

I am using Windows 7 and XAMPP. I want to create a virtual host so I added 127.0.0.1 myawesomeproject to my hosts file (C:\Windows\System32\drivers\etc\hosts) like this: # Copyright ...
1
vote
1answer
848 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
400 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
937 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
463 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] ...
0
votes
2answers
101 views

How to transfer a website hosted online to my Virtual Host

I'm doing some work on a webpage, meaning I gotta modify a few things. As a result of this I installed apache and all the things that come associated with it, and also installed Joomla, and I got ...
2
votes
1answer
461 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 ...
2
votes
1answer
15k 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 ...
3
votes
1answer
289 views

Subdomain configuration

Configure all subdomains to point to the same server IP as the main domain Configure all subdomains in virtual host to point to the same location as the main domain What is the easiest way to do ...
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 ...
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 ...
2
votes
2answers
407 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 ...
0
votes
1answer
588 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: ...