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 (5)

0
votes
1answer
9 views

Configuring Jetty for FastCGI has worked, but how to add virtual hosts?

On CentOS 7 Linux I have successfully followed the guide Configuring Jetty for FastCGI. However the $JETTY_BASE/webapps/jetty-wordpress.xml file in the guide serves a single Wordpress installation ...
0
votes
0answers
9 views

How to add Virtual host on ec2 wiith Apache 2.4.18?

I'm trying to domain to point specific document root of EC2 instance. I've set Route 53 and and also set DNS to domain. Now domain points fine. I have also added host to host file of server. Now I ...
0
votes
0answers
17 views

how to undo 'Alias' in Virtualhost

I wanted www.domain1.tld/domain2 to point to /www/directory2 So I added an 'Alias line' to my Virtualhost config apache2/sites-available/domain1.conf like this: <VirtualHost *:80> ...
0
votes
1answer
21 views

Redirecting http to https, Where do I edit the virtualhost? [on hold]

Attempting to research the best way to redirect http to https and several of the answers here mentioned edit the VirtualHost to accomplish this. I'm honestly at a loss as to where to edit this ...
0
votes
0answers
5 views

Static file serving through apache2 [duplicate]

I want to enable static file serving using apache2 by accessing the files in files system. My application is running on Tomcat7, my virtualhost looks like: <VirtualHost *:80> #set server ...
2
votes
1answer
1k views

Multiple Domains Name on one server with Nginx

