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
23 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 /> ...
0
votes
0answers
19 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
0answers
16 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 ...
5
votes
2answers
881 views

Apache not finding folder on File System; Appending “\xe2\x80\x9d” to end of File Paths

I have three Virtual Hosts running in apache2 on my personal Macintosh running OS X Mavericks and I have ran into a knot of confusion. They are configured in my httpd-vhosts.conf file as follows: ...
6
votes
3answers
2k views

Using VirtualDocumentRoot *only* if a suitable document root exists

I'd like to set up an environment where Apache virtual hosts can be dynamically created without reloading the configuration. I can do this with mod_vhost_alias, I set up my default virtual host ...
4
votes
1answer
1k views

How to trace high CPU Apache process to particular virtualhost

Looking at the output of top I notice that intermittently there are one or two Apache processes consuming a high amount of CPU - anywhere between 50% - 90% The spikes in CPU usage come and go quite ...
5
votes
1answer
2k views

using wildcards in host-aliases for Tomcat's virtual hosts

I want to do the following with Tomcat 5.5: *.mydomain.com should go to my webapp, located at the virtual host mydomain.com. So I have a virtual host mydomain.com, and I want all *.mydomain.com also ...
2
votes
1answer
477 views

IIS7.5 host headers multiple sites on localhost

I have troubles with IIS7 host headers. I'd like to create a domain for managing mysql with phpmyadmin. I tried to configure with these settings without success. The browser displays the ...
0
votes
1answer
20 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
6 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 ...
0
votes
1answer
29 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 ...
2
votes
2answers
2k views

Apache 2 UserDir for only one VirtualHost

Is it possible to enable the UserDir Directive for just one VirtualHost rather than have it on for all and then disable it (with "UserDir disable") for each VirtualHost you don't want it on? I have ...
-5
votes
0answers
17 views

Cloud hosting Company [closed]

Looking for a cloud hosting company that can host this applications Reporting Server Application Java/Mysql Remote Desktop Public IP Open Port 4440 Server It can be virtualized CPU Core:6 ...
0
votes
1answer
1k 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 ...
-1
votes
1answer
40 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 - ...
1
vote
1answer
112 views

IIS worker process and host headers

I am building a multi tenancy site in ASP.net. It will has three host headers. My understanding is that when a request comes to www.siteA.com, ISS will spin up a worker process for the for the ...
1
vote
2answers
197 views

how to? 1 domain name, 1 ISP Static IP, 1 router, 3 physical web Servers

I have 1 Static IP from my ISP, 58.59.60.61 I have 3 local physical web servers: Win2008 IIS 7, local IP 192.168.10.11, example.com Ubuntu Apache2, local IP 192.168.10.12, subdomain1.example.com ...
0
votes
2answers
1k views

Forbidden (403), when accessing server-status on apache 2.2.22

I'm getting Forbidden error when trying to access www.website.com/server-status mod_status is enabled The VirtualHost: <VirtualHost *:8080> ServerName website.com ServerAlias ...
1
vote
1answer
39 views

Can't access local apache virtualhost using Chrome [on hold]

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 ...
0
votes
1answer
906 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 ...
-1
votes
0answers
15 views

Apache Virtual Host Reverse Proxy rewriterule not rewriting everything [duplicate]

The server is being used as a reverse proxy, urls are points at the servers, the server intercepts the URLs and reverse proxies the pages from the IIS servers. The below rewrites some URLs but not ...
1
vote
1answer
1k views

How to configure ProFTPD to provide a different anonymous FTP for each domain?

I'm trying to configure ProFTPD to match the following situation: Multiple domains on a single IP address. Each domain should have it's own anonymous FTP directory. Everything runs on Ubuntu ...
0
votes
1answer
993 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: ...
-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
36 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 ...
0
votes
0answers
34 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 ...
-1
votes
2answers
62 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
32 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. ...
1
vote
3answers
46 views

ServerName with IPv6 with Apache

I'm basically trying to redirect every request on :443 to :443. I found this way to do that, which work pretty nicely, once the visitor discard the SSL alert (my certificate isn't valid for my IP, of ...
0
votes
1answer
22 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
30 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 ...
2
votes
2answers
3k views

Nginx Multiple Domains

I am trying to add a second virtual host to nginx. When i go to the new domain it redirects to the old one. I have tried restarting Nginx, rebooting the server. Has anyone come across this before, ...
1
vote
1answer
114 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 ...
0
votes
0answers
10 views

Guest as Virtual machine connection to Host [migrated]

I have guest run on my machine on qemu with configuration: /usr/local/kvm/bin/qemu-system-x86_64 -enable-kvm -cpu host -smp 8 -hda ${TEST_VIRT_ENV_IMAGE} -m 4096 -netdev user,id=user.0 -device ...
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. ...
0
votes
3answers
1k views

multiple virtual hosts on EC2 ubuntu - cannot access second host, always accesses default

I have been searching and reconfiguring for 6 days now and have lost several clumps of hair. PROBLEM: I want 2+ virtual hosts on my ubuntu server (1 ip) BUT - Only the first "alphabetically" listed ...
1
vote
1answer
2k views

Need help for configuring VirtualHost of Apache

I have virtual machine running Ubuntu. I want to type in browser "http://localhost/mwiki" and see my MediaWiki site. I put this site into /var/www/mwiki folder and I configured Apache "default" file. ...
1
vote
1answer
94 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 ...
8
votes
5answers
11k views

How to create a multi-domain self-signed certificate for Apache2?

I've got a little private webserver where I have several virtualhosts. I know that it's impossible to assign a certificate to each individual virtualhost, because the server finds out which ...
-1
votes
3answers
2k views

Apache vhosts not working on Ubuntu 14.04 LTS

I'm trying to set up vhosts on ubuntu 14.04 LTS using apache, but it's seemingly not working. Output of apachectl -S AH00558: apache2: Could not reliably determine the server's fully qualified ...
0
votes
0answers
28 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
30 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
49 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
28 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 ...
0
votes
2answers
160 views

Apache2 “Deny from all” directive in 'security' section stops access in Virtual Host sections

I have the following two sections in my agache2.conf file. <Directory /> Options FollowSymLinks +Indexes AllowOverride None Order allow,deny Deny from all </Directory> ...
1
vote
1answer
35 views

Accessing site after IP redirect

we are using Apache2 to host multiple sites on one system in our local network. One such site is the following: <VirtualHost *:80> ServerName wiki.idi.local DocumentRoot ...
2
votes
2answers
52 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 ...
2
votes
2answers
4k views

Displaying custom error pages on different VirtualHosts in Apache

I have a reverse proxy Apache that is moving the request to a Tomcat servlet. The configuration on the Virtual Host in Apache is: <VirtualHost 10.10.10.10:80> ProxyPass /Site1/ServLet1 ...
-1
votes
3answers
53 views

Apache: enter one of virtual hosts via url

By entering my public ip, browser will show page from this dir: /var/www/html. I have 2 virtual hosts in /var/www/host1 and /var/www/host2. By entering locally "host1.server1" or "host2.server1" in ...
0
votes
0answers
44 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 ...