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
0
votes
2 answers

apache2 - ServerName in virtual host isn't working

That is my first time configuring the virtual host for local work and tests in my computer. I'm trying to access the blog.dev that I configurate on sites-available/default, but it isn't working. Here's my sites-available/default:
0
votes
2 answers

Get error when installing Zend Framework in ubuntu with virtual host

I have troubles to install zend framework in ubuntu 12.04 with virtual host and get the first screen. 1) I have installed zend framework executing sudo apt-get install zend-framework-bin 2) In my folder /home/kostas/develop/ I execute zf create…
Konstantinos
  • 157
  • 1
  • 14
0
votes
0 answers

VirtualHosts loading blank pages in Mavericks

I'm having issues loading VirtualHosts I've setup on my iMac, all that they appear to be returning are blank pages. I've tried multiple browsers, flushed my DNS cache, cleared browser cache etc but nothing appears to be fixing this. Here is what my…
cmahon
  • 1
  • 2
0
votes
1 answer

Routing domain root to one app, a sub-uri to another app in Apache

I'm trying to run two apps on one domain with Apache, with the main app at the domain 'root' www.sitename.com, and the sub-app at www.sitename.com/blog. Currently I'm trying to achieve it this way: ServerName…
glasstree
  • 257
  • 1
  • 4
  • 11
0
votes
3 answers

vhosts dont appear to be working on OS X Mavericks Apache installation

I am trying to set up the Apache server which comes with OS X Mavericks with vhosts so that a domain name resolves to my user level document webroot. I have followed this tutorial which guided me through setting up the apache server with…
Ben Thompson
  • 4,743
  • 7
  • 35
  • 52
0
votes
1 answer

Host name mapping with virtual servers in GlassFish 3.1.2

I have a GlassFish 3.1.2 server running 3 virtual hosts (virtual servers). 3 Default web applications are assigned to each servers. Now if I type a url www.test-app1.com it should go to virtual server 1 and for www.test-app2.com it should go to…
Kishore
  • 1
  • 2
0
votes
2 answers

Dynamically Create Virtual Hosts with Rails, Nginx?

I really like Basecamp's idiom of "dynamically" creating custom virtual hosts for clients -- for instance, once a company has signed up they may quickly login to a special URL like: https://mystartup.basecamphq.com/ --which I think is really neat,…
Joseph Weissman
  • 5,697
  • 5
  • 46
  • 75
0
votes
1 answer

SSL certificates for different virtual hosts with WHM/cPanel

Many domains on the same web server (using the same IP), using virtual hosts can each have a separate certificate. First, is that true? If so, then my question is: I have several domains with WHM/cPanel, is it possible to host many different…
user3247130
  • 71
  • 4
  • 12
0
votes
0 answers

RaspberryPi LAMP only opens the default virtualhost

I have a problem with my LAMP setup on my RaspberryPi. LAMP installed using this http://www.penguintutor.com/linux/raspberrypi-webserver. OS: 2014-01-07-wheezy-raspbian. The problem is that it only uses the default virtualhost. I've set up 2 custom…
craziemac
  • 1
  • 1
0
votes
1 answer

Amazon EC2 instance stopped working on creating virtual host for sub domains

I have a cakephp web app which I've uploaded and linked to an apache server on an ubuntu Amazon EC2 instance under domain name ec2xxxx.compute.aws.com. The cake app is lying in the root of apache in /var/www/Cakefolder/ and opens directly on opening…
0
votes
1 answer

Virtual Hosting on my android device not working

I am trying Virtual Hosting on my Android Device. For this I edited hosts file on following path: /system/etc/hosts as: 127.0.0.1 localhost 192.168.69.65 myserver.test.com But this change is not working for me. Still when I am…
Rahul
  • 739
  • 4
  • 15
  • 31
0
votes
1 answer

Paypal IPN setting for using a local virtualhost

I have an ipn-listener class installed and working but I need some advice on how to access my Local Virtualhost address for the IPN Url setting in my Sandbox Account. I am running numerous Virtualhosts on 127.0.0.1:80 on my Dev Setup. Their…
0
votes
2 answers

Creating virtual host on ubuntu linux 12.10

I use tomcat 7.0.42 on Ubuntu Linux 12.10. I point my browser to http://localhost:8080/myapp Can I create a virtual host in ubuntu which would allow me to hit the same address as http://myapp.com Basically creating an alias for localhost:8080/myapp…
aBhijit
  • 5,261
  • 10
  • 36
  • 56
0
votes
0 answers

virtual host changes don't affect

I have a website on a debian linux server. My virtualhost pointed into a folder(/var/www/my-first-website), I want to change the destination to another folder(my-second-website) I restart the server after every change: service apache2 restart I…
Noon
  • 139
  • 1
  • 3
  • 11
0
votes
1 answer

VirtualHost on Apache Server -- CentOS

I am new to Apache server and would appreciate any help from you guys regards to VirtaulHost. Context: I am setting up a CA/Web Server on CentOS 5.8 with Apache Server and I would like to have a public accessibility to my CRL Network Configurations:…