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
110 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
46 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
106 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
263 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
77 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
129 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
35 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 ...
1
vote
1answer
450 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
19 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
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
138 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
12k 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
3k 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
39 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
46 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
67 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
69 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
164 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
38 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
57 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 ...
3
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
69 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
110 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
93 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
23 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
140 views

SSL isn't working with Apache

I was trying to install a SSL certificate on my VPS. I Generated the CSR, and Got the Certificate and Intermediate CA. I am working on apache 2 on ubuntu server 13.10. So I used the Default SSL ...
1
vote
2answers
49 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
1answer
113 views

Fix Apache Virtualhost with Proxy Location

Given the following virtualhost: <VirtualHost *:80> DocumentRoot "/var/www/dashboards/public/dist" Servername local.dashboards ServerAlias local.dashboards Header add ...
0
votes
0answers
36 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
1answer
2k views

VirtualHost Apache Issues - Subdomains [closed]

This is starting to drive me insane and I'm sure it's easilly fixed and I'm just missing something. I have ISPConfig 3 setup on a server, and I'm tweaking some of the apache config files to try and ...
0
votes
0answers
80 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 ...
1
vote
3answers
1k views

Apache virtual host - one site, two IP addresses [closed]

Is it possible to configure an Apache (v2.x, running under Plesk 10.4.4) virtual host to listen to two IP addresses at once? We are moving a site from one IP on the server to a different IP (so that ...
1
vote
1answer
671 views

Excessive disk usage with virtfs / cpanel [closed]

I'm running a server using cPanel, with virtfs enabled, and seeing very high disk usage compared to the amount of data actually uploaded/created by each user. I am getting DISKWARN emails telling my ...
0
votes
1answer
16 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 ...
-1
votes
3answers
784 views

wampserver VirtualHost [duplicate]

I have problem about setting new project. I just installed wamp 2.2E. I am using windows XP. In folder /www I created folder /example. In WINDOWS/system32/drivers/etc/hosts I added 127.0.0.1 ...
0
votes
0answers
22 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 ...
1
vote
1answer
173 views

VirtualDocumentRoot Setup For Local Development [duplicate]

I'm trying to learn about setting up httpd.conf and httpd-vhosts.conf files. I would like to have a local setup, using Wampserver on Windows 7, so that I can add a new project just by adding a new ...
0
votes
1answer
321 views

Setting up my vhosts file correctly in WAMPServer [duplicate]

I am trying to setup an mobile app that I have received from another dev locally on my machine, this is a cordova based mobile app that is basically html5/javascript etc.. I have added the following ...
0
votes
1answer
58 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
3answers
7k views

How to access a virtual host from lan? [closed]

I've setup a virtualhost in my pc using "wamp server". The virtual host is accessible via http://myproject-name.lan/ Now, how shall we reach it via the other lan client pc? And also, how can we reach ...
0
votes
1answer
117 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 ...
0
votes
1answer
40 views

php using live server as oppose to local server despite virtual host settings

I had planned on migrating a website to another server, So having copied the code and database etc, and changed my hosts file on windows, everything worked almost as expected. I could load the site ...
0
votes
0answers
146 views

Dynamic Subdomain with htaccess unchanged URL

I have a Codeigniter project Located at "domain.com/users/abc" directory. I want to access it with Subdomain "abc.domain.com/" and also I don't want the url in the address bar to change. There will ...
0
votes
0answers
9 views

Adding sub-site to an apache server's main web site [duplicate]

I have a CentOS server running a bunch of services, some with web interfaces available as subfolders of the root site; eg: myhost/service1interface or myhost/service2interface I want to create my ...
0
votes
1answer
166 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 ...
4
votes
2answers
938 views

How do I give label to vSwitches on VMWare?

I've searched extensively trying to name the vSwitches that I create, but all I can name them are "vSwitchX" where x= some number. How do I give these switches names? I'm using the Web Client. ...
1
vote
0answers
13 views

how to configure a default (or common) virtualhost for non-ssl domains when ssl domains exist? [duplicate]

I have several domains running on the same (physical) server under Apache 2.4 web server. Some of these domains support secure connections (over the standard HTTPS protocol). For them I configured ...
0
votes
2answers
100 views

Multiple Web Server VMs or a Single VM with virtual hosts?

I have a number of sites running on various physical servers that I'm looking at moving into our virtual environment. Most of these are small sites usually with a MySQL database. User base is ...
0
votes
0answers
17 views

apache2 point folder to subdomain

I need to point domain.com/chat to chat.domain.com. So, when I access domain.com/chat I want to see the same thing as when I access chat.domain.com. My virtualhost for this looks like below. As you ...
0
votes
1answer
40 views

Mapping Virtual Hosts by folder name in Apache

I am trying to add virtual hosts to my Apache, but I am trying to do it in a specific way of which I don't know if it is possible. I currently have it like this: <VirtualHost *:80> ...