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
18 views

VirtualHost's behind an nginx reverse proxy fail to resolve properly

I have a load balancer pair in front of 4 web servers which run nginx on port 80 and proxy to apache on port 8081 for non-static content like php code. I'm running several domains in this ...
0
votes
1answer
13 views

Kerberos SSO virtualhost different domain

I have a running centos6.6 server who authenticates against a windows 2008 AD with realm EXAMPLE.LOCAL. I have successfully configured an apache webserver for authentication through kerberos keytab ...
0
votes
0answers
14 views

apache 2.4.10 error 403 on aliases

I updated my apache server to 2.4.10 from version 2.2.x on debian7 and I have problem with multi virtual hosts. When I try to load page I have forbidden [403] error. If I enable only one alias the ...
0
votes
1answer
24 views

Apache2 DocumentRoot does not exist

I was using Apache2 with /var/www/site and all was working well. We started using proFTPD and we releasised we need to move the sites insie the home directory. Note: Home directory was not there was ...
0
votes
1answer
43 views

How to disable catch-all on a ssl virtual host

My virtual host looks like following: <VirtualHost example.com:443> SSLEngine on SSLCertificateFile /etc/apache2/ssl-keys/example/example.crt SSLCertificateKeyFile ...
1
vote
1answer
36 views

Unable to get Virtualhost config working with Apache 2.4.6

I had a HTTPS site running successfully under Apache 2.4.6 on CentOS7. I was then asked to host another site on the server, which at the moment is just HTTP but will eventually also move to HTTPS. I ...
-2
votes
1answer
15 views

CentOS6 Apache - Virtual hosts

I was trying to set up a virtual host in apache on my CentOS6 server that handles queries of a subdomain. Let's say, I have the domain 'example.com'. Now, I want to create the sub domain ...
4
votes
2answers
114 views

Can I use TLSv1.0 for one client IP, TLS v1.2 for everyone else

Something like this? # TLS v1.0+ for one IP <VirtualHost _default_:443> Order deny,allow // <------------- HERE Deny from all // <------------- HERE Allow from 10.20.30.40 ...
0
votes
0answers
55 views

Nginx + Apache + PHP-FPM, VirtualDocumentRoot not working

I'm having a webserver with Nginx (1.7.10) is front of Apache (2.4.12), everything is fine until I used VirtualDocumentRoot for mass virtual hosting. I got this error in the log: [Fri May 15 ...
0
votes
1answer
16 views

Cannot access virtual directories on Drupal 7

I have installed Drupal 7.37 on AWS EC2 Linux instance. It was working perfectly until I reinstalled httpd24 and PHP 5.5. Since then, the main page loads perfectly but I cannot access my virtual ...
1
vote
2answers
118 views

Apache subdomain configuration not working

I have a Debian 6 server that was configured by somebody else. I was asked to add a subdomain on that server. I configured the DNS correctly (checked with nslookup), created the directory in ...
-1
votes
1answer
22 views

Apache 2/httpd vhost dynamic documentroot

I have an app in folder /var/www/test Also there is an "sub-app" in folder /var/www/test/subapp There is another index.php inside /var/www/test/subapp and If user will type test.com the index.php ...
0
votes
1answer
35 views

Apache 2.4 virtual host on different port than 80

When reading the articles it all seems easy, but I am unable to get this to work. I run apache 2.4.7 Several virtual hosts are running just fine. I need one virtual host to run at port 8080 only. So I ...
0
votes
1answer
55 views

How to correctly setup an Apache VirtualHost as HTTP and HTTPS?

I am trying to setup a locally (for development/testing purposes) SSL site using Apache and mod_ssl and this is what I have in my VirtualHost files: /etc/httpd/conf.d/local.conf <VirtualHost ...
0
votes
0answers
13 views

https passthrough in Apache

Every HTTP or HTTPs connection i have is received by an apache (lets name it as "SERVER A") that acts as router that redirects to other internal computers that holds other apache service. Recently ...
0
votes
2answers
56 views

Can't configure two subdomains apache 2.4

I'm trying to configure two subdomains using apache 2.4, but seems that there is a problem I can't resolve. Here is the apache configuration file <VirtualHost *:80> ServerName ...
0
votes
0answers
27 views

Is it good or bad to have dynamic virtual hosts configuration in Nginx?

