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
0answers
13 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
0answers
6 views

OpenLiteSpeed: No request delivery notification has been received from LSAPI application, possible dead lock [on hold]

I keep getting these notices in the log viewer and there are tons of them. I run two sites one with wordpress and one without. When I access the one without wordpress I start getting these notices. I ...
0
votes
1answer
17 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
41 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
22 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 ...
-1
votes
1answer
25 views

Create and access sites on local ubuntu Server from windows machine via LAN [closed]

I have a Ubuntu Server in my LAN, latest ubuntu server with Webmin, and Virtualmin From this : ...
-5
votes
0answers
23 views

Virtual host redirecting [closed]

I have problem with virtual host config I want to configure my virtual host that http://domain.com/admin/ document root will be /var/www/domain/admin/public path when I have already configured ...
2
votes
2answers
50 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
24 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
35 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
12 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
0answers
13 views

Installation of Textpattern CMS with apache2 on dubian

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
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
0answers
23 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
31 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
33 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.)
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
18 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
28 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
38 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
47 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
0answers
41 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
1answer
24 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
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 ...
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
47 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
13 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
26 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
1answer
25 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
67 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
28 views

Naked domain not working on VirtualHost for EC2

I am using AWS EC2 and I am redirecting example.com domain to a directory in EC2 with the following virtual host: NameVirtualHost *:80 <VirtualHost *:80> ServerName www.example.com ServerAlias ...
0
votes
1answer
37 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
1answer
56 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 ...
-2
votes
1answer
42 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
0answers
15 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
118 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 ...
0
votes
1answer
81 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 ...
-5
votes
2answers
48 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
87 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
84 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
27 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
78 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
0answers
61 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
39 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 ...
0
votes
0answers
68 views

Replace all URL's based on hostname using Apache 2.2

I am setting up local testing environments for my team. Each of us have our own subdomain that points to our machines on our internal network. In the code, the URL's are all written with the www ...
1
vote
2answers
38 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
0answers
27 views

How to create dynamic vhosts with dynamic root folder locations?

On my development machine I'd like to have one folder for all my projects and access each project with a subdomain that is named after the folder name. Most of the dynamic vhost tutorials I found for ...
0
votes
1answer
117 views

apache virtualhost redirection on ubuntu 14

I had set up 2 domain virtualhost files under /etc/apache2/sites-available, www.example.com.conf example.com.conf apart from the default configurations. I've been trying to create a redirection ...
0
votes
1answer
166 views

Arch-linux apache 404 mod_rewrite VirtualHost with url suffix

I have a problem with Apache on Arch-Linux. I assume it is related to mod_rewrite, but I am not sure. In the past I always worked with Debian-based systems. Arch seems a little different. I have a ...
0
votes
3answers
82 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 ...