The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
59 views

Redirect subdomain.domain.com to www.subdomain.domain.com

We have currently a wildcard vhost accepting all domain request. I want to redirect subdomain.domain.com to www.subdomain.domain.com so my wildcard will answer One exception, I dont want to ...
-1
votes
1answer
17 views

Apache vhost for subdomain redirects to root

So. I have three sites, which are located at the same host: example.com example2.com sub.example.com Files on servers are located like this: /var/www/example.com /var/www/example2.com ...
0
votes
1answer
26 views

Creating virtual hosts for using same domain based on directories

I want to have a new version of an application which requires a fresh install to be in a new sub dir. Example the old version is at a location var\www\html. The new version I need to have at ...
0
votes
1answer
57 views

Apache - Multiple AuthLDAPURL

I currently have my vhosts setup to authenticate via LDAPS via Apache reverse proxy . I am wondering if it's possible to add a backup/fallback LDAP server if my primary one goes down. I tried working ...
0
votes
1answer
85 views

How to parse and retrieve both subdomain and host name label in Nginx

I'm working with an environment for testing purposes based on a few magento versions over a nginx + php-fpm + mysql stack, i puts each distribution in a different folders and in the nginx vhost config ...
1
vote
0answers
327 views

CentOS 7 httpd /server-status limitations

I have got VPS (using CentOS 7 as my OS) and now I am configuring Munin (monitoring software). I ran into a little problem with Apache monitoring. Now I have got this cfg in my httpd.conf and ...
-2
votes
1answer
63 views

nginx (latest) is not working together with spawn-fcgi

