Using Apache Virtual Host, you can run several websites on the same server.

learn more… | top users | synonyms

0
votes
1answer
14 views

How do I configure varnish for my vhosts

I have a centos 5.x server running Apache+Drupal with 13 vhosts. These vhosts are all Top Level Domains. Munin reports heavy swapping for a few days in a month and I discovered that these are mostly ...
0
votes
1answer
18 views

Apache reverse proxy converts links in page to https

I have set up a reverse proxy and on the resulting page the http links show as https, so they cannot be loaded as this is a pure http page. Could this be caused by a bad reverse proxy configuration? ...
0
votes
2answers
30 views

Apache Virtual Host not working on .com domain

I have got a strange problem. I have two domains: mysite.co.uk and mysite.com, which need to point to the same directory on my server. The VHost for mysite.co.uk works perfectly. However, mysite.com ...
0
votes
1answer
42 views

How to enable group-writable suexec-capable CGI scripts?

I have been asked to set up a shared webspace on our department webserver that may be accessed by multiple people and which might be running CGI or PHP scripts. The people maintaining the webspace ...
-1
votes
1answer
27 views

all vhost are pointing to single localtion in openSuse 12.3

I have a virtual host setup for development on my local machine a.local, now I'm adding another vhost b.local, I created another vhost file in /etc/apache2/vhosts.d/ as b.local.conf. When I access ...
1
vote
2answers
37 views

Apache vhost configuration for ServerAlias getting default

Given this configuration: NameVirtualHost *:80 Listen 80 <VirtualHost *:80> ServerName default.example.com </VirtualHost> <VirtualHost *:80> ServerName ...
0
votes
1answer
58 views

apache2: two virtual hosts interfere

I am a developer, not a sys-admin :) I always have been running multiple vhosts in parallel on different ports, but this time something is interfering. I have one vhost which runs a python-based ...
2
votes
1answer
43 views

What is the best setup of mod_mono with more virtual hosts?

