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)

1
vote
3answers
402 views

VirtualHost not directing properly based on domain name

We recently moved from name-based hosting to individual IPs for an SSL implementation. Thus, each website now has its own IP. While www.domain1.com and www.domain2.com are being directed to the ...
1
vote
1answer
1k views

One IP for multiple SSL sites? [duplicate]

Possible Duplicate: Multiple domains with SSL on same IP We are planning to host Magento websites in a dedicated server. Is it possible to host ~40 Magento websites per dedicated server. Each ...
1
vote
1answer
500 views

How to better simulate remote development locally with virtual hosts?

When developing WordPress websites, for instance, such a script saves a few values on the database with detected paths/addresses. To avoid issues when uploading the production version to the server (...
1
vote
2answers
7k views

Hosting multiple domains on Mac OS X Server

I'm setting up Mac OS X Server (10.5 Leopard) for the first time. I will be configuring it to run multiple domains (or "virtual hosts" as they are called), and for each domain I want to set up a Web ...
0
votes
1answer
219 views

Apache Virtual host points to main domain

Listen 80 ServerName www.mydomain.com:80 DocumentRoot "/www/tomcat/webapps" <Directory "/www/tomcat/webapps"> Options Indexes FollowSymLinks Order allow,deny Allow from all </Directory> &...
0
votes
1answer
699 views

Virtualmin: Automatically create SSL based website with a shared SSL wildcard cert?

I managed to configure this very nicely under cPanel/WHM, but I am having trouble configuring it under Virtualmin: when I create a new Virtual Server in Virtualmin, I want it to automatically create ...
0
votes
1answer
1k views

Apache using incorrect default virtual host

system: ubuntu 14.04 as a VPS, apache 2.4.7 I have several virtual hosts set up, listening to :80 and :443 ports. If I apache2ctl -S it shows incorrect virtual host as default on port 80. And indeed,...
0
votes
1answer
303 views

Assigning two IPs to one NIC in CentOS

I have been following this method described here: http://linuxwave.blogspot.com/2010/01/setting-virtual-ip-in-centos.html To assign a virtual IP to one NIC. Basically I copied ifcfg-eth0 and makde ...
0
votes
2answers
110 views

Unable to get mod_rewrite to stop processing

This is linked to Rewriting subdomain.domain.com when other 'subdomains' exist I need mod_rewrite to 'stop' processing, but it seems to continue on. On my registrar, I've set A records as: *...
0
votes
1answer
175 views

Rewriting subdomain.domain.com when other 'subdomains' exist

My httpd.conf looks like this: NameVirtualHost 12.34.56.78:80 <VirtualHost 12.34.56.78:80> DocumentRoot /var/www/html/site ServerName www.example.com <IfModule mod_rewrite.c> ...
0
votes
2answers
353 views

Apache: Multiple Virtual Hosts w/ SSL Certificates?

I have an Ubuntu 11.04 Server with multiple Virtual Hosts running on a shared IP. Is it possible to have two (different) SSL certificates for each site? I remember hearing something about you only ...
0
votes
5answers
690 views

Reject HTTPS connections to other hostnames

I have an SSL certificate installed and working for my website, however, 5 different domains all point at the same host, and if a user is directed to https://(the other four) they get a big angry red ...
0
votes
2answers
2k views

Cant get access to phpmyadmin with nginx under debian “No input file specified.”

I've installed Nginx, php-fpm, mysql and phpmyadmin.. When I type myserver.com I see "Welcome to nginx!". But when I type myserver.com/phpmyadmin, I got : "No input file specified. ". I know it's ...
0
votes
6answers
14k views

Apache redirect from http to https not working

I have the following conf files: file1: NameVirtualHost 123.45.67.890:80 <VirtualHost 123.45.67.890:80> ServerName example.com RedirectPermanent / https://example.com/ # ...
0
votes
1answer
157 views

Set up Apache2 to server multiple directories on the same domain based on URL path

I want to host two different sites on the same IP, same server, and same domain using Apache2 on Ubuntu Linux. Let's say I have the following directories which represent sites that will serve content: ...
0
votes
1answer
784 views

Redirect port / port 10000 to https apache

I have been reading around and trying different configurations to get a request to my server on port 10000 to redirect a http to a https request. For some reason I can't figure out how to make it ...
0
votes
2answers
543 views

VirtualHost won't allow two domains

This is my VirtualHost file NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html/backendtwo/ ServerName www.designer-school.com </VirtualHost> <VirtualHost *:80> ...
0
votes
1answer
154 views

How to make undefined host go to default Page in apache2 virtual hosts

I am using named Virtual hosts NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin ramesh@thegeekstuff.com DocumentRoot "/usr/local/apache2/docs/thegeekstuff" ServerName test1....
0
votes
3answers
274 views

What is the purpose of a Physical Standalone Server

What is the purpose of a physical standalone server Vs a server which hosts several logical servers? I am from a development background and constantly build sever client - server systems. However, I ...
0
votes
1answer
5k views

nginx proxy_set_header x-forwarded-proto seemingly not working

Since i am a beginner in nginx proxying i have a question. The gist of it: Where does an nginx proxy set defaults for php's $_SERVER["HTTP_X_FORWARDED_HOST"], $_SERVER["HTTP_X_FORWARDED_SERVER"] and $...
0
votes
2answers
1k views

Apache on localhost: give virtual hosts specific servers name

I ask my question first and below are details of what I have so far trying to solve the thing: On Apache running on localhost, I want to have different virtual hosts that would be accessible through ...
0
votes
1answer
311 views

Running Apache as different users for separate vhosts

I have a server running multiple websites, with each website configured as a separate vhost. Some trusted users require shell access to the web server, but in an effort to prevent abuse and accidental ...
0
votes
1answer
283 views

How to setup 2 URLs pointing to same location in Apache for Rails

I want to point 2 URLs to the same rails app. Seems like it would be easy but it's not working! The existing setup looks like this: <VirtualHost *:80> DocumentRoot /home/some/path ...
0
votes
0answers
86 views

What is wrong with this Vhost setting?

I posted a question about this issue earlier but i am pasting the vhost file here to show that i am going to the same location when i go to nacc.biz and kadence.tv if you look at the bottom of the ...
-1
votes
1answer
74 views

Test virtual host configuration [closed]

I'm trying to test my virtual host configuration and the below command doesn't work... how can I test this? /usr/local/apache2/bin/httpd -S -bash: /usr/local/apache2/bin/httpd: No such file or ...
-3
votes
1answer
77 views

Ip address goes to lowest alphabetical domain on server

If I type in my server ip address into a browser, it always goes to the lowest alphabetical domain on my server. So if I had these domain on my server: zty.com typ.com dfo.com ...typing in the ip ...