Virtual hosting refers to the practice of hosting multiple websites on a single server.
5
votes
2answers
101 views
Are webhosts that require NS instead of a CNAME common?
I've just signed up with a webhost (which I prefer not to name) and I'm reasonably happy with it. The only nit was when I was ready to put a site online and I asked the support line to what name I ...
4
votes
1answer
273 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, ...
4
votes
1answer
93 views
Apache Virtual Host different depending on client ip?
What I'm trying to accomplish is:
1. A person, with IP 192.168.1.5 loads my webserver (192.168.1.2) and reaches htdocs/
2. Another person, with ip 192.168.1.6 does the same request, and reaches ...
4
votes
1answer
79 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 ...
3
votes
2answers
4k views
Redirect Permanent and https
I just set up HTTPS on my server, and I have an issue with redirect permanent.
Example http://domain.com/index.html it redirect me to http://www.domain.comindex.html
The / (tail ending slash) is ...
3
votes
1answer
154 views
Apache Virtual Host does not work
I've problems setting up a virtual host on windows7, so that I can develop multiple pages on my localhost.
To set up the virtual Host, I've edited 3 Files:
httpd-vhosts.conf in apache\conf\extra
...
3
votes
2answers
820 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 ...
3
votes
1answer
258 views
Subdomain Configuration
My developers asked me to do the following:
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 ...
2
votes
4answers
3k 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 ...
2
votes
3answers
179 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.
2
votes
2answers
294 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 ...
2
votes
1answer
36 views
Running my site using https and a load balancer
I currently have two webservers behind a load balancer that are running my websites. I'm considering buying an SSL certificate for one of my websites and converting it to https. What mechanics to I ...
2
votes
3answers
718 views
Under an Xampp install, I modify the apache httpd-vhosts.conf file and then my Apache server will not start
I have read all the articles but still must be doing something wrong... I modified the httpd-vhosts.conf file to access the project I am working on... I have tried many different configurations and ...
2
votes
2answers
135 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 ...
2
votes
1answer
336 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
20 views
SetEnv directive not working for localhost VirtualHost but works for other VirtualHost
I have two virtual hosts declared: localhost and test.
Both use the SetEnv directive and point to the same DocumentRoot:
NameVirtualHost *:80
<VirtualHost _default_:80>
DocumentRoot ...
2
votes
1answer
107 views
How can I force a VirtualHost in Apache to not listen for undefined subdomains on 443?
In /etc/apache2/sites-available/example.com:
<VirtualHost *:443>
ServerName www.example.com
DocumentRoot /var/www/example.com/htdocs
SSLEngine on
...
2
votes
1answer
24 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
102 views
mod rewrite doesn't work when i added multiple domains
i have redhat linux server and i was using /var/www/html to display my site.
By using the following directive rewrite mod was working fine.
<IfModule mod_rewrite.c>
# Enable mod_rewrite ...
2
votes
1answer
64 views
Prevent virtual host on same server interact on apache
I have a VPS running Apache 2.0, with multiple domains and multiple IPs set.
In document root :/var/www/html/ --> i have http:// serverA.com
and I created a virtual host on folder ...
2
votes
1answer
1k 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
2
votes
2answers
359 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 ...
2
votes
2answers
123 views
How to Add Two Domains ON 1 IP using webmin
I am a new user of webmin and I have two domains site1.com and site2.net.
I have one dedicated IP for the server and I have set site1.com to use following name servers ns1.site1.com and ns2.site1.com ...
1
vote
2answers
603 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 ...
1
vote
1answer
9k 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
112 views
Assign subdomains to separate ports on web server
I have set up an Abyss web server as a little experiment, and I want to know if it is possible to assign subdomains to different ports on the machine the web server is running on.
I have a couple web ...
1
vote
1answer
569 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
2k 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]
...
1
vote
1answer
20 views
Automatic redirection from http to https with .htaccess authentication in virtual hosting
Hi I have configured Virtual host on apache with .htaccess authentication with SSL. It's working fine when I typed url https://www.example.com:9004/test.php but when I typed ...
1
vote
1answer
129 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 ...
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
44 views
Can't Get a Virtual Host to Work
I can't get a specific virtual host to work. This is the first part of my httpd-vhosts.conf file:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/Volumes/Data ...
1
vote
1answer
101 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?
...
1
vote
1answer
211 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. ...
1
vote
1answer
3k 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
...
1
vote
1answer
66 views
Apache2 “pseudo” doc root
I have several folders in my /www folder that contain various applications. To keep things organized, I keep them in their own folders -- this includes my base application.
Examples:
phpmyadmin = ...
1
vote
1answer
763 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 ...
1
vote
1answer
53 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
267 views
How do I map some subdirectories to run alongside a Drupal site?
I have a Drupal site running on Apace using the following vhosts file:
<VirtualHost xx.xx.xx.xx:80>
ServerName bananas.net
ServerAlias www.bananas.net
...
1
vote
1answer
862 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 ...
1
vote
1answer
323 views
Apache virtual hosts - Resources on website not loaded when accessed from other hostname than localhost
Running virtual hosts on Mac OS X 10.6.8 running Apache 2.2.22.
/etc/hosts is as follows:
127.0.0.1 localhost 3dweergave studio-12.fritz.box
255.255.255.255 broadcasthost
::1 ...
1
vote
1answer
46 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
2answers
121 views
My virtual server is created but it's not showing anything when I visit the site?
I have created a virtual sever as below for my site:
I've specified the folder and domain name:
And I created a master zone for the domain, and NS1 and NS2 has been set for the domain. everything ...
1
vote
2answers
132 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 ...
0
votes
1answer
326 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 ...
0
votes
2answers
4k 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 ...
0
votes
1answer
94 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 ...
0
votes
1answer
217 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 ...
0
votes
2answers
851 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 ...
0
votes
1answer
423 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 ...


