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
1answer
128 views

Apache Proxy Reroute to Different Port

Trying to redirect my subdomain to a different port other than port 80. The request is received via port 80 and I'm trying to direct the requests to port 10001 as there's a mono server running ...
2
votes
1answer
55 views

Multiple Virtual Host isn't working in apache

I was configuring a VPS with Apache2, MySQL, PHP. The Main site is working fine. Then i went to create a webmail with a Subdomain. Whenever someone browse webmail.mydomain.com he or she should have ...
0
votes
1answer
394 views

Apache VirtualHost setup… 502 Bad Gateway

I am trying to set up apache virtual hosts on Ubuntu 12.04 lts. I followed this guide here http://www.debian-administration.org/articles/412 except I used /var/www not /home/www. Ive set the document ...
0
votes
2answers
85 views

How do i properly configure multiple multiple SECURE virtual hosts - Apache 2.2.15 & RedHat 6

To start, this question might overlap with others but I almost feel like this is a Red Hat issue regarding the "how to properly configure it" part. I have a few websites being served from the same ...
0
votes
0answers
31 views

cannot configure Port forwarding on CISCO Router and Apache Virtual Host

I have 3 websites up and running using a single apache server running on slackware and a netgear wireless router as my gateway, I use port forwarding on the netgear to map services of different hosts ...
0
votes
1answer
92 views

Apache2 Default overrides virtual host

I have an Ubuntu 12.10 LTS server running apache2 with a simple wordpress install. I created the virtual host in /etc/apache2/sites-available and used a2ensite to enable it. All was working fine for ...
0
votes
1answer
133 views

Using Puppet with complex Nginx VirtualHosts

I'm trying to use Puppet and a Nginx plugin to manage a virtual host config file. I have everything working, but now that I need to add some rewrite rules I'm running into issues. I know I can use ...
1
vote
3answers
127 views

Apache virtual host - one site, two IP addresses

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 ...
0
votes
2answers
67 views

Microservers VS Virtual Servers

I am reading this articles in regard to microservers : 10 things you should know about microserver Microservers : What you need to know It seems to conclude that micoservers are best tailored ...
0
votes
1answer
41 views

Using Apache to make a virtual host with the same domain name?

I'm sure there's a name for this and I'm probably just searching wrong. Anyways, is it possible to set up virtual hosts on the same domain name by using information after the '/' For example host1 ...
0
votes
0answers
39 views

Running MS SQL Server DB for Ubuntu PHP site

