Questions tagged [virtual-hosts]

Virtual hosts or virtual hosting is a method for hosting multiple domain names (with separate handling of each name) on a single server (or pool of servers).

Virtual hosts or virtual hosting is a method for hosting multiple domain names (with separate handling of each name) on a single server (or pool of servers).

This allows one server to share its resources, such as memory and processor cycles, without requiring all services provided to use the same host name. The term virtual hosting is usually used in reference to web servers but the principles carry over to other internet services.

One widely used application is shared web hosting.

There are two main types of virtual hosting, name based and IP based. Name based and IP based virtual hosting can be combined, a server may have multiple IP address and serve multiple names on some or all of those IP addresses. This technique can be useful when using SSL/TLS with wildcard certificates.

241 questions
1
vote
2 answers

SSO-plus-SSL and Shibboleth: What options for sites with numerous virtual hosts?

Background: Customer X is a low-budget non-profit outfit that nonetheless has a lot of activity configured on virtual hosts, and the virtual hosts multiply very frequently. Customer X also has a lot of users and is interested in getting them over to…
dreftymac
  • 31,404
  • 26
  • 119
  • 182
1
vote
0 answers

Virtual host points to global document root

I have a CentOS 7 server with apache. I have multiple virtual hosts running on the server. But one refuses to use the DocumentRoot that are specified for the virtual host in the http.conf file. It will only use the global DocumentRoot that are…
1
vote
1 answer

apache2: host multiple sites under same domain in local server

I've a local server with LAMP, ubuntu and apache2, and want to install several web applications (openproject, vtiger, suitecrm, sugar crm, ...) to test them. All them are web-based services. I've unpacked them under /var/www and configured the…
theme
  • 1,097
  • 2
  • 9
  • 13
1
vote
1 answer

Apache serving 2 websites to one domain with path

I am new to this and I searched everywhere for a server routing method to be able to store 2 sites at different paths to a single domain. Most help I found refers to using virtual host to multiple domains, subdomains, IP etc. So far non of them fits…
Leo M
  • 11
  • 1
1
vote
2 answers

Security role to user/group mapping: Error ADMA0014E: No virtual host specified

When trying to save via OK Button, I'm getting this error and WebSphere is not saving it. How can I fix that? EDIT: This is the error message I'm trying to resolve with the configuration in WebSphere: [6/20/16 10:46:34:524 CEST] 00000034…
Marco
  • 508
  • 2
  • 7
  • 22
1
vote
2 answers

Dynamic Virtual Host gives 500 error with Laravel

I'm trying to make a dynamic developing environment with virtual host. Now i have: UseCanonicalName Off VirtualDocumentRoot "C:\xampp\htdocs\%1\public" # available aliases to use ServerAlias *.dev And…
1
vote
2 answers

How to Vagrant scotchbox subdomain virtualhost

I have installed vagrant and scotchbox from scotch.io to develop locally and is running like a charm. Now I need use the subdomains as variable, and i have googled about, but still no working. I have changed the hosts file and added 192.168.33.10 …
iLevi
  • 936
  • 4
  • 10
  • 26
1
vote
0 answers

XAMPP for Mac: Configure virtual host

My problem is configure a virtual host for an web application with php and Xampp. The principal application, named "AEPAMG.upo.es" is working, but when I add "Viafirma-client-php" as other app and another virtual host, browser say me "Not found". I…
1
vote
2 answers

All requests being send to first(default) virtual host

We are trying reverse-proxy between apache 2.2.22 and tomcat-7. The entires in my httpd.conf files are as below: NameVirtualHost *:80 DocumentRoot /apps/httpd-2.2.22/docroot/app1/ ServerName app1.mycompany.com ErrorLog…
pranav
  • 421
  • 1
  • 11
  • 27
1
vote
0 answers

Configuring Varnish-4 with Virtual-hosts on nginx

I’m getting stuck trying to implement Varnish 4.0 on Virtual Hosts set up using nginx. I have tried to configure the backend per my reading but I can’t seem to get varnish to work on anything but the main IP address. For this example, I will use…
1
vote
1 answer

Apache virtal hosts unreachable

I'm doing local php development with apache and virtual hosts. For some reason my virtual host sites have stopped responding. Chrome error: This web page is not available ERR_ADDRESS_UNREACHABLE Firefox error: Server not found. I haven't made…
user126440
  • 391
  • 1
  • 2
  • 19
1
vote
1 answer

Name Based Virtual Hosts on Apache with 2 IP Address

I have 2 IP addresses. It is basically for SSL but let's assume that I want example1.com and example3.com work at IP 1.1.1.1 and example2.com works at IP 2.2.2.2. I should be missing something, somewhere. I have basically following settings related…
smozgur
  • 1,772
  • 1
  • 15
  • 23
1
vote
0 answers

Lost all virtual host setting after tomcat7 restart

I have a problem with setting a new hosts in Tomcat7 host-manager application. Host-manager application works very well. Everything works. But when restart the server, all settings are lost. I have to everything set up again. 1.I start Tomcat7…
1
vote
2 answers

Apache delivering wrong SSL-Cert

I have a Server which is running Debian 8.1 with Apache 2.4.10 and OpenSSL 1.0.1k. I have a domain example.com with a few subdomains like www.example.com, cloud.example.com and db.example.com all pointet to the Server (A-Records). All these…
HaehnleinMar
  • 78
  • 3
  • 8
1
vote
1 answer

.htaccess with virtual hosting zend framework 1 ubuntu

I have setup an Ubuntu server that has virtual hosting, in the folder :/var/www/vhosts/dev.blla.com/httpdocs/src is the web application built with zend framework 1. The problem is that I have an .htaccess file that looks like below:
Arlind Hajredinaj
  • 8,380
  • 3
  • 30
  • 45