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

Apache ServerName * wildcard not working with vhost_dbd_module

I'm trying to migrate my virtualhosts to a mysql database using vhost_dbd_module. In the various examples I find online, they instruct me to use "ServerName *" as a wildcard in the VirtualHost. When I configure my VirtualHost this way, the…
WhiteEyebrows
  • 61
  • 2
  • 6
0
votes
1 answer

Multiple VirtualHosts For XAMPP Not Working

Ok, so I'm at my wits end. I've been trying to get this up and running for the better part of a week and it I don't understand why it's not working. Background I have two wordpress sites, one dev and one prod. I would like to be able to view both…
Justin
  • 582
  • 9
  • 24
0
votes
1 answer

Zend Framework Installation

i am installing Zend Framework.i set up all virtual host and virtual domain settings both in WINDOWS and APACHE. when im gonna run my project , it will display "server not found" is it because of my firewall?
armin etemadi
  • 519
  • 3
  • 8
  • 18
0
votes
1 answer

pointing multiple subdomains using wildcards to a folder

I want to use wildcards to send the request to any sobdomains to the folder of the domain.please specify how to achieve this in apache2 using the virtual host settings.The domain and its subdomain uses the same IP address. the subdomains cannot be…
Sreejith Sasidharan
  • 1,318
  • 5
  • 25
  • 46
0
votes
1 answer

VirtualHosts configuration in one file or not?

I'm running a http server on Debian (Apache 2) with one IP address. I have few domains and SVN running on the server as well. At the moment I have configuration that points my domains to the correct folders on my server with VirtualHosts. I have…
ikenator
  • 670
  • 8
  • 22
0
votes
2 answers

LogLevel rewrite does not log

I'm attempting to debug rewriting in a joomla website on xampp. What I observe is the following the website is working After I enable URL rewrite in the Joomla BE none of the links work, but the main page still works. I conclude that the rewrite is…
theking2
  • 2,174
  • 1
  • 27
  • 36
0
votes
1 answer

NGINX directing to /usr/share/nginx/www/html after update

Today I updated my webserver, and while I do have a backup, I wish to resolve the following issue. After a reboot after the apt-get update and apt-get upgrade, NGINX started to ignore the virtual-hosts. The domains are still operational, but they…
Arndroid
  • 314
  • 3
  • 13
0
votes
0 answers

DocumentRoot not setting the proper webroot, apache

My virtual hosts webroot doesn't appear to be pointing where i want it to go. Here is my virtual host VirtualHost *.80> DocumentRoot /var/www/html/myhost ServerName myhost ErrorLog…
Evil Eeyore
  • 87
  • 2
  • 9
0
votes
1 answer

Creating Virtual host on Websphere

Websphere allows virtual hosts to be created. I can also map any number of host aliases (host name and port) to the virtual host. Does this mean that Websphere starts listening on all those ports for HTTP requests? If not, what is the reason for…
Teddy
  • 4,009
  • 2
  • 33
  • 55
0
votes
1 answer

Apache wamp, zend framework installation issue (permission issue and more)

I am trying to install zend framework very very naive looked up in the internet for setting but when i apply those settings it doesn't work. I get the following error Forbidden You don't have permission to access / on this server. Apache/2.4.9…
Amjad
  • 1,950
  • 5
  • 26
  • 41
0
votes
1 answer

Virtualhosts pointing to the first virtualhost directory

I have a problem in my httpd.conf. All my VirtualHosts I created from the WebMin interface are pointing to the same directory despite I give a specific directory for each VH. The directory which actually pointing is from the first VH(when I change…
0
votes
1 answer

My VirtualHost redirects for an HTTPS site are broken

Apache/2.2.15, CentOS Linux. I have a site where I want the whole site to be SSL-encrypted all the time. Normally, I don't use mod_rewrite to do my www/non-www redirects; I just use VirtualHosts and the Redirect directive. Trying to do this with my…
75th Trombone
  • 1,364
  • 15
  • 28
0
votes
0 answers

Virtual hosts file not redirecting to correct directory

I'm trying to set my virtual host to point to a directory when //zf2-tutorial.localhost/ is entered in the address bar: My /etc/apache2/sites-available/zf2-tutorial.localhost file ServerName zf2-tutorial.localhost …
Martyn
  • 6,031
  • 12
  • 55
  • 121
0
votes
1 answer

Mass virtual hosting with Apache 2.4

I would like to use the value set by VirtualDocumentRoot in a RewriteRule. The Apache documentation says: The other thing to determine is the document root (configured with DocumentRoot and available to CGI scripts via the DOCUMENT_ROOT environment…
0
votes
0 answers

Oracle Change Web Interface URL

In Oracle, is there a way to change the web interface URL? Usually, it is localhost:8080, but I don't like how that looks or the fact that I have to specify the port number. I know I can use virtual hosts from Apache, node.js, nginx or some other…
trysis
  • 8,086
  • 17
  • 51
  • 80