I'm going to be developing a php site (actually more of a application), but the standards and restriction of what I'm building make MS SQL Server the most appropriate DB solution (will also be running ...
0
votes
1answer
21 views

Tomcat 7.0.42 Manager Weird behavior

Good morning folks! I'm playing with my brand new tomcat installation today, and everything run pretty smoothly except that I got a weird reaction using the manager with virtualhosts. The problem ...
1
vote
2answers
44 views

Why is a domain I have a VirtualHost for pulling the default domain's content?

On a server where the default host is http://JonathansCorner.com, I am trying to set a VirtualHost for http://media.pragmatometer.com. However, neither of the registered domains in Apache2's ...
0
votes
1answer
105 views

Why am I getting a 403 in attempting to access view-source:https://ccachicago.pragmatometer.com/admin/static/css/base.css?

I've been trying by hook or by crook to get /admin/static/ served up in an Apache SSL VirtualHost, preferably by Apache (which is forwarding SSL traffic to a Django Gunicorn instance), or barring ...
0
votes
2answers
114 views

Wrong application loads on port 443

I have a server with two web application that configured as follow: app1: www.domain1.com has https version app2: www.domain1.com has not https version This is my VirtualHost config for ...
0
votes
0answers
57 views

VirtualDocumentRoot Setup For Local Development

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 ...
2
votes
2answers
147 views

How do I “test” name-based virtual hosting?

Our website mysite.com is going to be hosted at a server with virtual hosting (name-based) at 10.20.30.40. However, the DNS records are currently pointing to 66.77.88.99. I want to keep those DNS ...
0
votes
2answers
67 views

getting started with apache mod_rewrite on a virtual host [duplicate]

hey SO I am attempting to use apache's mod_rewrite module to do some basic rewrting of url on my website so they become a little more seo friendly basically I have a virtual host file that look ...
3
votes
1answer
218 views

Apache not finding folder on File System; Appending “\xe2\x80\x9d” to end of File Paths

I have three Virtual Hosts running in apache2 on my personal Macintosh running OS X Mavericks and I have ran into a knot of confusion. They are configured in my httpd-vhosts.conf file as follows: ...
1
vote
0answers
36 views

set document root for external calls

I'm using mod_userdir to set my document root to /home/user/server/public_html/ I also setup a virtual host that will redirect for the ServerName domain.com to ...
0
votes
0answers
30 views

Apache2 Serves Old Content After Symlink Change

When we deploy we create a timestamped folder in a versions folder. After it's done cloning from git we unlink the symlink, and create a new one to the new versioned folder. We reload apache (not a ...
0
votes
0answers
58 views

Connecting to Webserver(Nginx) from within GuestOS (VMware Player+ NAT) inside Debian from outside

I currently have a Server (Debian 7.3 , Kernel 3.2.0-4-amd64) with VMware Player 6 installed which is hosting a guest OS(Ubuntu Server) with Nginx running on it. I want the NGINX to serve webcontent ...
0
votes
0answers
145 views

Nginx Virtualhost; Can't Add Simple Rewrite Rule

I've come up with this pretty handy Nginx virtualhost file for a PHP Codeigniter site. It works as-is, but I'm trying to do additional rewrites and I'm not having any luck. server { listen 80; ...
0
votes
1answer
125 views

Apache Serving Wrong Document Root

I have installed SSL on a subdomain of my site. Everything works perfectly, except this strange behavior. If I point my browser at the following locations, these document roots are served: ...
2
votes
2answers
83 views

How to reject requests with apache that don't match list of vhosts

I'm getting a ton of requests to my web application for ips without a host and hosts that don't matching anything I usually serve up. I found a stackoverflow question related to this but I'm not sure ...
1
vote
2answers
82 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> ...
0
votes
1answer
126 views

Is there a syntax error or other error in this Apache site configuration?

I have a Django Gunicorn server running on an Ubuntu VPS at 0.0.0.0:8000, and while there are some problems with it, it appears to be accepting localhost connections. I have the following in my ...
1
vote
2answers
637 views

Can't get PHP to work on Apache VirtualHosting environment

Trying to setup an Apache VirtualHosting environment with PHP in a freshly created CentOS node under DigitalOcean cloud server. The trouble is, although Virtual hosting is working per se, PHP isn't. ...
-1
votes
1answer
44 views

Cannot access virtualhost via servername but can with alias

I can access site perfectly via alias, but not servername: <virtualhost *:80> ServerAdmin xx@gmail.com ServerName xx.com ServerAlias www.xx.com #DirectoryIndex ...
0
votes
0answers
116 views

How to host website over public ip in centos 6 server

I don't have router so i built the system as a router in CentOS 6.4 with the help of IPtables. I have a server which is connected to the Local LAN. suppose 192.168.1.1 Then i forwarded the public ip ...
-2
votes
1answer
36 views

Apache two sites one ip

I made this many times but now it wont work. I have configure apache to work with different ports, and work with different ip and this same thing also i have made work ... iv configured bind as my ...
0
votes
3answers
85 views

Only accept naked domain request, not subdomains

I can't seem to explain Apache to accept requests on the naked domain but to ignore anything coming from a subdomain. I have the feeling this should be easy but everything I find is related to ...
2
votes
0answers
41 views

TTFB different between 2 identical virtual hosts on same machine

After almost 3 years of finding every answer on either StackOverflow or ServerFault, I'm finally stuck on one. I recently migrated our server from dedicated to VPS, and the problem now is that we have ...
1
vote
4answers
169 views

Apache2 VirtualHost IfPort?

I'd like to make a virtual host like this: <VirtualHost *:80 *:443> <IfPort 443> SSLEngine On ... </IfPort> ... </VirtualHost> So, if the host ...
0
votes
3answers
44 views

One VirtualHost for certain URLs, another VirtualHost for all other URLs in Apache

Is it possible to configure Apache to have different virtual hosts listening on the same IP address, same port, such that certain paths (not the full domain, just the local path) will direct to one ...
2
votes
3answers
475 views

Apache2 virtual host reverse proxy rewrite asset links

I have a web application running on port 8080 on my server: myip:8080/app I have the following config in my httpd.conf <VirtualHost *:80> ServerName subdomain.mydomain.com ServerAlias ...
0
votes
0answers
22 views

How to secure certain files on a vmware based DAAS provider? [duplicate]

Most Desktop As A Service providers store their virtual hard drives in a way that allows them to access their contents. Of course choosing a provider who offers a 'no-knowledge of server' option ...
1
vote
1answer
48 views

Apache: point VirtualHost dynamic domains and subdomains to different folders

Currently I have 2 VirtualHosts: <VirtualHost *:80> ServerName *.*.comp1.office1.lan VirtualDocumentRoot /var/www/%-4/%-5/ UseCanonicalName Off <Directory /var/www/> Options Indexes ...
-1
votes
1answer
371 views

How to configure squid to act as a virtual host for docker images

I have a server which is running a bunch of docker images (which basically just host a bunch of websites) they all have different domain names all pointing to the server's IP (lets say the server IP ...
2
votes
1answer
435 views

How to avoid Error 403 Forbidden : Apache virtual host configuration issue

I am quite a newbie to the Apache Server (2.0, I know it is a bit too old, however my workplace demands me to learn it as it is the version we are using)and now trying to get Apache work with Jboss ...
2
votes
1answer
39 views

vServer Debian Linux virtual host issue

I am having an issue with my virtual host setup for days. My server is a vserver with debain linux and I am trying to add two new domains which will be redirected to their own subfolders. Domain1.com ...
1
vote
3answers
49 views

How to share Apache2 virtual host configuration between two linux servers?

What is the best option to share configuration directives between Apache2 servers. This is required in order to employ stable load balancing. The most important directives are those that define the ...
0
votes
1answer
115 views

Configuring nginx virtual hosts

I'm having trouble configuring nginx virtual hosts on a Debian GNU/Linux 7 (wheezy) machine. All I get is a 500 Internal Server Error. Here is an example of my vhost_autogen.conf file: server { ...
2
votes
1answer
81 views

Split the same virtualhost configuration across multiple files

I have multiple django applications on my server that run each within their own virtualhosts, bound to different ports. (I do this so as to isolate each WSGIProcessGroup). Now I would like to proxy ...
1
vote
0answers
59 views

Apache ProxyPass to custom port

The problem is following: I have an index.html file that is located under /www/site/ and I want to be able to serve all appropriate content from that folder under custom port lets say :8085. It is ...
0
votes
2answers
187 views

nginx - owncloud under location

I want to put owncloud under a location in my default virtual host. I also want to redirect to https. I have got it working with phpmyadmin but i can't with owncloud. This is the suggested ...
1
vote
2answers
58 views

Make NginX serve different pages depending on the IPv4 encoding base

You can access google on 186.215.155.54 , 0xBAD79B36 or 3134692150 (remember to put http:// before if you want to try). How is the base conversion handled by the browser? Is there any way for NginX ...
1
vote
1answer
102 views

How to specify ErrorDocument for a VirtualHost in Apache2?

I have an Apache 2 server and it have several vhosts with similar definition: <VirtualHost *:80> DocumentRoot /var/www/html/host1/ ServerName host1.loc <Directory ...
1
vote
2answers
40 views

Apache Virtual Host time based

Is it possible to make a virtual host available based on time? Can the configuration be done within the httpd.conf file directly without the use of external commands?
-1
votes
1answer
69 views

Apache: Serve one directory in two virtualhosts

I try share a WordPress plugin directory between two sites. The problem is that the scripts are working but not the URLS. They are output in a strage way that the path is in there when it should not. ...