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 (3)

0
votes
1answer
120 views

Configure Apache To Return Nothing For Default 443 VHost

I have several vhosts on port 443 and each of these vhosts have the ServerName config option set and also the correct SSLCertificateFile and SSLCertificateKeyFile values as well which vary depending ...
0
votes
1answer
120 views

Setup an apache Virtual Hosts on Debian 7

I tried to setup an apache virtual host on a fresh debian 7 installation like following: applied steps 1.Install apache server: apt-get install apache2 2.create my new derictory: mkdir -p ...
0
votes
1answer
88 views

Nginx multiple virtual host isn't working

I already have a Working nginx installation for my local development in my Computer. So i was thinking about adding another virtual host for a new project. Here is the Existing Virtual host file AKA ...
0
votes
1answer
72 views

Can't configure Nginx on Ubuntu 13.10 to work with Subdomains and main domain name

I am new to Nginx, switched 2 days ago from Apache. With Apache my website had 1 main url (www.example.com & example.com) and 2 subdomains (s1.example.com & s2.example.com). I succeeded to ...
0
votes
1answer
245 views

Apache vhost always show me the same content on different subdomains

I have two subdomains on my VPS, i have registered the two subdomains in my DNS pointing to the same IP address. the version installed is Server version: Apache/2.4.7 for Ubuntu 12.04. I've enabled ...
0
votes
1answer
128 views

Apache Proxy Reroute to Different Port

Trying to redirect my subdomain to a different port other than port 80. The request is received via port 80 and I'm trying to direct the requests to port 10001 as there's a mono server running ...
0
votes
1answer
93 views

Apache2 Default overrides virtual host

I have an Ubuntu 12.10 LTS server running apache2 with a simple wordpress install. I created the virtual host in /etc/apache2/sites-available and used a2ensite to enable it. All was working fine for ...
0
votes
1answer
83 views

Virtual host - SVN - disable direct access from server ip

I have a debian with apache2 on board. Only port 443 is opened and I'm exposing a SVN with svn_dav. I want to disable access to my server using ip address only (ie //1.2.3.4) and I want to be able to ...
0
votes
1answer
55 views

Default VirtualHost redirect

I need your help guys. I have a server running Apache 2 and in there I've multiple vhosts bound to different domains. I want that the default vhost (so every address not bounded with a vhost) ...
0
votes
1answer
39 views

Multiple VirtualHost Configuration files in Apache2.

I have servers with RHEL-5, Apache-2.2.22, PHP-5.3.25 I know I can configure multiple virtualhost configurations in mutliple file by including these files in httpd.conf. Can Apache support this ...
0
votes
1answer
35 views

Apache Virtual host (SSL) Doc Root issue

I am having issues with the SSL document root of my vhosts configuration. Http sees to work fine and navigates to the root directory and publishes the page fine - DocumentRoot ...
0
votes
1answer
68 views

Apache not restricting domain/subdomain port combinations

I have encountered an issue when I want to restrict the on domain/subdomain combinations to particular ports. For example when I just want the following domain/subdomain port combinations to work ...
0
votes
1answer
249 views

nginx - show different page when ip address is given instead of domain name

I have installed on my vps nginx with ISPConfig3. I created a domain mydomain.com through ispconfig and everything works just fine except two things. When i go to the ip address of my vps, my ...
0
votes
1answer
78 views

A subdomain not loading

On my newserver i set up a subdomain patientslife.linf.in. But when i try to set up another subdomain pmr.linf.in it shows the page The connection was reset in Mozilla and No data received in chrome. ...
0
votes
1answer
68 views

Testing website in new server before switching DNS not working

I have hosted several websites in an old server, now I want to move them to new server. Before switching DNS I want to test whether everything works fine in new server. For this, I copied all the ...
0
votes
1answer
87 views

Possible conflict in log rotate files with vhost? (CentOS)

I'm a little new to this, but our previous developers didn't set up the vhost logs to rotate (or Apache was configured wrong) so while the default logs rotate, the vhost ones do not. I was reading ...
0
votes
1answer
121 views

Host multiple ssl domains in amazon Ec2 instance

