Questions relating to virtual hosting; that is, serving content for multiple logically-separate entities from the same machine. Usually relates to name-based virtual hosting in the web server, but can also cover other protocols such as SMTP or IMAP.
0
votes
0answers
23 views
A way to manage https virtual hosts and their certificates [closed]
I want to provide hosting for websites with different TLD, every website is to be accessible through https only and all of them on single IP (by using SNI). Is there a way to configure either http ...
0
votes
0answers
16 views
Correct rewrite rules from Apache to Nginx? [closed]
I'm having quite a difficult time translating some .htaccess rules to Nginx. My .htaccess codes are:
RewriteEngine on
Options -Indexes
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
RewriteRule ^(.*)$ ...
0
votes
1answer
44 views
Two domains (when SSL) on same directory
My apache2 configuration is problematic: I've two website on a server:
domain1.tdl
domain2.tdl
One of them (domain2.tdl) must be and is accessible on port 443 (with SSL). All domains must be and ...
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
0answers
25 views
Apache Virtual Host Slow Download Speed on ubuntu Server
I have configured two virtual Hosts on apache 2.2.22 running on ubuntu server 12.10
The first Virtual Host is the default *:80 and the second is running on *:8081
When I download from the default I ...
0
votes
1answer
24 views
Apache ProxyPass Virtual host
I'm trying to do a similar setup to the one discussed in this older thread. I've enabled the proxy_module, proxy_connect_module, proxy_http_module, and rewrite_module. It worked, but now when I go ...
0
votes
1answer
45 views
Moving Windows Server to the Cloud
We have an ageing Windows webserver hosting web applications through IIS and contains an SQL Server 2005 instance. It runs a range of websites from standard HTML, through classic ASP and up to ...
0
votes
1answer
25 views
Virtual hosts only working for 2/4 directories?
I am running CentOS 6.2 and I have in httpd.conf the following:
<VirtualHost *:80>
ServerAdmin user@example.co.uk
DocumentRoot /var/www/html/example.co.uk/public
ServerName ...
1
vote
0answers
21 views
Apache: block file access outside Document Root
I manage with easyphp numerous sites locally, for convenience and speed.
I config with Apache an Alias for each site:
Alias "/site.com" "C:/Work/site.com/Dev"
<Directory "C:/Work/site.com/Dev"
...
1
vote
1answer
47 views
SSL setup with apache in front of tomcat
i m trying to setup Apache with SSl and proxy SSL requests to my tomcat instance. I think i made the SSL work but theres still a error that shows up:
Bad Gateway
The proxy server received an ...
0
votes
1answer
21 views
apach2 block non-name-based virtual host
I am using apache in Ubuntu 12.04. I set up my apache server using name-based virtual host, but it seems block other port when I want to access other port directly using IP address.
I run
sudo ...
0
votes
1answer
32 views
Why is index.cgi displayed as content instead of being executed?
I am trying to make a site with index.cgi, if available, served up as the content. In /etc/apache2/sites-enabled/000-default, I have:
DirectoryIndex index.cgi index.html
DocumentRoot ...
0
votes
0answers
27 views
Site unreachable due to DNS errors for Google Webmaster Tools
I have my Apache server configured for name-based virtual hosts and have multiple domains pointed to the same IP that is owned by my server.
Before I started a mail server on one of those domains. ...
3
votes
1answer
30 views
Munin in a subdomain using Apache Virtual Host
I'm trying to install Munin in my server and configure the web interface to work in a subdomain. I've configured the subdomain stats.mysite.com and created the file ...
0
votes
0answers
24 views
Apache VirtualDocumentRoot for Multiple Sites
I have the following VirtualHost section:
UseCanonicalName Off
NameVirtualHost *:80
<VirtualHost *:80>
VirtualDocumentRoot /sites/%0/httpdocs/
##VirtualDocumentRoot /sites/%-2/httpdocs/
...
1
vote
1answer
16 views
How do I make virtual host DirectoryIndex file appear in the url?
I have setup a virtual host which specifies a default file to load when the URL is called.
The problem I have is that I need that default DirectoryIndex file to appear in the URL.
So when I go to: ...
2
votes
1answer
58 views
CentOS, ifdown on virtual interface removes IPv6 addresses on physical interface
In CentOS 6.4, when using 'ifdown' on a virtual interface, the IPv6 addresses configured on the physical interface are also removed. I expect only the virtual interface to be changed.
How can I ...
1
vote
1answer
30 views
Virtual DocumentRoot configuration for both WWW and non-WWW - WITHOUT redirect
I have searched a lot but can't find an answer
When you setup Dynamic Virtual Hosts in Apache, you do something like this:
RewriteEngine On
# a ServerName derived from a Host: header may be any ...
1
vote
0answers
24 views
How to setup nginx that it's don't use ipv4 in ipv6 notation?
I'm using nginx in a dual-stack environment (native IPv4 and native IPv6 conection at the same time). Threre is an external application which nginx is the proxy for. Unfortunately this application ...
0
votes
2answers
34 views
apache virtualhost to be limited to one domain on the same server
I have several domains running under apache. Most of theme they do not have yet virtualhost. My problem is that all this not registered domains by apache are getting redireted to the setup domain. How ...
0
votes
1answer
49 views
Infinite loop with VirtualDocumentRoot, .htaccess and mod_rewrite
I want to set up robust multiuser development environment with apache2.
So I placeed the following file to etc/apache2/sites-available/mydomain.com
<virtualhost *:80>
ServerName ...
0
votes
1answer
37 views
Wordpress permalinks reach apache 404 not wordpress 404.php or their real respective pages. Redirects or apache config mistake?
I just did clean wordpress install and set up its .htaccess like they say i should do :
http://codex.wordpress.org/Using_Permalinks
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
...
-1
votes
0answers
31 views
Mac computer name on network [closed]
I've set up an Apache web server on a Mac computer on a local network. The computer's name is "mybox", and by going to http://mybox/ in windows/firefox or other browsers in this network I can have the ...
1
vote
1answer
31 views
Don't log favicon.ico erors
I run an apache2 server with some vhosts (50-100). A lot of these do not have favicon.ico files, cluttering the error logs with messages like
[Thu Mar 21 14:07:40 2013] [error] [client 84.xx.xx.xx] ...
0
votes
2answers
37 views
Apache VirtualHost: Moving from one site to “single server, 2 sites”
Currently, I have a single production website running on Apache/2.2.3. I use mod_rewrite extensively and have about 200 RewriteRule's.
Now I need to add another website from a second domain name to ...
0
votes
0answers
22 views
website hangs after multiple ctrl+f5 (virtual server debian)
I run a virtual server on debian and I noticed that after multiple requests (refreshing browser multiple times using ctr+f5) maybe 10x in a row, my website hangs. I assume that is caused by a limit of ...
0
votes
0answers
14 views
What are the open source alternatives to ScaleMP? [duplicate]
ScaleMP allows you to virtualize multiple physical servers into one. See http://www.scalemp.com/
What are the alternatives? What are the open sources alternatives?
Is open source community doing ...
0
votes
1answer
114 views
centos 6.4 - django deploy with apache and mod_wsgi
I'm trying to deploy on a VM with centos 6.4 a basic django project with apache and mod_wsgi. This is the project tree:
myproj/
├── manage.py
├── myapp
│  ├── __init__.py
│  ├── models.py
│  ├── ...
0
votes
1answer
28 views
Specifying multiple NameVirtualHosts in a VirtualHost configuration
My server is running Apache2 and the configuration contains several NameVirtualHost settings.
# Example
NameVirtualHost aaa.bbb.ccc.ddd:80
NameVirtualHost xxx.yyy.zzz.qqq:80
NameVirtualHost ...
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 ...
0
votes
2answers
47 views
Accessing website from two ports - Apache config
I have a website setup and want to be able to access the same site from two different ports. Does anybody know how I would do this?
For example, I want to be able to access exactly the same at ...
0
votes
1answer
33 views
Using an Apache VirtualHost to access a Node JS instance on the same server
I am using VirtualHosts to allow access to various domains and subdomians of my site on the same Apache server. Along the lines of:
<VirtualHost *:80>
DocumentRoot /var/www/site
...
-3
votes
2answers
47 views
setting up virtual host on windows apache [closed]
I need help configuring virtual hosts in apache on Windows.
I have the following in my hosts file:
127.0.0.1 ebdowns
in httpd-vhosts.conf I have made the following entries:
NameVirtualHost *:80
...
0
votes
2answers
52 views
Apache httpd-vhosts.conf file sending all requests to default vhost
What is wrong here?
NameVirtualHost *:80
<VirtualHost *:80>
ServerName domain1.com
ServerAdmin membersupport@domain1.com
DocumentRoot /var/www/html/domain1-com
</VirtualHost>
...
0
votes
0answers
24 views
Issue related to virtualhost and .htaccess
I know this is probably a stupid question but I'm desperate. I'm working on a server and I have added a virtual host entry like the below one:-
<VirtualHost *:80>
ServerName ...
0
votes
2answers
114 views
VirtualHost won't allow two domains
This is my VirtualHost file
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/www/html/backendtwo/
ServerName www.designer-school.com
</VirtualHost>
<VirtualHost *:80>
...
0
votes
1answer
14 views
Virtual host not linking to correct website
I have the domain designer-school.com and I am using my httpd.conf file to connect to a folder on my server and display the site.
<VirtualHost *:80>
DocumentRoot /var/www/html/backend
...
0
votes
2answers
69 views
Setting VirtualHost
I am using Centos6.3 and I have configure apache using the Slicehost tutorial.
My configuration is the following:
<VirtualHost *:80>
ServerName christabellehotel.com
ServerAlias ...
-1
votes
1answer
27 views
404 errors with Virtual Host [closed]
Machine: Mac Book Pro
Web Server: Apache
I'm building a Wordpress site locally and I've set it up as a virtual host, I've made the following changes to http-vhosts.conf:
<VirtualHost *:80>
...
0
votes
1answer
16 views
virtual hosts with Apache
I thought I was doing it right but obviously ... not
in C:\Windows\System32\drivers\etc\host
127.0.0.1 myDomain
Question 1 : why doest it work for 'myDomain' (myDomain leads to localhost) ...
0
votes
0answers
54 views
mod_rewrite in .htaccess w/ wildcard virtual hosts - preserving subdomain while funneling requests through index.php
I have a project which utilizes wildcard subdomains to allow requests for www.foo.com, api.foo.com, & admin.foo.com to utilize the same document root.
Routing for this project is based initially ...
0
votes
1answer
34 views
VSFTPD Virtual User Group
Currently I have a vsftpd server on a CentOS machine with virtual users. The users are authenticated using MySQL.
The users have all the permissions in their home directory and they are jailed into ...
2
votes
1answer
27 views
Setup default page for Apache Virtual Hosts
We are running Apache on a server with multiple VirtualHost entries. Whenever someone access the server by it's IP address (http://198.147.xx.xx), one of the websites that is a VirtualHost comes up. ...
0
votes
1answer
19 views
Subdomain not linking with folder
The subdomain is working and connecting to my website but linking to the root and no the folder I thought I was linking to.
<VirtualHost *:80>
DocumentRoot /var/www/html/backend
ServerName ...
-1
votes
2answers
46 views
ServerAlias without the www produces 404 [closed]
I've recently been messing around with my server and at one point added some modifications to my VirtualHost file that I have since removed. Despite the fact that it has been restored to it's original ...
0
votes
2answers
42 views
Java virtual hosting manager
I have a server system on which i want to host java web application's.
I can do that only with tomcat and can host multiple application's, but i don't know how can i host multiple application's on ...
1
vote
2answers
40 views
how do I avoid spam domains to point to my site or IP hosting tomcat application
I can across a issue where I saw some xyz.com is pointing to mydomain.com. I am not using Apache, nor IIS but Tomcat 7 directly.
How to I avoid such other spam domains pointing to mydomain.com?
I ...
2
votes
1answer
48 views
Apache mod_ssl - can you refuse to respond to requests with incorrect hostnames?
I've had problems in the past with old DNS entries (belonging to other people) pointing to a server. To prevent the server responding and making those hostnames appear to hold exact copies of my ...
0
votes
2answers
61 views
Re-routing incoming network traffic from sub-domain to specific port on Windows 2008
I'll do my best to explain this.
I've got a Windows 2008 server with TWO local intranet-sites running on it.
The first website will open if you just type in the name of the IP address - ...
0
votes
0answers
29 views
Debian Squeeze apache2 virtual host only serving first vhost
I got a fresh Debian Squeeze setup running apache2.
ports.conf has the NameVirtualHost directive activated and the config files in sites-enable are also according to documentation. DNS is configured ...


