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)

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 ...
1
vote
3answers
4k views

VMWare/VirtualBox: Ping don't work in Host-Only network adapter from windows host to linux guest

Scenario: Windows host running XP SP3 (Virtual) Ubuntu Server 10.04 (fresh install, only selected "LAMP Package" option during installation. Tested on VMWare Player / VirtualBox I can ping by ip ...
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
27 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 - ...
1
vote
3answers
57 views

Apache proxy all ws connections to different port

In my Apache 2.4 vhost I'm trying to get all https:// traffic to carry on to port 443, but all ws:// traffic to forward onto ws://*:6969. Eg: https://example.com/index would just go to ...
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 ...
1
vote
1answer
71 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; ...
0
votes
1answer
18 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
2answers
349 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
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 ...
0
votes
1answer
37 views

Apache 2.4 SSL VirtualHosts and no default landing page

I am setting up multiple subdomains/domains with different ssl certificates on one server and I have a problem. Namely, VirtualHost *:443 is being ignored and first VirtualHost is being loaded. My ...
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 ...
0
votes
1answer
3k views

Can I have two (or more) Apache VirtualHosts separated by subdirectories?

I think this is a simple question, but let me explain better. I have the following development environment: Ubuntu Server 12.04 LTS; Apache 2.4; PHP 5.5; Everything is working fine, except the ...
2
votes
1answer
72 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> ...
0
votes
0answers
21 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 ...
1
vote
1answer
1k views

SSL Connection Error [closed]

I have purchased a comodo ssl cert and have submitted the Certificate Signing Request (CSR) generated by my server to the ssl management site. With the 3 files it returned me with, - ...
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 ...
0
votes
0answers
38 views

https passthrough in Apache

Every HTTP or HTTPs connection i have is received by an apache (lets name it as "SERVER A") that acts as router that redirects to other internal computers that holds other apache service. Recently ...
9
votes
2answers
9k views

Serve http (port 80) and https (port 443) on same VirtualHost

I need to setup my VirtualHost on Apache to serve on both http and https (using standard ports) If I enable the SSL Engine (as per below) - I get an error when on port 80. The reason is, parts of ...
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
106 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 ...
6
votes
2answers
922 views

Is it possible to set an SSLProtocol in Apache for a single VirtualHost (poodle)?

I'm trying to test a patch for the poodle vulnerability that involves disabling SSLv3 on my web server. In order to test this on a non-production environment first, I'm setting the SSLProtocol on a ...
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
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 ...
1
vote
1answer
28 views

Apache2 Virtual Host 1 file for any URL

I have an Apache2 Virtual host set up to pick up access from any URL (dns) other than the ones I have set up. Basically I want any access to this to show a page (index.html) but keep the URL the user ...
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
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
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
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 ...
6
votes
1answer
2k views

What is the difference between *:80 and _default_:80 in Apache2?

I'm trying to understand the difference between the following two terms: *:80 _default_:80 in the Apache configuration file. The documentation here is unclear to me, and the only mailing list ...
0
votes
0answers
12 views

Nginx location not working [duplicate]

I am new to configuring Nginx servers and I've been bashing my head against a wall for a few days now. I know it's been asked a lot and even though I've read all the answers, the Nginx documentation ...
0
votes
2answers
13 views

Apache Virtual Hosts Both Going to Same Location

So I just purchased a second domain that I want to serve on the same Apache server as my main domain. However after updating the virtual hosts, both domains are still going to the first entry. Both ...
6
votes
2answers
7k views

How to disable default VirtualHost in apache2?

In apache2 by design, any http request with an unknown Host will be directed to the first loaded VirtualHost. Is there a way to disable this feature? Said differently, I want to have a web server ...
0
votes
1answer
98 views

Apache client denied by server configuration and wrong log

I'm trying to configure a new virtual host with apache 2.4.16 Premise: I already have other virtual hosts and they work fine, so what I've done is simply duplicate the vhost and change paths and ...
1
vote
1answer
51 views

How to internal redirect from one virtualhost to another Apache [duplicate]

I'm upgrading my application to new PHP version. For that I created two virtualhosts one server PHP 5.3 application and another with PHP 5.6. My virtualhosts are like, <VirtualHost *:80> ...
1
vote
0answers
20 views

Setting Apache timeouts only half working

I have an EC2 instance running django and a page requires a post request which lasts for about a minute and a half. This initially timed out at 60 seconds, however tinkering with the httpd.conf ...
10
votes
2answers
31k views

what is .crt and .key and how can I generate them?

SSLEngine on SSLCertificateFile /etc/httpd/conf/login.domain.com.crt SSLCertificateKeyFile /etc/httpd/conf/login.domain.com.key SSLCipherSuite ALL:-ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
0
votes
2answers
1k views

Apache vhost always show me the same content on different subdomains

I have two subdomains on my VPS, i have registered the two subdomains in my DNS pointing to the same IP address. the version installed is Server version: Apache/2.4.7 for Ubuntu 12.04. I've enabled ...
1
vote
1answer
37 views

Change php settings based on sub-domain in vHost

I have a VirtualHost which direct many subdomains to the same directory. moscow.myapp.com paris.myapp.com All those websites run on the same application. The only thing I need to change from a ...
1
vote
0answers
34 views

How redirect in WAMP url ww.xyz.com to ww.abc.com/some-page?

I am working in site www.example1.com which is hosted in WAMP server, there is another site which is www.example2.com,when a user type www.example2.com in his browser,it should be redirected to ...
-3
votes
1answer
86 views

Bare metal virtual machine hosting both Windows and Linux

If you have both Windows and Linux on the same VM, will data move between these two OS more efficiently than if they were on two separate VM connected by a single switch? I currently have a Windows ...