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)

-1
votes
0answers
13 views

How to setup non SSL (listen on port 80) and SSL (listen on port 443) with Apache for same Virtual Host in Centos

I'm having troubles setting up and putting to work a non SSL and SSL environment with Apache (httpd 2.2.15) in CentOS 6.6 locally for testing purposes. I'm following this guide, apparently CentOS ...
0
votes
1answer
28 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
9 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
32 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
22 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
18 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
23 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
9 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
56 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
32 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
49 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
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
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
39 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
64 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
38 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
35 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
24 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
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. ...
1
vote
1answer
122 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
96 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
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
32 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
50 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 ...
2
votes
2answers
53 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
51 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
51 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
16 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
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 /> ...
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
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
0answers
40 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
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 ...
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 ...
0
votes
1answer
59 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
76 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
27 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
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
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
75 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 ...