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
1 answer

Joomla 1.5 one install - multiple virtual hosts: can I unite logins?

I've set up multiple virtual hosts that all lead to the same Joomla 1.5 installation (e.g. host1.mysite.com, host2.mysite.com, etc). Seems that when a user logins to one of the virtual hosts then moves to another he needs to re-login. The…
Omer
  • 582
  • 3
  • 14
  • 24
0
votes
1 answer

How should I configure UID, GID and permissions for /var/www on Ubuntu 12.0.4 worstation?

I'm a web developer who is new to linux. I've just configured my personal laptop as a dual-boot Windows 7 / Ubuntu 12.0.4 workstation. I Installed the default Ubuntu LAMP stack through taskel per instructions here:…
Neil Girardi
  • 4,533
  • 1
  • 28
  • 45
0
votes
1 answer

Making local Drupal installation accessible through Virtual Host

I am trying to introduce a staging step in my company's code-production process. We currently have ~10 eng clients who commit code individually, update local codebase - debug/check locally, then we deploy the code to production environment and have…
0
votes
3 answers

Apache 2.2 VirtualHosts URL not found

I'm hoping you can help. I have an existing Apache 2.2 server which serves a website I maintain. I am attempting to add additional websites for a colleague. Having done so, I get the following when I attempt to access the URL: Not Found The…
oddhan
  • 3
  • 1
  • 1
  • 4
0
votes
4 answers

Strange problem with Apache Virtual Hosts

I have recently installed Apache 1.3.41 on a Windows Vista machine. I have not changed the default settings in httpd.conf aprart from trying to setup virtual hosts, as follows: Added some host names in the hosts file: 127.0.0.1 localhost #::1 …
Pantelis
0
votes
2 answers

Wildcard Virtual Hosts Ubuntu

I'm looking to setup wildcard virtual hosts in Ubuntu. I've set it up on a WAMP setup pretty easily, but I don't know enough about Linux to know how the setup differs. The goal is to be able to create folders…
Dan Temple
  • 1,172
  • 2
  • 14
  • 22
0
votes
1 answer

Setting up subdomain for local development

I have XAMPP installed for local development and I'd like to create a sub domain for each project. In my apache vhosts config I've put this: DocumentRoot C:/xampp/htdocs/ ServerName localhost ServerAdmin…
James Dawson
  • 5,309
  • 20
  • 72
  • 126
0
votes
1 answer

Access a Zend application from another computer in the LAN (working with LAMP)

Hello I have a LAMP server setup on an Ubuntu machine and a Zend Framework project. I made a virtual host in my /etc/apache2/sites-available, enabled it with a2ensite command and everything works great on localhost but I have a problem accessing the…
0
votes
1 answer

What's wrong with this apache setup?

Below is my /etc/apache2/sites_available/default file. I have pointed mysite.com to localhost in /etc/hosts and the website works fine when accessed from the same machine it's running on. However, if I get a second machine, edit its /etc/hosts and…
spraff
  • 32,570
  • 22
  • 121
  • 229
-1
votes
1 answer

How to trace site route in apache

UBUNTU + APACHE I am running a few wordpress sites on one server (that I inherited) using VirtualHosts, and I need to configure ssl certificates for each site. Before starting to set up certificates for each site, I tried entering each domain with…
MarcoACM
  • 1
  • 1
-1
votes
1 answer

Apache ProxyPass to separate VirtualHost on the same system

I am trying to solve an issue with an internal ProxyPass setup on an apache http server, version 2.4. Everything works fine otherwise, it is just this ProxyPass issue that I fail to solve: I operate several name based virtual hosts on a single…
arkascha
  • 41,620
  • 7
  • 58
  • 90
-1
votes
2 answers

Apache VirtualHost is pointing to wrong directory. (Ubuntu 14.04 LTS)

It is the first time I create a Virtual Host and am having trouble because it is pointing to my main directory of Apache (/var/www/html) and not to the directory that I want (/home/juninho/workspace/vhosts-projects/torpedogratis). Below is my…
-1
votes
1 answer

How to create virtual directory in G-WAN webserver

I installed G-WAN webserver , and i create virtual host , in G-WAN we must create folder for virtual host's , now i want to create virtual directory my installed path is : /home/gwan/ and myfiles are in /home/user/ so how can i create virtual…
user1853266
  • 49
  • 1
  • 7
-1
votes
1 answer

Improper behavior of Host Alias

I have two host alias in my directory structure that fail to properly register with g-wan. My folder structure is as follows: /srv/gwan_linux64-bit/192.168.3.101_80/$dg.lcl /srv/gwan_linux64-bit/192.168.3.101_80/$myapp …
celilo
  • 9
  • 3
-2
votes
1 answer

What did i do wrong while creating virtual host on ubuntu?

I have created apache virtual host as in the link: [set up apache virtual hosts ][1] https://www.youtube.com/watch?v=Vd2aLTZDLQg But i am not able access the web page from google . I tried out following link also but it also didnt worked [how to…
Learner
  • 453
  • 13
  • 29
1 2 3
16
17