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
0answers
9 views

jetty virtual hosts on LAN [on hold]

I have a question about virtual host name on jetty (embedded), let's imagine I want to create a virtual host named www.buzzo.com visible from all nodes of my LAN, and I don't want to edit any windows ...
0
votes
0answers
13 views

Optimized LAMP Virtual Machine [on hold]

I was just wondering if there is someone who has actually applied the best practices of optimization in a LAMP Stack and made a virtual OS out of it. I came across http://virtualboxes.org/ but soon ...
-1
votes
0answers
27 views

Why virtualhost is not accessible from the other ips? [on hold]

This is my apache configuration for the vhost. <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot /var/www/test_mydomain/public_html ...
0
votes
0answers
14 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
15 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
19 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
30 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 ...
-1
votes
0answers
5 views

Wordpress Site Issue on Server Move-Mod Rewrite [closed]

I've moved my site to a VPS with centos installed. I've configured virtualhost in apache and installed a fresh copy of wordpress. however when I turn on permalinks to URL/postname the posts don't ...
0
votes
0answers
28 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
26 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
9 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
23 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
28 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
54 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 ...
1
vote
0answers
34 views

Java hosting and e-mail server on VPS [closed]

I can't find a good tutorial for this, I looked at https://www.howtoforge.com/ but there is only a weak tutorial on how to setup JDK and Tomcat in a Linux environment. For me this isn't a problem, a ...
0
votes
1answer
28 views

nginx handle multiple locations for one server

I need to setup a virtual host to run my users.example.com website. It needs PHP support via php-fpm. The ideia is to have a mapping like this: users.example.com/~user1/folder/file.php -> ...
1
vote
1answer
40 views

Name based virtual hosts on specific IP address

The Apache Virtual Host documentation says : You can alternatively specify an explicit IP address in place of the * in <VirtualHost *:80> directives. For example, you might want to do this in ...
0
votes
0answers
38 views

Apache VirtualHost error: Invalid host name

It used to be pretty simple for me to set up a VirtualHost to test a new php webapp, for this http.conf: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /opt/webgrind/www ...
0
votes
1answer
22 views

Chain rewrites of Apache requests for VirtualHost to another server in same network

Here is basically what I would like to do: http request comes in, portforwarding in router sends it to a server in the local network (server A) the server identifies the request for a virtual host ...
0
votes
0answers
17 views

Restrict directory listing to specific IP and let full access to files

I would like to configure a virtual host to get directory listing possible on /dir/ only for 2 specific IPs, and return a 403 for other IPs. Besides, I want to let full read access to the files ...
0
votes
0answers
28 views

Mount all Nginx virtual hosts at subpathes of the default host

I have a Nginx setup with several virtual hosts (defined by server blocks for every linux home directory). To allow a preview for domains that currently do not have a DNS entry pointing to my host, ...
-2
votes
1answer
39 views

Unable to redirect port to main domain page on Ubuntu VPS

Basically, I have a Nodejs program running on port 4000 of my server and instead of the visitors having to type mydomain.com:4000 to access it, I'd like it to be displayed when they visit the normal ...
0
votes
1answer
61 views

Restoring Virtualmin Server Leads to Apache Error

I'm struggling to restore a virtual server via virtualmin on an Ubuntu 12.04 VPS. The process goes smoothly but then I am confronted with a critical apache error: root@elementcomputer:~# service ...
1
vote
2answers
17 views

Wildcard substituion in apache virtualhost file

I'm trying to set up a single apache virtualhost file that will route xyz.mycompany.com to /var/www/html/development/xyz/public Here is my hard-coded version. Is there a way to swap "xyz" with a ...
1
vote
1answer
100 views

Trying to install php-cgi / Apache / Ubuntu 14.04

I'm trying to use the "Php reverse shell" for school purposes on my clean installed Ubuntu 14.04. I configured my Apache/PHP/MySQL as I do normally. I need to get the php-function "pcntl_fork()" ...
2
votes
0answers
95 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; ...
0
votes
2answers
42 views

Serving Node.JS app on a existing server running page on port 80

I have a server at www.example.com running a PHP-made webpage served by Apache, this page is listening to port 80. Now I want to serve my Node.JS on the domain www.example2.com. Both pages should be ...
0
votes
0answers
22 views

Avoid unexisting subdomains to show main domain