My OS: Debian 7 (latest) x64 My Domain: www.DeadalusHD.com My nginx-vhost: server { listen 80; ## listen for ipv4; this line is default and implied listen [::]:80 default_server ipv6only=on; ## ...
0
votes
0answers
201 views

Subdomain setup on a Centos server, using BIND and Lighttpd (Vhosts)

I'm kinda at my wits end here. I'm trying to setup a subdomain on my host on a network. My computer is ged12345.dev.example.internal on an internal network. This works fine, but I'm trying to setup a ...
3
votes
1answer
164 views

NginX + WordPress + SSL + non-www + W3TC vhost config file questions

I have the following questions about my server block(s) for a WordPress site running solely on https, with nginx and W3TC browser caching. Environment: Ubuntu - 14.04LTS nginx - 1.4.6 ...
0
votes
0answers
97 views

Ejabberd: restrict registration to specific vhost?

I'd like to configure ejabberd so that registration is only possible on the specified vhost. How to enable registration only on xmpp.example.com and restrict access to example.com to admins who ...
0
votes
1answer
91 views

Nginx Server Block Config

I'm having a problem with my nginx configuration. I have several virtual hosts on the same server. However, I'm attempting to add another virtual host, this one being an SSL website. The website ...
-1
votes
1answer
115 views

Complex Nginx Vhost Config

I tried whole day to make an nginx vhost config to acomplish my needs but i make it wrong all the time. Here is what i need to do. I have a server in which i stream Movies & Live Streams. The ...
0
votes
1answer
26 views

vhost configuration to control access

Link that works: http://me.em360send.com/login/forgotPassword Link on the same server (IP address) does not work: http://54.86.5.204/login/forgotPassword As per access log, one request is ...
1
vote
1answer
236 views

Nginx https vhost capering all requests

I am trying to setup a gitlab instance along an own cloud instance on the same server. Both work fine over http, and both work fine over https if one one host is enabled. The weird thing is that the ...
1
vote
1answer
279 views

apache config - vhost item listed but cannot be found

I'm using Ubuntu 14.04, with Apache installed by tasksel. apache2ctl -S says www.ijiameng.com exist in different conf files, in which default has higher priority, as below: ...
1
vote
1answer
515 views

Password protect vhost virtual document root

I have the following setup for automatically generating subdomains/virtual document roots configured in /etc/apache2/apache2.conf (running on Debian 7.0) <VirtualHost *:80> ServerAlias * ...
3
votes
2answers
607 views

How can I tell nginx to serve SSL for one domain only?

Yes, this is something of a duplicate to this question, however, according to the ngnx document "Configuring HTTPS servers" (the section "Single HTTPS Server"), this limitation no longer exists, and ...
1
vote
1answer
124 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 ...
1
vote
1answer
140 views

Accessing a vhost on a LAN

I have a LAMP server configured to server VHOSTs. The problem here is that when I try to access it through the same LAN, I seem to try and access the local IP address and not the VHOST address. ...
1
vote
2answers
157 views

Redirect all URLs to a single URL

I have a machine foo00 whos CNAME is foo. With nginx I can access my site from the following URLs: foo/ foo00/ foo.domain.local/ foo00.domain.local/ How can I configure nginx so that all are ...
-1
votes
2answers
103 views

How to bind munin to use a vhost or port number?

Currently I'am able to access my munin setup using the default url. www.mydomain.com/munin For security reasons, I want to only allow Munin to be access using port number. Like this ...
2
votes
1answer
290 views

nginx SSL with bare domain and wildcard

This is turning out to be an annoying problem that I'm hoping someone can help me with. To start, I run my own CA, so I'm doing self-signed certs; I can do anything I need with them using openssl. I ...
-1
votes
1answer
55 views

Apache2 vhosts won't work [closed]

i'm trying to setup correctly a vhost under apache2. I'm running Suse 11.3. What i'm trying is: Add row to /etc/hosts 127.0.0.1 my.vhost.domain Create file.conf under vhosts.d <VirtualHost ...
0
votes
1answer
56 views

Multiple Apache Auth User Files

I have multiple vhosts on a host running apache. It is a test system and I would like to give users "basic authentication" access to their sites. For this I have a vhost file with basic auth ...
0
votes
1answer
418 views

Apache2 server (behind Zyxel USG 100 NAT/Firewall) with vhost does not log real clients ip addresses

SOLVED To allow the Zyxel USG 100's NAT to forward untouched packets to my web server i edited the policy route of the Zyxel. Zyxel -> Configuration -> Network ->Routing -> Policy Route ...
2
votes
3answers
3k views

Dynamic vhost giving 403 forbidden on OSX Apache

I have followed this guide and am trying to create dynamic vhosts on OSX by allowing foo.dev to direct to the web folder /foo. My difference being that I am using ~/Sites as my web folder instead of ...
0
votes
1answer
205 views

ClamAV not installed. ClamAV is already installed

Re-Edit: After lots of Googling, lots of tracing, lots of tinkering with the nginx.conf & /vhosts - It came down to an error message saying ClamAV was not up to date. Running clamscan told me ...
0
votes
1answer
1k views

2-way SSL with apache forward proxy

I'm working to set up Apache as a forward proxy with a client that uses 2-way SSL. The basic flow is myApplication --via http--> Apache proxy --via 2 way SSL--> client. After setting everything up, ...
1
vote
1answer
44 views

Compare usage of multiple domains for a single website (Apache)

What would be the most efficient way to compare the usage of multiple domains that are all bound to the same Apache vHost? What I want to know is which domains are used often to access the website and ...
1
vote
1answer
194 views

trying to setup vhost in nginx, domain pointing to default

So I'm trying to learn some web server configuration stuff. I've successfully installed nginx with php, and so on. I was in the process of trying to point my domain to my VPS, and that portion is also ...
0
votes
2answers
254 views

Apache access only to hostname not ip

Does anyone know is it possible to setup apache vhost in a following way: if user access to www.example.com then vhost takes it to /www/example.com if user access to www.example2.com then vhost ...
1
vote
1answer
2k views

Regular expressions in server_name with Nginx vhost

I have something I'm trying to do with Nginx. Say I have a few users and a subdomain, and each user has a directory at /home/dev/sites/USER_ID. I would like for USER_ID.dev.example.com to point to ...
1
vote
2answers
69 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, ...
1
vote
1answer
775 views

Dynamic variable SetEnv vhost Ubuntu Apache2

I apologize if this question has already been asked. I am looking for a solution to make SetEnv use the %2 variable. Is that even possible? My vhost: <VirtualHost *:80> ServerName ...
0
votes
1answer
59 views

Ubuntu Apache2 vhost configuration

I am new to apache2 and I am getting some trouble configuring apache2 on Ubuntu Server 12.04 LTS. All the subdomain are pointing to the default one. Here is my objectives: domain.com -> MAIN SITE ...
1
vote
0answers
362 views

vhost working but not finding index.php

Its my first time that i have a vserver with plesk - i always deleted plesk and worked without it because i didnt liked it but now i try with and it doesnt work as i want it. installed magento here: ...
0
votes
3answers
174 views

Mass virtual hosting: map any portnumber to own domain name

I need to define rule (using mod_rewrite i think) to map any port to portnumber.domain.com. How to do that in Apache2 ? Now i have one config for each port number like below. # 9003.domain.com ...
0
votes
2answers
85 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
170 views

CentOS 6 & Apache2.2 VHost Configurations

I have a personal VPS configured to host two domains that I purchased, I managed to configure Apache correctly and get both domains able to point to their own directories and show correctly. I want ...
1
vote
2answers
54 views

Testing vhost config

I've been battling to get a vhost config working on an internal development server at work. I have found other vhost configs in the site-available directory. For some reason, I can't see why my new ...
1
vote
1answer
3k views

Virtual Host on a sub directory [duplicate]

I m working on a Zend web project and there a requirement that it works that it works good on top domain, and on a domain+directory paths like this: www.myDomain.com ...
0
votes
1answer
30 views

It is known that apache resolves foo.com even if as named virtual host only beta.foo.com exists?

The only virtual hosts i have are: <VirtualHost *:80> DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> ...
2
votes
1answer
159 views

Not all .htaccess files are read

I have used MAMP and Ubuntu server for years but have recently tried to use the built-in Apache Server on Mac OS X 10.7.5. My problem is some of my .htaccess files are being read and some are not. I ...
0
votes
1answer
139 views

Deny access to root directory while allowing access to the DirectoryIndex for default page

I am trying to deny access to the root directory while allowing access to certain files (ending in .html and .js) and specifying a DirectoryIndex so requests for the directory will respond with a ...
-1
votes
2answers
147 views

nginx vhost location parameters [closed]

I just transfered a website to a new server; here is my sites conf (vhost) in nginx and the last 2 entries from error.log . The images are not displaying when the index.php loads. regars, server ...
4
votes
4answers
5k views

How to disable https access to specific virtual hosts?

Alright, so I have an Apache server set up with the following directives: NameVirtualHost *:80 <VirtualHost *:80> ServerName example1.com ServerAlias www.example1.com DocumentRoot ...
0
votes
2answers
267 views

setting up a vhost alias with a wildcard for domain and document root - doc root not parsed correctly

I only have a fuzzy idea of the correct terminology to use in this question so please feel free to help me by clarifying it. I have a vhost setup. The idea is that I want a wildcard to route all ...
0
votes
1answer
113 views

Make Nginx point to vhost when visiting server via its IP address

I have a newly set up VPS running Nginx on Ubuntu. Currently when I visit my server's IP (e.g. http://123.123.123.123) it shows the contents of /usr/share/nginx/www. My only vhost (mydomain.com) is ...
2
votes
1answer
214 views

apache vhost config so that _default_ goes to another IP

hi I have 3 apache servers but one inbound ip with one port 80 to listen on. all port 80 traffice goes to 192.168.1.10. But I want to vhost to send certaindomains like www.mydomain.co.uk to the local ...
1
vote
2answers
305 views

how do I reverseproxy the hostname of a subdomain to a different domainname?

I want to reverseproxy a subdomain to another domainname with the same hostname. Example: fitzefatze.sourcedomain.com should get the content of: fitzefatze.targetdomain.com This should be dynamic, ...