I'm struggling to configure two different domains name on my dedicated server... I've already one DN configured like this in the vhost DOMAIN_1.net.conf : server { listen 127.0.0.1:8080; ...
-1
votes
0answers
16 views

Single Servers or Virtual Servers for small business [duplicate]

I have a small Company of about 25 users. Today I have a main Server used for file sharing, SQL server, Active Directory. I have another server used for Hype-V. I find I cannot upgrade the main server ...
-8
votes
1answer
101 views

Is my virtual host configuration correct? [closed]

Is this virtual host configuration correct? DocumentRoot /sda1/htdocs <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /sda1/htdocs> ...
0
votes
0answers
14 views

Messy conflict between Wordpress .htaccess and HTTPS rewriting

I'm using Apache 2.4.6. I am trying to do HTTPS for a specific wordpress site through apache configuration. I have the following in my apache vhosts: <VirtualHost *:80> # ... ...
-2
votes
0answers
26 views

Unknown Host error when I am connected to internet [on hold]

I am using windows 7 and wamp64 to create new php project and new virtualhost. My problem is it is working only when I am not connected to internet. Whenever I connected to internet it is giving me ...
-2
votes
0answers
11 views

phpMyAdmin install with php7 centos7 manually? [on hold]

So I am running php7 and centos 7 and I am looking to install phpmyadmin. If I add epel and run sudo yum install phpmyadmin I get an error saying my php versions conflict with what phpadmin requires. ...
3
votes
2answers
3k 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 ...
0
votes
1answer
16 views

How to divert request from apache to multiple servers ports (Zope 8080, Tomcat 8081 etc.)?

Hi I am running multiple applications on the same machine like Plone which is using ZOPE application server that is running on port 8080 and Tomcat which is hosting multiple web applications and ...
0
votes
1answer
2k views

Subdomain error: server DNS address could not be found

I'm trying to add subdomain to my domain. I just installed httpd on my clean centos 7. At first I created file /etc/httpd/conf.d/htmltest.mydomain.com.conf with the following contents: <...
0
votes
1answer
30 views

www subdomain working, unkown reason

i have a vServer with a domain (from strato) running on Apache2. My only running site has the following vHost: <IfModule mod_ssl.c> <VirtualHost *:443> # The ServerName directive sets ...
0
votes
1answer
1k 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: server....
1
vote
2answers
1k views

ReverseProxy not working on OSX El Capitan

I am attempting to access my plex web ui through a cleaner url. Currently, you can access it at http://marvin.boldlygoingnowhere.org:32400/web/index.html. I want it to be at http://marvin....
2
votes
2answers
6k 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 www....
0
votes
1answer
1k views

Moving Zend Framework 2 from apache to nginx

I would like to move site that uses Zend Framework 2 from Apache to Nginx. The problem is that site have 6 modules, and apache handles it by aliases defined in httpd-vhosts.conf, #httpd-vhosts.conf &...
12
votes
2answers
40k views

what is .crt and .key and how can I generate them?

SSLEngine on SSLCertificateFile /etc/httpd/conf/login.domain.com.crt SSLCertificateKeyFile /etc/httpd/conf/login.domain.com.key SSLCipherSuite ALL:-ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
0
votes
0answers
9 views

VirtualHost subdomain from another server not working

I have several sites like this: server.com => 1.2.3.4 www.server.com => 1.2.3.4 xyz.server.com => 1.2.3.4 foobar.server.com => 1.2.3.4 And I would like to add this two new ones: admin.server.com ...
0
votes
1answer
51 views

Apache ignores any new .conf file

I have a Linode server that I run for more than 30 websites on it! Today I wanted to add another website and I created a new .conf file in sites-available folder in Apache2 folder. After enabling it ...
3
votes
1answer
2k views

Require ldap-group on apache 2 vhost fails when trying to log in

I have a vhost which I'm trying to get to work with LDAP-authentication. My configuration looks like this: <VirtualHost 0.0.0.0:80> DocumentRoot "/var/www/root/" ServerName ...
0
votes
0answers
20 views

Apache filter host headers for Django Application

I have an Apache Webserver for Django. It works fine generally, but I need to filter requests with invalid host headers. I tried: <Directory /> SetEnvIfNoCase Host 5.35.241.123 VALID_HOST ...
1
vote
1answer
46 views

Apache Virtualhost shows default page only

I've been struggling with Apache Virtualhost for a day now. I would like to run 2 sites with one ip. When I enter the address in the url bar(domain1 or domain2), it always shows the default page only(...
1
vote
1answer
20 views

HTTPS subdomains not redirecting for non-wildcard cert

How do I set it up such that https://anything.example.com redirects to https://example.com properly? My current setup goes like this: http://example.com --> https://example.com http://subdomain....
1
vote
0answers
52 views

firewall on server preventing access by multiple computers on same NAT'ed ip

I am encountering a strange problem with my VPS provider and wondered if anyone here with firewall / sysadmin experience had seen anything like this. Has anyone seen a situation where a firewall or ...
1
vote
1answer
50 views

Two different SSL Sites with same name possible in Apache?

I just upgraded from debian 7 to debian 8 (apache 2.4) box called debian.domain.com I have Request Tracker, a helpdesk software, and i want to run it from https://helpdesk.domain.com (i have a valid ...
0
votes
1answer
655 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
0answers
38 views

Issues with SSL Certificate on CentOS 7 server running Apache 2

I seem to be having some problems configuring one of the Apache Vhosts with a newly generated SSL certificate. When I configure Apache and the vhost, and restart Apache, the service restarts just fine....
0
votes
1answer
47 views

Virtual hosts dymanic accept all incoming domain requests

I have the system with Apace. In httpd-vhosts.conf, I configured to accept subdomains, like below: <virtualhost *:80> ServerName www.mydomainname.com ServerAlias mydomainname.com *....
4
votes
0answers
107 views

VirtualHost Defaulting to Wrong Deployment on Restart

We have a server running seven domains/subdomains. To try to go as minimal as possible here I'll include four of them. example.com www.example.com dwf.example.com chris.example.com The server ...
0
votes
1answer
21 views

3 virtual host serving same page when browsing to specific domain name

I have Webmin on Debian. I want to add 3 domain names to the virtualhost but for some reason all 3 domain names serve the same page when browsing to the domain names.The page that shows on all 3 ...
11
votes
2answers
9k views

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. <VirtualHost _default_:*> #... ServerName host.example.com #... </VirtualHost> <...
-1
votes
0answers
25 views

Apache Virtual Host HTTPS Site Not Reachable

Firstly, my HTTPS site setup using Virtual Host Redirect is working fine. But, after i try to add restrictive SFTP user by target user home directory into web directory of my HTTPS site with the ...
1
vote
1answer
1k views

Munin - apache_watch_ plugin, does not show any data in the graphs that shows activity for per vhosts

I am using Munin for monitoring my server. I installed the apache_watch_ plugin so that i could see apache related activity. The graphs for apache_accesses, apache_processes and apache_volume work ...
8
votes
1answer
282 views

How to automate zabbix web scenarios for vhosts?

I'm new to Zabbix and enterprise monitoring. I've just finished installing Zabbix 2.4. I'm trying to monitor the state of all our vhosts dislocated on different servers. Until now the only solution ...
0
votes
1answer
34 views

Troubleshooting Apache virtualhost

Got some trouble using this configurations : <VirtualHost *:80> ServerAdmin ************** ServerName nagios.vdb.local ServerAlias nagios DocumentRoot /usr/local/nagios/share ...
0
votes
1answer
19 views

virsh command that displays the cpu and memory consumption?

I want to know if there is a command virsh to display the cpu and memory consumption of each machine virtual. I created the virtual machine using KVM in ubuntu system.
-1
votes
1answer
40 views

How to re-write non-WWW to WWW whilst also enforcing HTTPS in Nginx

I have a client who I am tidying things up for after a migration to a newer/faster server. One of the inclusions is to bring in SSL support, and also standardize links/URLs. The goal is to force ...
0
votes
1answer
23 views

Apache Aliased Directory doesn't work for child directories of alias

I'm trying to run two different applications under user. Application 1: /home/user/public_html/app/public/ Application 2: /home/user/public_html/forum/ VirtualHost has the Server set to ...
5
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
votes
0answers
15 views

Windows host file stopped working? [migrated]

I have this lines in the hosts file 192.168.99.100 www.testlocal.com and when i try to access them from the chrome it gives me this error This site can’t be reached testlocal.com’s server ...
0
votes
1answer
18 views

Listen to multiple ports only apply to localhost but not external ip of the server

I am running apache on google compute engine and I follow the step here : http://www.groovypost.com/howto/apache/configure-apache-web-site-to-use-multiple-ports/ to enable my website to accept ...
0
votes
0answers
14 views

Apache2.4 - make subdomain point to the same directory as domain

I have a problem configuring access permissions. I need to setup a WordPress subdomain multisite network for testing on my local machine. I'm on Linux, running Apache 2.4.10 in chroot (if this matters)...
1
vote
2answers
88 views

How have phpMyAdmin (with a Alias) with a virtual host subdomain of a different documentRoot

To increase security in my server I created an subdomain only for admin, like admin.domain.tld and usually i access phpmyadmin by going only at admin.domain.tld/mysqladmin as in config file: <...
47
votes
7answers
58k views

Apache Default/Catch-All Virtual Host?

If I have 3 domains, domain1.com, domain2.com, and domain3.com, is it possible to set up a default virtual host to domains not listed? For example, if I would have: <VirtualHost 192.168.1.2 204....
0
votes
0answers
54 views

Tomcat/apache2 application - virtual host issue. Welcome.action URL not found. Possible mod_rewrite issue

Im having some issues setting up a tomcat application to work with apache2. My KonaKart tomcat application is running on port 8783. And I'm trying to access it publicly on port 443. I created the ...
1
vote
1answer
91 views

Apache 2.4 require all not working

My virtual host configuation file contains the following (Apache version is 2.4.7): <VirtualHost _default_:443> [...] <Directory [...]> Require all granted </...
1
vote
0answers
23 views

environment host urls convention and using wildcard DNS

we're setting up new hosts and environment servers on our company... creating 3 server instances... dev, stage, production we've multiple clients and multiple projects per client so this is our idea: ...