I have a site example.com, and I made a subdomain test.example.com, both work just fine. The problem is that if someone now surfs to an unexisting subdomain like puppy.example.com he still gets to see ...
0
votes
1answer
45 views

Redirect subdomain to an Apache Virtual Host

I have a website "example.com" hosted on a provider that allows me to manage my own DNS. I want example.com to point to the provider's IP address but I want "subdomain.example.com" to point on my own ...
0
votes
0answers
37 views

Apache HTTPD accept requests different destination IP and HTTP Host header

We've built and brought up a new version of a web application. The legacy web application still exists and is still used by legacy clients. Now we want to migrate these old legacy clients to use the ...
0
votes
0answers
32 views

Apache virtual host and Flask broken Json response

I have develop a micro web app (with Flask) to retrieve a json data from a remote web server (virtual host apache + mod_wsgi). If I try to get data from a single remote istances (only flask web server ...
0
votes
1answer
22 views

SSL page only loading in private network

I have got a activated virtual hosts config for ssl like this: <VirtualHost vidanalysis.com:443> ServerName vidanalysis.com SSLEngine on SSLCertificateFile /etc/apache2/ssl/ssl.crt ...
1
vote
1answer
68 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 ...
1
vote
0answers
16 views

Automatically add/remove entry to/from /etc/hosts when enabling/disabling apache2 virtualhost

When I create virtualhosts, I almost always forget to add an entry to /etc/hosts until I've attempted to check the site in a web browser and moaned about the oversight. What I want to do is modify ...
2
votes
3answers
117 views

Adding a domain and subdomain to server

Greetings and please excuse me if this is a very basic question. The problem: Currently I have bought a domain (crazywebsite.com) from Godaddy.com and I have an unmanaged VPS in Site5.com. I have ...
0
votes
0answers
34 views

Many webapps, one vps

Might be a noob question, Google and SF searches didn't turn up anything super useful. Could be using the wrong words here. I've got a vps, with one port 80 app running on it. I'd like to add two ...
0
votes
1answer
22 views

Wordpress Opening From Wrong Directory

I have an Amazon ec2 m3 medium instance running AMI(RedHat based) Linux. I am trying to host multiple domains on this instance by adding this at the end of httpd.conf: <VirtualHost *:80> ...
0
votes
0answers
43 views

How do I give each Virtual Host in Apache a domain name on a local network?

Background information. I have a server (running Debian Wheezy and Apache 2) at which I am to set up several Virtual Hosts to allow students to host their own website for development purpose. I am ...
0
votes
0answers
17 views

VirtualDocumentRoot and subdomains - correct configuration?

I have setup my vhosts file like so (only question related part): <VirtualHost *:80> DocumentRoot /var/www/example.com/web ServerAlias *.example.com VirtualDocumentRoot ...
-3
votes
2answers
81 views

nginx Virtual Host Problems

I am running nginx on centos and using the method of having individual files for each domain inside a sites-available directory symlinked to sites-enabled. Both conf files are almost identical. My ...
0
votes
1answer
50 views

Default Apache virtual host configuration with static ip

I recently configured an (Ubuntu 14.04) server to use static IP addresses and noticed that: <Virtualhost *:80> No longer seems to work. Previously the 000-default.conf file was used and by ...
-1
votes
3answers
30 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
2answers
304 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 ...
0
votes
0answers
34 views

Can't Create Win 7 VM with RHEL 6.5 VMM

I have a server running RHEL 6.5 that I primarily run VMs on it. The VMs I run on it are all Linux, with the exception of one that runs Server 2008 R2. Yesterday, I attempted to install Windows 7 as ...
-1
votes
1answer
28 views

Reverse proxy for 2 domain with same context path

I have 2 different domains my.domain1.com and my.domain2.com and both have context name /app1 and this should be routed to two different backend boxes. Problem here is my.domain1.com is running on ...
0
votes
1answer
75 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
78 views

Issue with multiple virtual hosts on dedicated server. 2nd VH won't respond, 1st one does

I've got two virtual hosts setup and enabled using a2ensite. It's Ubuntu Server 14.04.1 LTS, Apache2, etc. So there's two config files in /etc/apache2/sites-available and their respective symlinks ...
0
votes
2answers
858 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 ...
0
votes
2answers
37 views

virtualhost document root access previous folder

How to access previous folder via index.html that not included in virtualhost document root. For example: <VirtualHost *:443> DocumentRoot /var/www/banking/personal-banking ...
1
vote
1answer
28 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 ...