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.

learn more… | top users | synonyms (5)

1
vote
2answers
34 views

Httpd/Apache2 Virtual Host and Hostname Conflict

I have a domain ie test.example.com. I set the hostname of my server to this by uisng: hostname test.example.com I then add a Virtual host in /etc/httpd/conf/httpd.conf NameVirtualHost *:80 ...
0
votes
1answer
51 views

nginx reverse proxy and apache backend on seperate hosts - all requests go to same apache vhost

Scenario I want to configure a dedicated nginx reverse proxy that acts as a gateway for multiple backend servers running a traditional lamp stack. I want to make all requests for any subdomains of ...
-2
votes
1answer
20 views

How do I setup an alias for sub.sub.domain.com?

I have a QC server where we define the 'ServerName' for each QC site as a sub-domain in their VirtualHost file, using Named Virtual Hosts on Spache. For example: Site #1: ServerName ...
0
votes
0answers
18 views

414 Uri to long

I have the following url to reset my password: ...
2
votes
1answer
145 views

Port 80: connection refused. How to fix on Mac OSX? [duplicate]

I've noticed some issues with Apache virtual hosts on two Macs that otherwise have the same kind of set up (in terms of httpd.conf, vhosts, hosts etc.) On one Mac, virtual hosts are served without a ...
0
votes
2answers
31 views

How can I list the current Apache 2 virtual hosts from the command line?

I want to to retrieve a list of the virtual hosts which are currently loaded and listening for requests i.e not just grepping the config files. It looks like apache2ctl -S does this but I am not 100% ...
0
votes
1answer
23 views

Apache2 simplest redirect not working anymore

I am new at Server configurations, and I´m having a probably weird problem. I set up a webserver with success, even having a working redirect from http to https. And now, without knowingly changing ...
0
votes
1answer
21 views

Setup own DynDNS in VirtualHost

I have a server environment within a network that sits behind a dynamic IP. I as well have a virtual host online where I run Apache 2.4 with a couple of VirtualHosts. Is it possible to create a ...
0
votes
2answers
41 views

Authenticating Client Certificates from Different Issuer

Ok, here's the scenario. A company called "Corp" issues SSL certificates to all their employees for accessing Corp's web resources. Corp also provides a certificate for their Certificate Authority so ...
0
votes
1answer
32 views

exclude one subdomain from serving via https on apache

little intro: I have SSL cert for specific domains (example.com, info.example.com, intranet.example.com, ...) All domains except the info.example.com are running on Apache. info.example.com is ...
6
votes
3answers
104 views

Connection Refused for Apache 2.4 Virtual Host [duplicate]

I have Apache 2.4 running on Mac OS X. apachectl configtest give me: Syntax OK. I have two virtual hosts set up, one called localhost, one called test.dev. <VirtualHost *:80> DocumentRoot ...
-1
votes
1answer
19 views

Change Apache DocumentRoot base on page url

Scenario: I have a http://www.example.com/ and I want my new project to be accessed via http://www.example.com/new. Here's what I tried: DocumentRoot /var/www/html/old/public/ Alias /new ...
0
votes
0answers
18 views

Using one virtualhost as reverse proxy for other virtualhosts on the same server

I'm running mpm_itk on my Apache 2.4 and am configuring mod_security. I have run into an issue with mutex errors caused by the different users running Apache. A GitHub commenter introduced a ...
0
votes
1answer
46 views

Nginx redirects all domains to one website

I'm trying to setup a server with Nginx and PHP FPM and I ran into some trouble. I've set up an Nginx virtual host and a fpm pool for each website. The problem is that all domains are showing the ...
0
votes
1answer
26 views

Nginx vhost downloads file

