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

learn more… | top users | synonyms

0
votes
1answer
15 views

Serve different domain requests to multiple servers (i.e. Apache/Node) all through port 80

What I'd really like to be able to do is run Node, and Apache (or maybe nginx) on the same Raspberry Pi (running Debian for Pi). In the way that apache can set up vhosts for multiple sites on the ...
0
votes
0answers
20 views

Creating a jail on debain or stick to vhost? [closed]

Trying to get my head around the differences between a Jail and a Vhost... The concept of creating a "Jail", is this only on freeBSD or this something available on linux too? And what is the ...
-1
votes
0answers
5 views

Setting up multiple domains for local development “apps” in Bitnami [migrated]

I've downloaded and installed Bitnami on my machine to run my development environments. Everything works fine when I go to localhost/appName. However, I'm trying to get up custom domains for each of ...
1
vote
0answers
49 views

Apache2 - 500 server error when trying to access .php file

I have a webserver (Apache2, configured on Ubuntu Saucy Salamander 13.0x). On this server I have the following file in question: /var/www/xxxxx.com/insertToDB.php Accessing this file using GET ...
0
votes
0answers
34 views

ec2 vhosts serving from wrong directory

I've been struggling with this one for hours and must have a really simple error! I'm setting up an EC2 server and thus I've create 2 sub-domains from my currently live site and pointed the A ...
1
vote
1answer
25 views

CGI Script not running in PHP file

I have a CGI script in the server called script.cgi and I have added the following code to the domain vhost: Action add-footer /cgi-bin/script.cgi AddHandler add-footer .htm .html I have ...
0
votes
1answer
26 views

Apache Alias - Chiliproject

I'm trying to setup Chiliproject (a ruby application for project management) I have setup my Apache already. However I want the Chiliproject to be like http://abc.com/Chiliproject as I want the ...
0
votes
0answers
30 views

WAMP, Vhosts and mod_rewrite not all playing nicely together

I have a client using a Windows 2012 server with WAMP installed. We use PHP 5.4 with mod_rewrite for SEO friendly URLs. All was working well with them until we tried to enable vhosts to set up a ...
3
votes
3answers
132 views

Deny requests for other domains in Apache 2

Let's say I have xy.com running on a server powered by Apache. It's the default virtual host. Now someone has rewritten his hosts file to redirect yz.com to my server's IP. As my server doesn't know a ...
0
votes
1answer
49 views

Apache HTTPS redirect from old domain to new HTTPS Domain

I used to have a domain which used to have a SSL Certificate, it still does have. But I have changed the domain, and I also have a new SSL Certificate for that new domain. I still have users ...
0
votes
1answer
73 views

Apache ProxyPass in Dynamic Mass Virtual Hosting

In order to make my life easier with new vhosts popping up I set up my httpd.conf to use this: <IfModule mod_vhost_alias.c> <VirtualHost *:80> RewriteEngine On RewriteCond ...
0
votes
1answer
115 views

Configure Apache To Return Nothing For Default 443 VHost

I have several vhosts on port 443 and each of these vhosts have the ServerName config option set and also the correct SSLCertificateFile and SSLCertificateKeyFile values as well which vary depending ...
0
votes
0answers
38 views

Apache vhost folder isolation on Windows server

I'm running a web server which has been attacked by a WordPress virus. After clearing all things that haved been drop everywhere in my www folder, I decided to isolate every vhost in their own ...
20
votes
5answers
3k views

A domain I've never heard of resolves to my website [duplicate]

I've discovered (via looking at mod_pagespeed cache entries) that a completely random domain I've never heard of before is resolving to my website. If I visit this domain, my website loads. The DNS ...
1
vote
1answer
136 views

Apache2 SSL websites keep redirecting to the default website

so I have a Apache2 web server fully operational running in ubuntu. I have successfully modified the vhosts file for normal :80 requests and all web sites function correctly. However, once I attempted ...
0
votes
1answer
31 views

Apache - how to use a rewrite rule per vhost?

I have set up a vHost as follows: <VirtualHost *:80> ServerAdmin webmaster@example.com ServerName example.com ServerAlias www.example.com DirectoryIndex index.php DocumentRoot ...
-1
votes
1answer
29 views

apache disable unconfigured subdomains [duplicate]

There is a webserver which has example.com, www.example.com, my.example.com, shop.example.com, static.example.com. All sites except www.example.com is on https. My problem is when I type ...
1
vote
0answers
51 views

