Using Apache Virtual Host, you can run several websites on the same server.
0
votes
1answer
21 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
43 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
28 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
63 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 ...
1
vote
1answer
39 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
votes
0answers
25 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
30 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
45 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
79 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
43 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 ...
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
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
2answers
99 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
67 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
82 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 ...
1
vote
1answer
150 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
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
1answer
81 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 ...
2
votes
2answers
48 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
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
36 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
177 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
91 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
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 ...
3
votes
4answers
365 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 ~* ...
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
42 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
0answers
69 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 ...
1
vote
1answer
201 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
244 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).
...
0
votes
1answer
132 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
0answers
113 views
Homebrew PHP 5.4 and Apache [closed]
I've installed PHP 5.4.9 using homebrew-php
In my httpd.conf the following line when uncommented works, but a php_info() reveals that apache is still using the default PHP 5.3.
LoadModule ...
0
votes
2answers
158 views
Apache2 default vhost in alphabetical order or override with _default_ vhost?
I've got multiple named vhosts on an Apache web server (CentOS 5, Apache 2.2.3).
Each vhost has their own config file in /etc/httpd/vhosts.d and these vhost config files are included from the main ...
-1
votes
1answer
46 views
Name-based virtual hosting in Apache [closed]
I'd like to set up name-based virtual hosting in Apache, but I don't have DNS name (local private network). Thus I want to get something like that:
http://192.168.0.1/wiki - First virtual host - ...
1
vote
3answers
338 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 ...
1
vote
1answer
226 views
Mac OS X Mountain Lion adding www to virtual host on localhost
I'm new to configuring my Mac for localhost so this may be a dumb question. I want to set up a virtual host so that http://localhost/domain points to http://domain.dev. In my Apache configuration, I ...
1
vote
0answers
78 views
Change domain (vhost?) on Gandi simple hosting
I have a Gandi Simple Hosting account and a domain (domain 1) which I also registered through Gandi. Gandi hosting is unfamiliar to me as it uses instances that don't have IP addresses. Currently I ...
0
votes
1answer
53 views
Is it possible to have multiple <Directory>'s in a vhost.conf?
My webserver is running Plesk and for each new site a vhost.conf file is created that has some include_path and open_basedir settings in it:
<Directory /var/www/vhosts/website.nl/httpdocs>
...

