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

learn more… | top users | synonyms

0
votes
1answer
27 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
0answers
13 views

Subdomai(vhost) override for apache with ispconfig 3 on aws [closed]

Pardon me as i am noob to the server stuff. I am actually trying to setup ispconfig 3 control panel over [ubuntu 12.04] ec2 instance. I have successfully installed webmail, clamav and ispconfig etc ...
0
votes
1answer
53 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
25 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
81 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
23 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
18 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
34 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
53 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
27 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
41 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
83 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
41 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
15 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
40 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
18 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
45 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
84 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
30 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
59 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
73 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
50 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
24 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
63 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
95 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
131 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
26 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
147 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
95 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
73 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
18 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 ...
-2
votes
2answers
206 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
52 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
135 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
43 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
73 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
55 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
455 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
87 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) ...
0
votes
0answers
51 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 ...
1
vote
1answer
560 views

a2ensite doesn't show all sites in /etc/apache2/sites-available

I just did a big reinstall of Apache2 (Debian 2.4.4-6, libapache2-mod-php5 5.5.0~rc3+dfsg) and when it reset, all of my vhosts broke. Wondering if I accidentally purged my vhost configurations, I went ...
2
votes
1answer
141 views

Redirect https .com to https .co.uk without a valid SSL cert on .com without DNS change

I have an SSL cert valid for the www. and . subdomains on a domain. That's up and working great. All traffic on http redirects to https, and all bare domain traffic redirects to the www. version. In ...
-1
votes
2answers
163 views

Techniques for securing mod_php for shared hosting (WAMP)?

I've setup a web server for production use. The OS is Windows Server, and it runs Apache 2.0 and PHP 5.3 as an apache module (and MySQL too...). It is used to host several virtual hosts (Apache ...
0
votes
0answers
27 views

How to have a vhost point to another vhost's sub folder URL

I have 2 Virtual hosts set up like this... vhosts/domain which is accessed at www.domain.com and vhosts/domainblog which is accessed at www.domain.com/blog Well the blog part is not setup yet, ...
4
votes
2answers
53 views

Redirect a subdomain to a directory with vhosts

I'd like to redirect a subdomain to a user directory. So I've tried this config, but it seems redirect to the root folder. <VirtualHost *:80> ServerName epnet.fr ServerAlias *.epnet.fr ...
0
votes
1answer
57 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
2answers
47 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
49 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
104 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 ...