HTTP Virtual Hosting In HTTP, virtual hosting refers to the serving of content for multiple domains from a single server. The most common form of virtual hosting is properly called "name-based virtual hosting", where the content to be shown is based on the domain name being requested. Less ...
0
votes
0answers
16 views
OS X Apache giving 503 error for anything in /api directory
I have a locally hosted website that uses Smarty templates, I'm trying to get started on building an API for the site.
I've used virtualhost.sh to create a local virtual host for this and other ...
0
votes
1answer
56 views
Apache2 (debian) virtualhost not working properly
I'm trying to add another virtualhost to an existing list of hosts (/etc/apache2/sites-availible/default). Here is a partial copy of the current setting:
<VirtualHost *> (<-- currently ...
2
votes
1answer
23 views
Apache2 mod_wsgi django Named Virtual Servers
I'm trying to set up two seperate django sites using mod_wsgi on apache.
The first site is working fine, but the second site cupaday.dyndns.biz is giving a 403:
[Tue Feb 07 22:32:57 2012] [error] ...
1
vote
1answer
16 views
VirtualHost on Lion navigates to wrong document root
I'm struggling with getting Virtual Hosts running on my local Lion development machine.
Here's the scenario. I have Site-A.dev and Site-B.dev sitting in my User/computername/Sites folder, like this:
...
0
votes
2answers
17 views
Confusion about VHost and DNS Entry regarding Subdomain Configuration (Apache)
On my Vserver Id like to configure a subdomain. So I have the following entries in my apache vhost config. I want to have my site app1.example.com to run as own site, so that pages and files have the ...
0
votes
1answer
20 views
Configure apache to load special folder for specific port
How to configure Apache to load special folder when using special port ?
Document root is : www\
Now i want to load www\folder\ when i enter http://localhost:8090/ on url.
I think i should create a ...
0
votes
2answers
26 views
set up linode without a domain name
I read somewhere that a linode can be set up without a domain pointing to it, but I was unsure of how to tackle that. I noticed in the getting started guide it has an entry about updating your ...
0
votes
1answer
15 views
Configuring Virtual Hosts - nginx and passenger phusion on Ubuntu
I was able to successfully configure nginx and passenger phusion. I now have the following configuration
server {listen 80 server_name **sub1.example.com** root /home/user/app1/public }
server ...
1
vote
2answers
45 views
PHP add virtual host dynamically
I'm developing a PHP web application that, among other things, needs to allow the user to add, edit and delete Apache virtual host entries. (I'm Including a web-writable config file in my ...
0
votes
1answer
41 views
Setting up VirtualHost on OSX 10.7 (Lion)
I've finally made the switch to Lion but I'm having trouble setting up an Apache VirtualHost. This is what I've done so far and I'm not sure why it's not working.
1) In /etc/apache2/httpd.conf I ...
1
vote
1answer
22 views
Need help trouble shooting Https webserver error - SSL Handshake failed
I followed this guide:
http://hints.macworld.com/article.php?story=20041129143420344
Here is my virtual host definition
<VirtualHost *:443>
SSLEngine on
SSLProxyEngine On
...
1
vote
2answers
40 views
How to configure nginx to serve single named virtualhost, aside of apache
I currently have a single apache server with several named virtualhosts defined there, all serving on the same IP, on port 80.
However, I have one static virtualhost (a specific domain) I want to ...
0
votes
1answer
29 views
Apache2 on Ubuntu server - Windows Domain
Hi this is probably a stupid question....but here it goes
I have an Ubuntu server (hostname: intranet) with apache2 running with virtual hosts. Lets call them "website1.intranet" and ...
0
votes
0answers
11 views
Apache Virtual Host: won't navigate into subdirectory
I set up apache to serve virtual hosts for ports 80, and 443 (see below). The problem is with "myurl2.me".
For some reason, I can access "myurl2.me/test.html" but I cannot access ...
0
votes
0answers
11 views
VirtualHost Boilerplate; What default settings do you use for Apache Virtual Hosts?
This is what I use. Could it be better?
<VirtualHost 0.0.0.0:80>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/example.com/html/
ErrorLog ...
1
vote
1answer
50 views
nginx custom 404 error page for virtual host
I'm running a few virtual hosts off nginx, and I would like them to each have their own custom 404 pages. Each virtual host has their own nginx.conf that I include my global nginx.conf.
Inside the ...
0
votes
3answers
72 views
Not able to get hosts file working on my Linux server
I have Ubuntu 11.10 running on VirtualBox and I've set up a virtual named server.
I'm able to access this site from Windows 7, but I'm not able to access the site from Ubuntu.
My HOSTS file is ...
0
votes
1answer
55 views
Domain setup on a new RHEL web server
I'm setting up a web site on a new install of RHEL 5.7, and running into a problem getting the website domain to resolve correctly.
The changes I've made to httpd.conf are to uncomment the ...
0
votes
0answers
28 views
virtual hosting in ubuntu
I followed the steps mentioned in virtual hosting. It is working.
When I type project1 in web browser it points to /var/www/project1/display.php
But after that I am facing a problem.
On display.php ...
0
votes
3answers
29 views
Can I call a PHP script in an Apache configuration block?
I'm using PHP as an Apache module, not CGI. Every request made to a particular virtual host should result in a PHP script's execution ('/srv/web/init.php'), and I do this like so:
<VirtualHost ...
0
votes
2answers
24 views
VirtualHosts with Apache not respecting ServerName
This has always bugged me and I've never got around to figuring out why Apache does this, I always resorted to the mod_vhost plugin to work around the issue.
Basically, I have 2 vhosts in ...
2
votes
1answer
52 views
How can I protect a Tomcat webapp that's reverse proxied in an Apache2 virtual host using basic authentication?
I'm having trouble figuring out how to adding basic HTTP authentication to password-protect a development testing environment running on a production web server. Both the main site and the testing ...
4
votes
2answers
65 views
How to disable Apache's primary server feature?
This documentation says that
Due to the fact that www.example1.com is first in the configuration file,
it has the highest priority and can be seen as the default or primary server.
That means that ...
0
votes
1answer
88 views
Apache SVN: Access to repository forbidden via client, HTTP is okay?
SVN on my webserver seems to have broken after I made some changes. It's configured to be part of one HTTPS virtual host, not universally accessible. My SVN clients give the error 'access to (repo) ...
1
vote
1answer
64 views
Can't setup virtual host (apache/bind/webmin) to work with domain (ubuntu 10.04 LAMP)
I'm trying to set up a fresh Ubuntu 10.04 as my web server but I'm having no joy at all - I can't access the domain via a browser (it times out) and I get no ping response except when I ping from the ...
0
votes
2answers
59 views
Apache VirtualHost answering when I browse to IP address
I've got a standard build of RHEL6 and I used to be able to browse to the server's DocumentRoot using the IP address.
I've since added these two vhosts (just the top section is shown). For some ...
0
votes
2answers
119 views
Virtual hosts on apache to point domain.com, domain.net, domain.org to all go to domain.com
All of the names currently point to the same web server folder which is correct. That is, the domain.net, domain.org, etc all work without redirecting to the main .com
How do I get visits to the .org ...
0
votes
1answer
40 views
Jenkins reports reverse proxy setup incorrect with Apache using virtual hosts with SNI
I'm setting up a Jenkins server, to run under Tomcat behind Apache. I'm using virtual hosts with SSL using SNI so I can access it at https://jenkins.example.com, and serve something else on, say, ...
0
votes
1answer
25 views
Multiple Django sites on a single SSL certificate using a single IP with Apache
Is it technically possible to setup multiple Django sites using a single SSL certificate on a single IP address with Apache?
Below is an excerpt from my SSL config:
Alias /media/ ...
0
votes
0answers
14 views
Nginx: How can I make it use the same fastcgi-application for different virtual hosts?
Question:
I am using mono via fastcgi in nginx, as described here
http://www.mono-project.com/FastCGI_Nginx
And I have a startup-script like this
...
0
votes
1answer
105 views
Apache / Glassfish integration
So I currently have a glassfish 3.1 server and an apache 2.2 server running on a single box. However I am trying to figure out to route some traffic through the apache server to the glassfish server ...
1
vote
2answers
49 views
Apache Server name + virtual hosting configuration
I have an Oracle application server(10.1.2) which runs on a Apache web server. We have multiple websites running on the different server instances of the Oracle application server.
We have our ...
2
votes
1answer
55 views
apache2 virtualhosts for # subdomains with rewrite to SSL
I've been having some problems setting up my apache webserver to only serve pages over https. I think I nailed it earlier this week, but after some tinkering it seems like I broke it again and I don't ...
1
vote
1answer
30 views
Apache2 Virtual Host - two websites on one server, did I configure it correctly?
I have a server at home that I plan to use to host two websites using Apache, I bought two domains and made them go to my server IP, but the problem is that it only works for one of them, if I enter ...
1
vote
2answers
42 views
Clustering on Virtual Machine
Can you cluster/load balance on a virtual machine? I figured that would be redundant if the same machine is still performing the work but in virtual areas, or am I wrong?
0
votes
2answers
100 views
Apache Virtual Host with Alias
I have a virtual host running on my local copy of Apache. It has an alias.
<VirtualHost 127.0.0.1>
ServerName oliverash.me.dev
DocumentRoot "/usr/docs/oliverash.me/public"
...
1
vote
1answer
47 views
Why the php-cgi wrapper script for php-fpm? (Using virtualhost and suexec.)
I just setup my server with Apache, FastCGI, and PHP-FPM. My question is regarding the /cgi-bin/ folder: is it really necessary to have a /cgi-bin/php-fpm wrapper for every single virtualhost that ...
1
vote
1answer
40 views
New to Apache - need advice on virtualhost config
im getting my head around Apache at the moment and need some advice, i have a linux box that is running nagios to monitor systems for me, however when you goto the servers IP address it comes up with ...
0
votes
0answers
43 views
Want to deploy two sites unig a linux/centos server
Hello I want to deploy two sites. One called drupal, and another site called drupal-gh. Currently, I can only make one site only work at a time - but I need both. This is because when I deploy a site, ...
1
vote
1answer
66 views
Multiple vhosts on multiple IP addresses
I'm running Ubuntu 11.10, I have two IP addresses assigned to my VPS (Linode).
I have followed their guide to enable static addresses (can be found here: ...
0
votes
0answers
40 views
Multiple vhosts on multiple IP addresses
I'm running Ubuntu 11.10, I have two IP addresses assigned to my VPS (Linode).
I have followed their guide to enable static addresses (can be found here: ...
0
votes
0answers
33 views
How to monitor bandwidth on host which uses bridge-util and virtualization
I am running a debian squeeze box with bridge-util and LXC containers.
I guess this is a 2 part request.
I would like to know what my total bandwidth usage is
I would like to see it broken down by ...
1
vote
1answer
34 views
fail2ban with bridge-util
Hello and happy new year,
I am wondering if I can use fail2ban on a virtual host that uses bridge-util.
I am using LXC containers for virtualization and have therefore direct access to all the log ...
3
votes
2answers
88 views
Setting up Apache virtualhosts pointing at files in user directory. Worked fine on Ubuntu, now I'm on Fedora
I've recently moved from Ubuntu to Fedora. I now wish I'd done it a lot earlier because I've realised I don't know nearly as much about Linux as I ought to - Ubuntu hid a lot from me.
Previously on ...
1
vote
2answers
78 views
Should you edit/delete the default apache site config?
I've just followed this tutorial on setting up name-based virtulization in Apache, and it worked really well.
The tutorial basically got you to add a config file to sites-available called ...
0
votes
2answers
48 views
Unable to get mod_rewrite to stop processing
This is linked to Rewriting subdomain.domain.com when other 'subdomains' exist
I need mod_rewrite to 'stop' processing, but it seems to continue on.
On my registrar, I've set A records as:
...
0
votes
2answers
132 views
All Nginx Virtual Hosts redirect to one VHost
I've about 4 different hostnames defined in the sites-enabled/domain.tld files. Each of the files are in the following fashion:
#Redirect everything to the main site.
server {
server_name ...
0
votes
1answer
62 views
Rewriting subdomain.domain.com when other 'subdomains' exist
My httpd.conf looks like this:
NameVirtualHost 12.34.56.78:80
<VirtualHost 12.34.56.78:80>
DocumentRoot /var/www/html/site
ServerName www.example.com
<IfModule mod_rewrite.c>
...
0
votes
1answer
27 views
Apache/Lion not serving up site in local testing environment
Originally posted this over at superuser...
Ive configured Apache for Name-based Virtual Hosting but I can't seem to get a local site to show in my browser. Is my httpd.conf misconfigured? Here's the ...
0
votes
0answers
33 views
nginx virtual host not found
I'm trying to setup a cakephp development enviroment with nginx. The nginx + php was successful instaled since I get the right response from phpinfo(); But when I try to setup a virtual host located ...