Multiple VirtualHosts in vhost.conf on Plesk 11

I have a V-Server running on CentOS with Plesk 11. There I have a webspace with multiple subdomains. I have also a JIRA on port 8280 and a Confluence on 8290 running. My goal is to access JIRA with ...
0
votes
2answers
736 views

nginx default server not working

I'm using Debian, most recent dotdeb nginx-lite. I've read that the first server section found by nginx will be used as the fallback/default section used if there is no specific server section for a ...
1
vote
1answer
45 views

apache/vhosts how to specify what project is loaded at 127.0.0.1

I run MAMP on my mac book and have many projects. I use a single httpd-vhosts.conf for all my vhost configs. In one of my apps I need to have a 3rd party API redirect to my app at 127.0.0.1/[route]. ...
1
vote
1answer
80 views

WAMP, subdomains doesn't work in lan

im trying to set up local subdomain for my new site, i can w/o problem access url: serverxyz from any pc in my network, but when it comes to subdomains it is only possiable from PC that host ...
1
vote
1answer
224 views

Require ldap-group on apache 2 vhost fails when trying to log in

I have a vhost which I'm trying to get to work with LDAP-authentication. My configuration looks like this: <VirtualHost 0.0.0.0:80> DocumentRoot "/var/www/root/" ServerName ...
0
votes
1answer
77 views

Problems with Vhost on Ubuntu 12.04 + Apache2

maybe somone can point me in the right direction with this. A Domain (kat.mydomain.de) pointed to a Ubuntu Server. We set up a new server and changed the Ip adress of the url to the new Server Ip. ...
0
votes
1answer
17 views

apache location directive spanning virtual hosts

I have a simple question. In my environment there is a apache configured like this. <VirtualHost 1.1.1.1:80> ServerAdmin a@example.com DocumentRoot /apps/docroot/ ...
1
vote
1answer
54 views

Conflict between SNI and HTTP provided domains

I have recently moved a WordPress website with a smal lstore from one hosting provider to a server of my own running Ubuntu Server 12.04.2 LTS and Apache 2.2.22. I require SSL for the store. I setup a ...
1
vote
0answers
28 views

“Masquerade” mail sender on a multi-domain shared hosting

I've a single host with CentOS 6.3. I manage that host via SSH. The server itself is uname -n: servername.foo.com. On this host I've multiple, unrelated httpd vhosts. The problm is: when one vhost ...
0
votes
2answers
51 views

Placeholders for apache2 VirtualHost

I have a conf like this <VirtualHost *:80> VirtualDocumentRoot /Users/molfar/Sites/%-2+ </VirtualHost> I'd like to dynamically set error and access logs paths. I tried the following ...
0
votes
5answers
122 views

Reject HTTPS connections to other hostnames

I have an SSL certificate installed and working for my website, however, 5 different domains all point at the same host, and if a user is directed to https://(the other four) they get a big angry red ...
0
votes
2answers
32 views

how to deny outside access to multiple vhost sites with one config?

We run multiple sites off one server using vhosts. On one Friday night, we found ourselves with an issue where we needed to kill outside access to all the sites. At the time, we found ourselves ...
0
votes
1answer
81 views

Mac OSX 10.8.4 - Apache - Setting up Virtual hosts

I can't seem to get my virtual hosts working: I have an /etc/apache2/users/scottr.conf set up as: <Directory "/Users/scottr/Sites/"> Options Indexes MultiViews FollowSymLinks ...
1
vote
1answer
104 views

Why the nginx doesn't respond to domain names?