I need to install multiple ssl domains in my amazon ec2 instance.Amazon ec2 allows only one IP address so I decided to use load-balancers for each domains. Scenario : I host 4 domains in an ec2 ...
0
votes
1answer
99 views

Why is apache2 using the default vhost if I request a domain that is the same as the servers hostname, and how can I prevent it?

I have a website that I want to be able to reach using http://mydomain.com as well as http://www.mydomain.com Recently I configured my servers hostname to mydomain.com I have installed apache2 in ...
0
votes
1answer
338 views

User not recognised in Dovecot/Postfix and virtual domain (Virtualmin)

I have installed Postfix and Dovecot on my VPS running CentOS 6 x86. I am trying to make them work with the virtual domains set up using Virtualmin, but the user cannot login. When testing imap with ...
0
votes
1answer
344 views

Apache2 virtual host not working

Problem My apache2 virtual host is not working. And I've totally no idea on what the error is. What happended? I've one virtual host named v1, and it works fine. Then I copied sites-available/v1 to ...
0
votes
1answer
336 views

Setting up virtual host with symlink in Ubuntu 12.04

I am newbie in virtual host. I have followed this tutorial to create a virtual host to run php projects. Also, I've used symlink method described here. Steps in first tutorial like installing apache, ...
0
votes
1answer
41 views

apach2 block non-name-based virtual host

I am using apache in Ubuntu 12.04. I set up my apache server using name-based virtual host, but it seems block other port when I want to access other port directly using IP address. I run sudo ...
0
votes
1answer
298 views

Error in mysql “max_allowed_packet” VPS godaddy

I am getting error "Serious session error detected. Please notify administrator, this problem is most probably caused by small value in max_allowed_packet MySQL setting. " This error generally ...
0
votes
1answer
56 views

Specifying multiple NameVirtualHosts in a VirtualHost configuration

My server is running Apache2 and the configuration contains several NameVirtualHost settings. # Example NameVirtualHost aaa.bbb.ccc.ddd:80 NameVirtualHost xxx.yyy.zzz.qqq:80 NameVirtualHost ...
0
votes
1answer
16 views

Virtual host not linking to correct website

I have the domain designer-school.com and I am using my httpd.conf file to connect to a folder on my server and display the site. <VirtualHost *:80> DocumentRoot /var/www/html/backend ...
0
votes
1answer
131 views

VSFTPD Virtual User Group

Currently I have a vsftpd server on a CentOS machine with virtual users. The users are authenticated using MySQL. The users have all the permissions in their home directory and they are jailed into ...
0
votes
1answer
33 views

Subdomain not linking with folder

The subdomain is working and connecting to my website but linking to the root and no the folder I thought I was linking to. <VirtualHost *:80> DocumentRoot /var/www/html/backend ServerName ...
0
votes
1answer
107 views

Hosts file doesn't work with .com host names

My /etc/hosts file is configured as following: 127.0.0.1 localhost mysitea.local mysiteb.com www.mysiteb.com www.mysitea.local And I have my Apache virtual hosts setup accordingly: ...
0
votes
1answer
111 views

apache client cert conditionally

seems to me very strange I couldn't find information neither questions but I'm in the situation of serving some sites over an apache reverse proxy. I have to switch all the traffic (also lan) over ...
0
votes
1answer
106 views

Apache2 : 2 VirtualHosts 1 ServerName 2 ServerPath

I'm installing a symfony project on /var/www/ And I have a special landing page stored here /var/www/web/landingpage I want my visitors accessing http://www.mydomain.com to land on my landingpage ...
0
votes
1answer
44 views

apache2 // vhost.conf // new entries not recognized

I've got some kind of strange problem with my VirtualHost settings. I think maybe some wrong file is loaded, or anything - I'm not sure and I can not spot the problem - or have found an appropriate ...
0
votes
1answer
123 views

Apache Virtual Host and Sonicwall