I have VPS on debian, where I want to host at least 20 virtual hosts running mono application. On PHP I was using mpm_itk to run each vhost under its own user (I thing it is good for security and ...
1
vote
1answer
36 views

Limit mod_security rule to one vhost only

I run several domains (via vhosts) with the same apache installation. Some domains require different mod_security rules than the others. In a seperate exceptions.conf file I collect all those rules ...
1
vote
1answer
905 views

Munin - apache_watch_ plugin, does not show any data in the graphs that shows activity for per vhosts

I am using Munin for monitoring my server. I installed the apache_watch_ plugin so that i could see apache related activity. The graphs for apache_accesses, apache_processes and apache_volume work ...
-1
votes
0answers
24 views

Simple web UI to configure vhosts

I have a rather simple problem that I want to solve. I have a server that I want to use as a general webserver. I'm trying to find some simple web based UI to use for configuring this. My ...
0
votes
1answer
24 views

Plesk, access all vhosts via default.com/~some-domain.com?

Is it possible to access vhosts/domains created on server but not directly via domain which is created. I would like to have access in the form http://www.maindomain.com/~otherdomain.com or similar. ...
0
votes
1answer
41 views

mod_vhost_alias VirtualDocumentRoot many domains

I'm sure I'm not the first person to encounter this problem, but I cannot, for the life of me, find an answer - although that could be down to not knowing what to search. I have the need to host many ...
0
votes
2answers
75 views

Apache virtualhost strange behaviour

I have multiple domains linked via A-Record to my server. For all of them I created a virtualhost. Some of them run with and without of www. Some have additional subdomains and some have wildcard ...
2
votes
1answer
42 views

Load balancer apache what's wrong

I' trying to make a load balancing using apache but when I got to my (Local)host 'load' got Not found I've been load those mods LoadModule proxy_module modules/mod_proxy.so LoadModule ...
1
vote
1answer
138 views

Best practices setting up Apache2 Virtualhosts with Aliases?

I'm setting my Apache2 Virtual Hosts, in a Debian Squeeze server, in this way: filename: whatever.mydomain.com Alias /whatever /var/www/whatever.mydomain.com <VirtualHost *:80> ...
0
votes
0answers
26 views

VHosts in lighttpd on the specific port

I'm looking for solution of my specific problem, which is obvious, but not for me and Google. I'm switching from Lighttpd from Apache. I want simple vhost(or not) configuration like: /srv/something ...
0
votes
1answer
34 views

Apache 301 redirect in vhost

I wish to redirect(301) a url if the url dont have a string present in it. eg: http:://example.com must always redirected to http:://example.com/en http:://example.com/test.html must always ...
0
votes
1answer
78 views

Apache not accessing a symlink vhost directory?

Alright I've been hitting my head against the desk trying to figure out whats going on with this virtual host. I'm able to load the standard html and php files from the default doc root but can't load ...
2
votes
2answers
47 views

Apache vhosts - How do I route many sites one way, but route dev site differently?

127.0.0.1 developmentsite.com 127.0.0.1 blockeddomain1.com 127.0.0.1 blockeddomain2.com I would like to block the last 2 domains (and a bunch of others). For this I have added the following vhost ...
0
votes
1answer
70 views

Investigating a phishing complaint

UPDATE: Seems it was a fake email, so not really that urgent, but the questions are still valid. So I received an email about a VPS I host (I'm a VPS hosting company, this is a customer VPS) being ...
0
votes
1answer
70 views

How to create an error_log in each's vhosts httpdocs directory

Running a CentOS 6.4 server with Plesk 11 and virtual hosts for each client/domain. What I'm now trying to accomplish is to auto-create an error_log in each user's httpdocs folder in case of problems ...
0
votes
2answers
93 views

Apache doesn't parse PHP on VHOST while it works on default

I set up a Debian 6 VPS to host couple of small sites and it works beautifully for default one. Next i created new user and copy/paste default vhost file and enabled it with a2ensite and only ...
0
votes
1answer
63 views

Apache - how do I create an exception for a vhost's VirtualDocumentRoot in httpd.conf?

I'm new to Apache, and I'm wondering if there's a way to configure VirtualDocumentRoot to create an exception for just one of my vhosts on my local server. Currently all of my sites are stored in ...
0
votes
1answer
80 views

Plesk open_basedir restriction in effect - restart server issue

Hello Everybody, I got Plesk on a dedicated server. I had open_basedir restriction in effect error in my php application, so i have edited the php.ini files on server core and created one within ...
1
vote
2answers
847 views

How to fix NameVirtualHost*:80 has no VirtualHosts on Apache2 first time Install?

I have made my first server following a tutorial here setting up domains on Apache2. When I try running /etc/init.d/apache2 restart I get this error: [Mon Oct 29 11:47:17 2012] [warn] ...
-3
votes
1answer
62 views

Ip address goes to lowest alphabetical domain on server

If I type in my server ip address into a browser, it always goes to the lowest alphabetical domain on my server. So if I had these domain on my server: zty.com typ.com dfo.com ...typing in the ip ...
1
vote
3answers
334 views

CentOs vhost shows default apache page [closed]

I'm using CentOs 6.2. On this server I want to host 1 website. I created a vhost in httpd.conf. You can see the setup below. The problem is that when I go to the domain I get the apache default ...
0
votes
0answers
33 views

Two tomcat instances behind apache

I have three servers. Server A is a Apache Server, Server B and C are Tomcat Servers. I added two new Virtual Hosts to the Apache 1st Host: <VirtualHost *:80> ServerName dev.domain.com ...
0
votes
1answer
51 views

Apache, serving a subdomain from a different directory than webroot

I'm trying to serve two projects, separately, from a shared directory on an Ubuntu server via Apache. The directory of the whole kit and kaboodle looks something like: /project /api /app Now, ...
-1
votes
1answer
43 views

Secondary domains not working on dedicated server

I have a domain pointing to the dedicated IP address on my dedicated server working fine. The problem is that any other domains I create pointing to shared IP addresses on the server are not ...
1
vote
1answer
47 views

Godaddy forward multiple domains to static ip with vhost

Hello and sorry if this is a duplicate, just couldn't find the answer... So i own domainA.com and domainB.com (from Godaddy). I forward both to my static ip. Web server is apache 2.2.23 with local ip ...
2
votes
2answers
33 views

apache2 points non-www to root instead of website folder

I have few different vhost created and every one has its own folder in /var/www/ like this /var/www/example1/ /var/www/example2/ Now, when I type url with www www.example1.com it points to the ...
0
votes
1answer
9 views

Default log directive for vhost

I'm using Apache 2 with VirtualHosts and currently, I'll have to add ErrorLog/CustomLog manually for each new vhost (I know I could use a script to create them). Is there a way to define those ...
0
votes
1answer
36 views

nginx: how to overwrite one directive

I'm trying to organize my vhost configs in several files, so that there is a view basic files / "templates" and the rest just include them and overwite settings as needed. Here is described, how the ...
1
vote
1answer
169 views

Setup a shared Varnish server

Having set up and configured Varnish Cache to handle caching for a single site, I'm looking into expanding the service to cover multiple sites running across multiple webservers, each in turn running ...
-1
votes
2answers
88 views

Why does 127.0.0.1 point to virtual host?

I have a Virtual Host set up in apache to run CodeIgniter: <VirtualHost *:80> DocumentRoot "/var/www/CodeIgniter" ServerName codeigniter.loc </VirtualHost> Problem is, when I ...
0
votes
2answers
30 views

Which hosts file is apache using?

I'm trying to set up apache virtual hosts on my local machine. Since my file system is kind of a mess, I have several hosts files hanging around. Is there a way to determine which hosts file my apache ...
0
votes
1answer
321 views

Apache vhosts config: Host Name instead of IP Address

I have a domain (example.com) hosted at an external provider. I directed the subdomain sub.example.com to my ubuntu server (12.04 with apache2). On my ubuntu server I have a vhost setup like this. ...
3
votes
4answers
357 views

Nginx rewrite rule “^/([a-z0-9]{32})\.png$” not working (used to work on Apache)

I have these rewrite rules (I tried both with no avail): location ~* "^/([a-z0-9]{32})\.png$" { rewrite ^ /index.php?page=log&id=$1 last; } and location ~* ...
1
vote
2answers
749 views

Is it possible to run an Apache VirtualHost on port 443 with SSL off?

I am running a site completely over SSL using a load balancer in front of Apache doing all the certificate handling and decryption. I let HTTP traffic through the load balancer so Apache can handle ...
0
votes
0answers
68 views

Apache Virtual Host loads only one site at a time - 30s timeout

I have an issue with multiple virtual hosts on Apache2 on a default Turnkey Linux LAMP server (Debian Linux 6.0). They work fine, loading both websites, but not at the same time. I have set up two ...
0
votes
1answer
45 views

Apache vhosts configuration

I have big problems trying to figure this out so please help me out. I have several virutal hosts configured and using the Debian default way of configuring vhosts. 2 folders sites-available ...
0
votes
1answer
32 views

Apache modrewrite for vhost applies to all vhosts

I have three separate dvhost configurations on sites-available and one of them contains: RewriteEngine On RewriteRule ^/$ /app/login.axvw [R] The major problem is that it redirects all other vhost ...
0
votes
0answers
43 views

Wildcard SSL for *.example.com generated from a.example.com - unable to apply to b.example.com

I am having a problem with understanding/setting up wildcard SSL certificate. The scenario is this: example.com(HTTP) domain is hosted by third party company and as it does not provide specific ...
1
vote
0answers
41 views

Is there any soft / hard limit on the number of virtual hosts that Nginx can handle?

And what are performance implications? Is it practical to host tens of thousands of vhosts on one Nginx instance? How much would the increased latency be? We plan to offer custom domains for users, ...
1
vote
1answer
33 views

How to deal with SSL default site with multiple vhosts

So I have multiple IP's on one server and for each IP I have a SSL website configured. This is working fine. However I server a number of non-SSL sites on the primary IP. The problem occurs when a ...
0
votes
1answer
131 views

Cannot add subdomain after editing vhost templates in DirectAdmin

Issue I have a virtual private server running Debian with DirectAdmin. I have edited the vhost template files used by DirectAdmin so that subdomains aren't placed in the main domain's public_html. ...
1
vote
1answer
197 views

After svn switch - (405 METHOD_NOT_ALLOWED) or (500 Internal Server Error), why?

I have recently (today!), moved my SVN repository to my own server. I am having trouble checking out from my new repo and also updating my current working copy to use my new repo (which is a svnsync ...
3
votes
2answers
242 views

vhost setup for multiple SVN repositories on same server

I have 2 svn repos on my EC2 instance. They are located in /ebs/svn/repo1 & /ebs/svn/repo2. I have created a domain alias svn.mydomain.com, to point to the parent directory of above (/ebs/svn). ...

1 2 3 4 5