I have nginx with following vhosts: A gitlab vhost: server { listen 443; server_name gitlab.mydomain.com; # e.g., server_name source.example.com; server_tokens off; # don't show ...
0
votes
0answers
58 views

Apache2 - Vhost keep redirect to https vhost, and not the request vhost

i am facing an issue with my vHost setup which I rly can't figure out how to fix First my vhost config: <VirtualHost *:80> ServerName dnsmaster.anonogle.com:80 DocumentRoot /var/www/dns ...
0
votes
0answers
30 views

Phusion Passenger Apache vHost to Sub Directory

I have a rails app that we're trying to migrate t our servers for DNS purposes. The app generates a user url ex ourapp.com/user1. Say user one wants to point user1.com to their respective ...
-1
votes
1answer
97 views

SSL works fine, how can I add in https redirection from http?

Hi I'm having major problems with a server, SSL works perfectly when connecting with https://..., I need to set up redirection from http to https. This is my ssl.conf, CentOS-6, with one IP address. ...
1
vote
1answer
111 views

nginx as proxy multiple vhosts

Runing Windows Server 2008 R2 nginx on port 8080 Apache on port 80 Apache is hosting 5 websites configured within the directive. I'm trying to configure nginx as proxy in front of Apache, (I'll ...
1
vote
0answers
185 views

Configuring dnsmasq to properly work with mod_rewrite on Mac OS X Mountain Lion

I desperately need help. I read an article on the echoditto blog (http://www.echoditto.com/blog/never-touch-your-local-etchosts-file-os-x-again) and followed the recommendations for setting up ...
0
votes
1answer
28 views

Apache and mod_wsgi prevent user from viewing source

I'm running a WSGI application written in Python with flask on Apache. I have so far configured my vhost correctly to use my application. <VirtualHost *:80> ServerName mydomain.com ErrorLog ...
0
votes
1answer
211 views

Windows Server 2008 R2 Multiple Subdomain DNS Entries + WAMP

I have a Windows 2008 R2 (VPS) server. I have DNS enabled/installed and WAMP as the web server. Initially was going to be IIS but my php application framework I am using is not compatible with IIS. ...
2
votes
2answers
109 views

Add www subdomain to my Wildcard Virtualhost

On my local dev server, I set up test sites with the domain like this projectName.dev Using the setting below in my Apache config file... NameVirtualHost *:80 <VirtualHost *:80> ...
2
votes
1answer
88 views

Apache: Serving same file on multiple vhosts using regex

I have various virtual hosts (vhosts) setup on an Apache 2.2 server such as: examplea.domain exampleb.domain testsitea.domain testsiteb.domain testsite.domain othersitea.domain On virtual hosts ...
0
votes
0answers
19 views

Website on IIS 7.5 changes behavior depending on its vhost

I'm on a Windows 2008 R2 SP1. I have a website that exhibits a strange problem under the .net framework 4 (you can read the details here) that is bound to partners.company.fr. However during tests we ...
-1
votes
2answers
306 views

Apache vhost log rotate by date

I've got Apache 2.2 running on Debian 7 (on a VPS), with virtual hosts defined for several different websites. I've set up individual error and access logs for each vhost, but I've not found a way to ...
2
votes
1answer
66 views

vhosts with various hosts and http/https

I have the file underneath in my vhosts.d directory and it's called hosts.conf (from what I gather the name isn't a problem). Now there are various hosts as you can see, if I use http (port 80) no ...
0
votes
1answer
243 views

Redirection issue with multiple domains in nginx

I'm having redirection issues when I try to access DomainB on my browser, for some reason I get redirected to DomainA, what could be going on here? (This is my sites-available folder) Btw I removed ...
-1
votes
1answer
56 views

VIrtual hosts for wild card domain not working

I have configured apache to run alongside with nginx on port 8080. For some odd reason, I also have a wildcard domain defined at my DNS server, I've checked it, and it works(zazazazzaaaz.mysite.com ...
2
votes
1answer
74 views

VHosts config location

I removed Plesk from my server and now I'm trying to figure out how the virtual hosting works. My etc/apache2/apache2.conf and etc/apache2/sites-available/default both appear to point to /var/www/ ...
1
vote
2answers
58 views

Does vhost order make a difference?

On our Centos webserver, Apache has a httpd.conf file which lists several vhost.conf files. We have five of these files for different sets of domains. One vhost.conf file can have hundreds of domains, ...
0
votes
2answers
625 views

Cant get access to phpmyadmin with nginx under debian “No input file specified.”

I've installed Nginx, php-fpm, mysql and phpmyadmin.. When I type myserver.com I see "Welcome to nginx!". But when I type myserver.com/phpmyadmin, I got : "No input file specified. ". I know it's ...
1
vote
1answer
89 views

What is the best way to compare vhost traffic? [closed]

Recently one of my servers has been subjected to malicious ddos attacks. I have about 12 websites hosted on the server which uses name based v-hosting. I am trying to identify which virtual host(s) ...
1
vote
0answers
61 views

Apache2 conditional section based on port

I don't know much about if statements in apache configuration, and I'm wondering if I can have a section of the configuration applied only if the request is received on a certain port. In short, this ...