General I am attempting to setup IP or name based virtual hosts in Apache behind a SonicWall firewall. In house, both virtual host methods work flawlessly (even on different subnets that cross the ...
0
votes
1answer
48 views

How to enable logging for virtual hosts on tomcat6?

I have established 2 domains on my tomcat 6 running on CentOS. But now my logging is broken. All logs except catalina.out are empty. I would like to have one log for each domain. I found a lot of ...
0
votes
1answer
220 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
1answer
35 views

Apache virtual hosts for Drupal and fixed websites

I have two websites server1.mydomain.com and server2.mydomain.com. Server1 is part of a multi host Drupal installation located in dupal-7.2/, Server2 is a static website located in htdocs/myserver2. ...
0
votes
1answer
422 views

Nginx reverse proxy to apache not matching VirtualHosts

I have 2 sites, Main.com and New.com. I switched over from Apache to Nginx in front of it, and it worked well for Main.com, but it seems the Virtualhosts aren't working right, since a request for ...
0
votes
1answer
560 views

lighttpd virtual hosting configuration

I need help setting up virtual hosting in lighttpd. i have the lighttpd default webpage in /var/www/lighttpd dir and i have created other dirs for my other websites /var/www/web1.com/public_html and ...
0
votes
1answer
651 views

How to combine Lighttpd simple_vhost with www to non-www redirects?

I've set a simple virtual hosting using Lighttpd simple_vhost module and want to do a permanent 301 redirect from www to non-www. Here are most significant parts of my configuration file: ...
0
votes
1answer
31 views

Apache - protect particular http patterns

I want to restrict certain domains from accessing services on my app server. For example; mydomain.com/sensitiveInformationServlet I want to create a filter on my Apache server which will match all ...
0
votes
1answer
137 views

Unable to run multiple sites on Nginx

For the first time today, I am trying to run Nginx. I have to run 2 websites built in Symfony 1.4 and Symfony 2.1. The nginx configuration file is http://pastebin.com/rFBqBaaM. The server blocks are ...
0
votes
1answer
179 views

how limit php script to access parent host directory

I've a debian linux server with apache2.2 & php5 installed. I've created many virtual hosts on my apache server, each virtual host has a separate root directory & php is enabled for all of ...
0
votes
1answer
139 views

Multiple domains on same virtual hosts in Apache

I'm working on an applicationĀ for my clients that allows them to set up small landing pages for their campaigns. I have a set of templates and views for adding text, photos etc to the templates. ...
0
votes
1answer
151 views

Overlap with VirtualHost on Apache2

I am receiving the following error message when restarting my apache2 server: [Wed Oct 31 11:44:33 2012] [warn] VirtualHost 172.30.30.12:443 overlaps with VirtualHost 172.30.30.12:443, the first has ...
0
votes
1answer
161 views

One server running Django (with Nginx and Apache) and Wordpress Blog

I have nginx listening to port 80 for my primary site foo.com. It proxys to port 8080 which is where the Django app lives server { listen 80; server_name www.foo.com foo.com; access_log ...
0
votes
1answer
82 views

Change documentroot according to sub URI

Assuming i have the following project structure Root - Frontend -- index.php - Backend -- index.php I want my www.mysite.com to use /www/root/frontend as the document root while /www/root/backend ...
0
votes
1answer
71 views

apache2 osx virtual host serving same directory

In httpd.conf Listen 127.0.0.1:80 ServerName testsite.com:80 DocumentRoot /usr/share/web <Directory /usr/share/web> // usual stuff from documentation </Directory> Include httpd-vhost ...
0
votes
1answer
103 views

Apache2 with mod_proxy_ajp doesn't rewrite url

I have apache2 exposing a jboss through mod_proxy_ajp on / and serving some static content with ProxyPass /static ! ProxyPass / ajp://localhost:8009/ in proxy_ajp.conf. I need to redirect all the ...
0
votes
1answer
330 views

OSX Apache2 Virtual Hosts Proxy Issue

I'm using the following httpd-vhosts.conf file to host several sites on my MacBook. Apache Configuration The first two virtual sites (v3.local,ss.local) are giving back the following error messages ...
0
votes
1answer
160 views

apache virtual host configuration with ssl

All I wanted to do this evening was to install phpmyadmin on my debian lenny web server, and somehow after messing around with ssl and trying hundreds of different combinations of everything i can ...
0
votes
1answer
508 views

Symfony2 Vhost Configuration

I'm new to Symfony2 and following the EnsJobeet tutorial. My VirtualHost config is as follows: <VirtualHost *:80> ServerName jobeet.local DocumentRoot /var/www/ensjobeet/web/ ...