I've setup nginx and php as this tutorial suggests. I've created a second vhost which is the following: server { listen 80; root /projects/mydomain/; index index.php index.html ...
-1
votes
1answer
74 views

Virtual Host on Apache 2.4 on Linux

I'm trying to create a virtual host that have path to user directory like this /home/user1/dev My *.conf file is it /etc/apache2/sites-available/mysite.conf, like this <VirtualHost *:80> ...
0
votes
3answers
53 views

Postfix not working with user@example.com type user

I have some virtualhost set up on Centos 7.1, I want to have user like user@example.com so that I can reply via user@example.com and not like user@localhost.localdomain Postfix is working with user ...
5
votes
5answers
233 views

Virtualhost not working on different port

I'm trying to host my website on single server running centos7.1. I'm able to virtualhost on port 80 but when I change port of second-site to 8080 it points to first-site. However, for URL ...
0
votes
0answers
43 views

NGinX and VHost config running into could not find named location “@handler” error

I see several times this error could not find named location "@handler" in my VHost error log. server { listen 80 default; server_name www.domain.at; root ...
0
votes
0answers
36 views

Virtual Hosts Setup on Ubuntu 15

I am setting up a few virtual hosts for my local Apache environment. I followed this as a basic guide: http://www.unixmen.com/setup-apache-virtual-hosts-on-ubuntu-15-10/ At the moment, I have the ...
-1
votes
1answer
16 views

virtualhosts not seen in apache 2.4 conf

i'm running Apache 2.4 on Fedora linux and at the moment i got a problem with virtualhosts.. I think that 2.4 requires a different configuration than the other one (2.2) i was more used to but i'm ...
0
votes
1answer
86 views

The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /abcef/report

I am getting below error while trying to do some access website url. The proxy server received an invalid response from an upstream server. The proxy server could not handle the request ...
0
votes
1answer
20 views

Debian redirect subdomain to virtualhosts

I am very new to server stuff so please be gentle.. I would like that sub.mydomain.com (from OVH) bring users to http://[ip_address]/~username/ (from KS) In my registrar, I added A type redirection ...
0
votes
1answer
37 views

Which memory settings to use for this MySQL server? [duplicate]

I've been looking in a lot of places so far but I couldn't find any articles about how much memory to allocate to MySQL based on server size. I am about to deploy a website on a relatively small ...
0
votes
1answer
31 views

Force http on single page with site wide https is in place

On my website, I have one page that loads content in iframe form other sources and hence cannot have an http connection. I have an SSL installed and have a site wide https forced on all urls. I am ...
1
vote
1answer
72 views

nginx virtual hosts not working after enabling IPv6

I've just enabled IPv6 on my nginx 1.8.0 webserver based on Debian Jessie. To do this I've edited my Virtual Host-Config: server { listen 80; listen [2001:1608:10:160:34::2]:80; ...
7
votes
3answers
190 views

Webserver randomly serves different vhosts

We've got nginx running on Ubuntu Trusty. It serves several websites over https, running on one ip address. Randomly, although it seems slightly related to work load, sometimes single requests turn ...
0
votes
0answers
27 views

How to set up php fpm work with apache virtual hosts

When I use default config without vhosts everything works fine. But when I add virtual hosts It not working.. Here is how vhost look like: <VirtualHost *:80> ServerName example ...
2
votes
1answer
126 views

Nginx status information of virtual hosts

I want to monitor each nginx virtual hosts(I have multiple nginx config for different domain) and found nginx module ngx_http_stub_status_module But seems this module is for displaying server wide ...
1
vote
0answers
17 views

Apache Quantum Uncertainty Principle… If directive both true and false

The value of the environment variable is set in bash: # export PRODUCTION=true # echo $PRODUCTION # true Here is the relevant excerpt from my virtual host file: <If "-T osenv('PRODUCTION')"> ...
-1
votes
1answer
28 views

VirtualHost Apache does not serve subdomain [closed]

I have setup an apache that serves my site in port 80 and 8080 fine. But now I want to move the VirtualHost on 8080 to port 80 in a subdomain. Here is my sites-available configuration file: ...
0
votes
0answers
26 views

Redirect from within vhost for multiple sites

Note: My question is similar to one here but I'm trying to achieve something slightly different. A. I would like to create two vhosts on a ec2 instance that has a elastic ip attached. B. Each of ...
0
votes
0answers
30 views

Nginx - add a subdomain to a running webserver using the same SSL cert

I am running a web server on a Lemp installation. My website is "protected" by CloudFlare, using SSL-full (differences between SSL setups on CloudFlare), hence i have a self-signed certificate which ...
2
votes
1answer
73 views

Secure Webmin with Apache VirtualHost

I'm trying to setup my webmin instance to the address https://webmin.example.com but I'm getting an internal server error (500). Any ideas why? Here's my Apache config: <VirtualHost *:443> ...
1
vote
2answers
351 views

ReverseProxy not working on OSX El Capitan

I am attempting to access my plex web ui through a cleaner url. Currently, you can access it at http://marvin.boldlygoingnowhere.org:32400/web/index.html. I want it to be at ...
0
votes
0answers
23 views

How can I load and unload tomcat virtual hosts without restarting it?

I'm running a large number of virtual hosts on my tomcat server and I need to add or remove some virtual hosts repeatedly (by changing server.xml) and everytime I have to restart whole tomcat to ...
0
votes
1answer
28 views

Which domain-name was requested? Running virtual hosts on Mongoose web server

I'm currently running Mongoose WebServer 5.5 on Windows 7 I have a number of virtual hosts, running on a single Mongoose server on one IP node. The access log entries are typically 157.55.39.146 - ...
2
votes
0answers
19 views

Virtual Host Alow Encoded Slashesh

I'm trying to allow encoded slashes on my local pc. But i dont know how to configure virtual host. This is my config Apache Version : 2.4.9 (Win64) PHP Version : 5.5.12 I tried this but ...
0
votes
1answer
31 views

VirtualHost https and non-www

I'm attempting to redirect all requests to my main site to https://example.com with VirtualHost. I want to remove the www from the domain and force https. Currently all http:// requests are ...
4
votes
1answer
34 views

Is there a command to get Apache to display its running config from memory?

Is there any way to get the Apache web server to display it's current running config, from memory, i.e. not by parsing the files in the config directories? I've just managed to accidentally ...
1
vote
0answers
102 views

Debian 8 (Jessie) PHP not working on Apache Virtual Sites [closed]

After a considerable amount of research and now a fresh install of Debian 8, I have given up and I am hoping the wonderful community at server fault can help me out of my madness. They kicked me out ...
0
votes
2answers
108 views

Virtual hosts not working in Fedora 22 [closed]

Recently I've switched from Ubuntu to Fedora Workstation as my development enviroment to better understand centOS servers (and for other reasons too). I've been trying to set up a local LAMP stack ...
0
votes
1answer
20 views

apache - Is hosting same website on different ports possible?

Someone asked me to install an SSL certificate for a website. I installed it and enabled HTTPS but he got pissed that HTTP requests get redirected to HTTPS instead. I don't think redirection would ...
0
votes
1answer
29 views

Setting DNS records and virtualhost

My website currently lives on beta.tpe-edu.com I want to make it accessible directly on tpe-edu.com (to point to the same location), but can't make it work (ERR_NAME_RESOLUTION_FAILED). Domain is ...
0
votes
0answers
18 views

Added 2nd virtual host for CNAME on HOST, http://CNAME becomes http://HOST/%25N

I inherited a kubuntu web server at work, and am having issues adding a second virtual host. I've added a CNAME record to point to HOST, and wanted to serve pages for the CNAME from a different ...
0
votes
1answer
56 views

Serve data from different locations depending on a query parameter

I would like to serve data on one and the same host from different directories depending on a query parameter using Nginx. For example https://foo.bar/index.html should be served from /var/www/foo ...
0
votes
0answers
26 views

Apache server directive status directive for BalancerMember - need to understand the meaning

I have this defined in my reverse proxy Apache configuration, in a virtual host config: BalancerMember http://php2-mindaugasb.c9.io:80 status=-SE retry=60 Trying to understand the status=-SE ...
0
votes
1answer
54 views

Start Apache despite error in Virtual Host's SSL certificate file

I have Apache 2.4.10 with name based SSL (SNI) virtual hosting. Virtual users can use their own certificate and upload it to server. Everything works fine until there is some error with certificate ...
0
votes
1answer
40 views

Virtual Host for SSL does not point to the specified folder

I am using Ubuntu 14.04 Apache Apache/2.4.7 I created a SSL Virtual host and provided the required key and cert files but the location it refers to is /var/www/ instead of the provided folder ...
0
votes
1answer
85 views

Apache 2.4 on Debian issue - “Forbidden” after upgrading virtual host

I have tried many suggestions I can find via Google to make my virtual host work properly after upgrading from Debian to Jessie (upgrade from Apach 2.2 to 2.4). I have mod_rewrite and ...