The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
3 views

Sending mail only (not receiving) from multiple domains on one server

I have been searching internet and serverfault but I can find an answer to my question. I hope some of you can guide me trhough this. Here is what I want to achieve. I have 2 domains hosted on the ...
0
votes
1answer
31 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
78 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
42 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
93 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
107 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
67 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
86 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
84 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
25 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
207 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
243 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: ...
0
votes
0answers
122 views

Nginx vhost cakephp multi apps

Hi I have two cakephp webistes with directory structure: /var/www/belledecor.local/ +app +admin +Vendor +bin +cakephp +composer +autoload.php app is webiste ...
1
vote
1answer
387 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
442 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
103 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
112 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
128 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
95 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 ...
1
vote
1answer
235 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
52 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
45 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
370 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
172 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
814 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
38 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
153 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
185 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
67 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
652 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
55 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
323 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
158 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
76 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
156 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
48 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
2k 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
29 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
145 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
118 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
130 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
4k 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
236 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
96 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
200 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
278 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, ...
4
votes
3answers
3k views

Dynamic nginx domain root path based on hostname?

I am trying to setup my development nginx/PHP server with a basic master/catch-all vhost config so that I can created unlimited ___.framework.loc domains as needed. server { listen 80; ...
0
votes
1answer
806 views

Disallow everything in directory except subdirectories with certain name using .htaccess or vhost.conf

How can I disallow everything in a directory except any subdirectories that have a certain name using htaccess or even vhost.conf for the site? I have a protected main directory which contains ...