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)

4
votes
1answer
47 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
15 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
123 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
35 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
82 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
24 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
39 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
0answers
37 views

Turn off error and access logs for one virtual host (Apache HTTP Server 2.4 on Windows) [duplicate]

How to turn off error and/or access logs for one virtual host in Apache HTTP Server 2.4? OS: Windows (There is a question about that but it is about Linux.)
1
vote
3answers
993 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
425 views

Excessive disk usage with virtfs / cpanel

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
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 ...
-1
votes
3answers
746 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
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
34 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 ...
1
vote
1answer
160 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
259 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
39 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 ...
-1
votes
3answers
6k 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
56 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
26 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
69 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
78 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
706 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
58 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
15 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
28 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> ...
0
votes
2answers
2k views

Apache virtual host not working on Ubuntu 14.04 LTS

I've been using this tutorial to set up an Apache virtual host on my Ubuntu pc. I've created a no-ip domain which I will be using as the hostname of my virtual host. I've followed every step of the ...
-2
votes
1answer
556 views

Apache Redirect to another folder, both within and outside document root [closed]

I've recently set up a home web/media server and having a few difficulties with a few of the settings. It's working fine for serving webpages etc but I've now reorganised the structure of the main ...
0
votes
1answer
27 views

Apache fails after configuration of 2 virtual hosts

Apache does not restart after having changed the configuration. Error: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 File: ...
0
votes
0answers
74 views

nginx catchall reurns bad gate way with $host in proxy_pass

I am currently using the following virtual server proxy setup on my development environment the defined virtual servers work fine but i am coming up with a bad gateway error when i hit my catchall ...
0
votes
1answer
43 views

How to use 2 ports for same VirtualHost

I have an F5 URL portal.example.com which points to an Oracle HTTP Server(OHS) on specific port 85. I have below settings in custom file under moduleconf folder. NameVirtualHost *:85 <VirtualHost ...
0
votes
2answers
256 views

Accessing website from two ports - Apache config

I have a website setup and want to be able to access the same site from two different ports. Does anybody know how I would do this? For example, I want to be able to access exactly the same at ...
-2
votes
1answer
53 views

Apache server config: how can I disable the certificate/SSL handshake on the WWW version only? [duplicate]

Serving a apache website via https:// => how can I disable the certificate/SSL handshake on the WWW version only? Hi we use SSL on the https://www version of our website Now I would like to disable ...
0
votes
1answer
91 views

virtualHost configuration for Apache 2.4 with tomcat 5.5

I currently have Apache 2.4 integrated with two tomcat servers in a load balancing configuration. The webserver will take requests from the DNS request for two domain names, http://domain1.nl and ...
0
votes
0answers
17 views

mod_jk mount is being bypassed by virtualhost rewrite rule

I have apache 2.4 and tomcat 5 configured with mod_jk. My webapp "dealernet" could be accessed without the port 8080 suffix directly at http://prefixa.mydomain.com/dealernet/login/login.do and life ...
0
votes
2answers
163 views

redirect permanent http to https

System: Ubuntu 14.04 , Apache 2.4.7 I want all requests to http://domain.com and https://domain.com be redirected to https://domain.com. I also want to redirect requests to the "www" subdomain to the ...
4
votes
4answers
12k views

Need help trouble shooting Https webserver error - SSL Handshake failed

I followed this guide: http://hints.macworld.com/article.php?story=20041129143420344 Here is my virtual host definition <VirtualHost *:443> SSLEngine on SSLProxyEngine On ...
-6
votes
2answers
89 views

Apache Virtual Hosts Wont Resolve

I have followed this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6 I have a website in /var/www/html. I followed the guide and i have the main ...
1
vote
1answer
111 views

SSL VirtualHost not using DocumentRoot

I'm trying to set up a self-signed SSL certificate between my own VPS and Cloudflare (next to Full SSL). I'm using the following VirtualHosts for this: <VirtualHost *:80> ServerName ...
2
votes
2answers
99 views

How to set hostname if hosting multiple servers on the same machine?

I'm learning about setting up my own web and mail servers, and I've been confused about this question for days, and articles online (including Server Fault) seems to be so inconsistent with their use ...
0
votes
0answers
29 views

Combining a 301 and aliases in Apache VirtualHost blocks

I manage (just about) Apache and VirtualHosts for the server and am trying to determine the most efficient and SEO-friendly method for a client with: an old domain/dirs/ that needs a 301 to a new ...
0
votes
1answer
89 views

mod_rewrite in .htaccess and basic auth in vhost - access to paths

I want to lock down a website (made on Drupal) with basic auth. Drupal is using mod_rewrite in its .htaccess file. The problem I'm facing is this - my virtual host looks like this: <VirtualHost ...
0
votes
3answers
88 views

Redirect Naked Domain to SSL

I have a wildcard SSL certificate and I want to redirect all http requests to their equivalent https. My server is a Debian (wheezy) and I am running Apache 2.2.22 I have added the following at the ...
0
votes
1answer
212 views

filezilla ftp file server not working with microsoft azure

I have installed Filezilla FTP on (Windows 2012 R2 server). When I try to connect FTP through my local IP (ftp://localhost) it asks for login credentials. Once I enter credentials it connects ...
0
votes
2answers
4k views

How to chroot VirtualHosts on a Apache server?

I have a FreeBSD server (company's OS of choice). Currently we run several websites on each of the webservers. Websites are in PHP which is run in Apache Module mode. At the Apache is not chrooted so ...
0
votes
0answers
93 views

How to configure apache + php-cgi on CentOS?

I have a Cent OS 6.6 server with Apache + mod_php site (site1.local). I need to configure second site (site2.local) with php_cgi. So, I created a user, gave him permissions on www-folder, configured ...
-1
votes
1answer
40 views

Accessing virtual host from all computers on home network [closed]

I've set up an Apache server on a computer in my home network and enabled name-based virtual hosting. When I enter the URL of the virtual host on that computer in a browser the page is correctly ...