I have a dozen sub-domains hosted in a single server using Nginx. Currently I am using a single configuration like this: server { listen 80; server_name *.example.com; root ...
0
votes
1answer
37 views

Creating a Virtual Host on a local development machine

I'm having issues with creating a Virtual Host on my Ubuntu Apache2 setup for local development. I'm better familiar with httpd.conf running CentOS 6.5 and don't seem to be able to figure out how to ...
0
votes
1answer
29 views

Why does Apache need o+x permissions for a Virtual Host running under suEXEC?

Running Apache 2.4.10 on Arch Linux. I'm trying to restrict an SFTP user to only be able to access his home directory, a public folder under a vhost directory, without being able to access that vhost ...
0
votes
0answers
23 views

Redirecting ServerAlias root to some sub-directory with Apache

I have the following Apache VirtualHost configuration: <VirtualHost 192.0.2.1:80 [2001:DB8:4007:80d::200e]:80> ServerName app.example.com ServerAlias foo.example.com ServerAlias ...
-1
votes
1answer
96 views

Multiple websites running in docker containers, how to implement?

I am running two docker containers, using the following docker-composer script: db: image: cofoundry/mysql environment: - MYSQL_USER=wordpress - MYSQL_PASS=wordpress - ...
0
votes
1answer
35 views

Redirect with apache subdomain from oher hosting (?)

My requirement: access subdomain.example.com where example.com is a shared hosting, and subdomain is an app (schooltool) running on port 7080. I tried to configure virtualhost, but I can not set the ...
1
vote
1answer
199 views

Can't access local apache virtualhost using Chrome [closed]

I have a few virtualhosts on my localhost apache, here's the config of one (the others just change the letters before .localhost) <VirtualHost *:80> ServerAdmin admin@dev.localhost ...
-1
votes
1answer
17 views

Append RewriteRule to existing virtual host

My server configuration example.com.conf uses a virtual host for example.com. It contains a few rewrite rules. Now I'd like to add another rewrite rule on the same example.com domain, without editing ...
0
votes
1answer
62 views

How can I use a virtual host to redirect https subfolders to different ports in apache?

I have a web service running on port 8112 and I can redirect a subdomain eg http://myapp.mydomain.com to 127.0.0.1:8112 using a virtual host by setting the ServerAlias, proxypass and proxypassreverse ...
-1
votes
2answers
74 views

Which domain name to use for a FQDN?

I've been reading for hours on this and am still stuck. Everything I've read indicates I need my hostname and a domain name to get a FQDN. But what about a setup where I have one hostname, using ...
1
vote
1answer
77 views

Apache Virtual Host error

Before I begin to explain my issue, it's worth noting that my DNS records are setup correctly. This is a weird error, I have a server with the ip: 82.4.165.27 hosting several virtual directories. ...
0
votes
0answers
39 views

Apache swapping virtual host entries each request

I have the following httpd.conf. Based on the different domain, it should route the request to the appropriate entry showing a different site based on a similar code base. The problem is that it ...
0
votes
1answer
53 views

nginx + PHP-FPM disable PHP functions only for certain virtual hosts

How can I disable some php functions only for some of(currently only 1) virtualhosts on my Nginx+PHP-FPM stack?
1
vote
1answer
31 views

Parametric Apache Virtualhost

I have a Virtualhost made this way: <VirtualHost *:80> Servername www.website.com DocumentRoot /path/to/application-1.2.1/client/app/ ErrorLog ...
0
votes
0answers
16 views

Trouble accessing FTP internally

I am currently running OS X Server 4. I have multiple websites (virtual hosts) set up with it. Lets call them domain1.com and domain2.com. Internally, they are both being run off of the same IP. ...
1
vote
1answer
229 views

Apache 2.4.9 on Debian 7.8 - .htaccess options not allowed

I’m part the team that administrates a Apache 2.4.9 web server running on Debian 7.8. We’re having an issue with one of our users website: www.example.com/~user When we try to access this URL, a ...
1
vote
1answer
115 views

Two domains points to the same directory (Apache)

I have two domains, hovelgps.in quicktrack.in I created virtual hosts in Apache with different directories, but when I go to the second domain it will redirect to the first domains directory. My ...
0
votes
0answers
30 views

Apache HTTP to HTTPS Redirection on none HOST NAME

I'm not able to get a corect redirection from http to https on every url on my Apache on Centos. I got this in the httpd.conf: LoadModule rewrite_module modules/mod_rewrite.so NameVirtualHost *:80 ...
0
votes
1answer
38 views

How to allow access to virtually hosted Wordpress site on Apache via IP address?

I recently transferred my site to a new server, and some users' DNS servers have still not been updated. I'd like to provide them an IP address to access my site in the meantime. I set up an Alias ...
1
vote
2answers
55 views

Restarting failed hosts on VMware vSphere ESXi

When a cluster is configured for High Availability (HA), VMs can be restarted onto an alternate host when the its host has failed. However, I am wondering: if the host has failed, is there a means ...
1
vote
2answers
41 views

WWW subdomain redirects to default site instead of virtual host?

I am hosting multiple websites on an instance of OS X Server 4.0 with an issue. I have a default personal site that is available on the normal domain and the www subdomain. I tried to configure other ...
2
votes
2answers
56 views

.htaccess gets applied to wrong domain

I have configured my apache like this: <VirtualHost *:80> ServerName www.th3falc0n.de ServerAlias th3falc0n.de *.th3falc0n.de DocumentRoot /var/www/html/th3falc0n <Directory ...
0
votes
0answers
90 views

virtualhost don't redirect to tomcat apache 2.4

I'm trying to redirect a specific domain to a application that runs on a tomcat server. My apache (2.4) runs on Ubuntu Server 14.04 and I really tried every answer here on stackoverflow. Most of them ...
4
votes
1answer
64 views

How to handle external alias with dspam as daemon between postfix and dovecot with virtual domains?

I've got the following situation for incoming mail with Postfix 2.9.6, DSpam 3.10.1 and Dovecot 2.1.7: Incoming Mail -> SMTP -> LMTP -> DSpam (as daemon) -> LMTP -> Dovecot I've got ...
0
votes
1answer
18 views

configuing sendmail to use virtual hostname

My CentOS server has several IP addresses. There are different virtualhosts configured per IP address on apache. When I send an email via PHP/sendmail, I want that sendmail uses the hostname that is ...
0
votes
1answer
32 views

Installation of Textpattern CMS with apache2 on debian

I configured the Vhost on the apache2 server: <VirtualHost *:80> ServerAdmin webmaster@asr.lan ServerName www.asr.lan DocumentRoot /home/web/ <Directory /> ...
1
vote
2answers
38 views

Nginx: possible to use SSL certificates from different authorities on one IP address?

I'd like to know if it's possible to have two Nginx virtual hosts sitting on the same v4 IP address. I know there exist SNI but I have two basic (no SAN, no wildcard) SSL certificates from two ...
0
votes
0answers
27 views

Can Windows System Resource Manager work in virtualized environment?

I'm trying to limit the working set of a process using WSRM on Windows Server 2008R2, running in a virtual environment hosted by our IT provider. I currently don't know which virtualization technology ...
0
votes
0answers
49 views

Testing samba performance with Virtualbox

I have set up a VM in Virtualbox to test the effects of samba configuration changes in terms of read/write transfer speed. But successive read transfer speeds have sometimes more than 10 Mbps ...
0
votes
1answer
14 views

Apache2: How can I get Apache2 to not respond?

I didn't find a way but it can't be so hard : How make Apache2 Listen a port but not responding. My VH: <VirtualHost *:80> ServerName catchall </VirtualHost> I don't want to ...
0
votes
0answers
19 views

Virtual Host showing error 11001 even after chown and chmod

I am trying to create a virtual host to just test a basic html website. Guest OS - Ubuntu 14.04 Host OS - Ubuntu 14.10 In the Host OS, I connect through a proxy server which requires me to enter a ...
-4
votes
2answers
42 views

Apache2 how to working www.example.com [closed]

I need help. I am sorry wrong write. My LAMP server I created virtual host working http://example.com , but it is NOT WORKING. $ping www.example.com ping: unknown host www.example.com My ...
0
votes
1answer
46 views

virtual host in nginx not working

I'm creating virtual host using nginx with following configuration: server { listen 7001; server_name example.com; location / { root html; index index.html ...
0
votes
1answer
66 views

Two https virtualhosts on same server: same port, different subdomains

I've tried searching for this scenario, but can't seem to find exactly this setup. I want to have something along the lines of the following: I want to have two subdomains redirect to different ...