-1
votes
1answer
16 views

VirtualHost keeps redirecting to default main page

I was wondering if im doing something wrong or what ? I'm trying to create a virtualhost for my web page. I've got default apache conf in /etc/apache2/sites-available : <VirtualHost *:80> ...
0
votes
2answers
171 views

Subdomains Always Redirect To Main Domain - Apache2 VirtualHosts & Debain

I want to set up a main site, and a sub-domain for development, using apache2 VirtualHosts. This is what my site.conf virtual host file looks like: <VirtualHost *:80> ServerName ...
1
vote
2answers
87 views

Apache resolves all URLs to default

I am using Apache 2.2 on a Debian-based distro. For some reason, all URLs are directed to the default index. No error or anything. That means: example.domain.com goes to domain.com. "example" can be ...
1
vote
1answer
40 views

Virtual server isn't working if I use www instead of just the domain

I have two domains. Domain1 uses IP1, and Domain2 uses IP2, however they both point at the same VPS. I got it working if I go to domain1.com, however going to www.domain1.com gets stuck on the ...
0
votes
0answers
88 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
1answer
506 views

What is wrong with my apache2 server?

I edited the file /etc/apache2/sites-enabled/000-default and then tried to restart my apache server and this error came up: Syntax error on line 20 of /etc/apache2/sites-enabled/000-default.save: ...
0
votes
1answer
104 views

Virtual host - SVN - disable direct access from server ip

I have a debian with apache2 on board. Only port 443 is opened and I'm exposing a SVN with svn_dav. I want to disable access to my server using ip address only (ie //1.2.3.4) and I want to be able to ...
1
vote
2answers
36 views

Adding additional host to Apache2 [closed]

I have been tasked to add a copy of an existing website to the setup. (To be used as a test environment) The existing setup consists of : a.mysite.com b.mysite.com c.mysite.com I've been trying to ...
1
vote
2answers
3k views

Apache SSL configuration - Invalid method in request \x16\x03\x01

I'm trying to set up https service on my VirtualBox guest instance running Debian Squeeze and Apache 2. When trying to load my virtual host's test page in a browser from my Win7 host machine, I'm ...
0
votes
1answer
83 views

Delete log files on Virtual Host

I have a few virtualhosts set up on my machine, and the server keeps crashing because of the disk space being too full. I've checked out and it seems that one of my virtual host log folder is 2Gb. In ...
0
votes
0answers
35 views

website hangs after multiple ctrl+f5 (virtual server debian)

I run a virtual server on debian and I noticed that after multiple requests (refreshing browser multiple times using ctr+f5) maybe 10x in a row, my website hangs. I assume that is caused by a limit of ...
0
votes
0answers
49 views

Debian Squeeze apache2 virtual host only serving first vhost

I got a fresh Debian Squeeze setup running apache2. ports.conf has the NameVirtualHost directive activated and the config files in sites-enable are also according to documentation. DNS is configured ...
1
vote
0answers
86 views

Named virtual host on Debian Squeeze only serves the default host

I am trying to setup my own virtual host on Debian Squeeze and I think I have done the setup as per the documentation and have gone through a number of questions and answers. Everything seems to ...
4
votes
1answer
145 views

Restrict WSGI based on IP

So I have trac running on my debian server with the VirtualHost file looking like: ... WSGIScriptAlias / /srv/domain/trac.wsgi WSGIScriptReloading On <Directory /srv/domain/tracprojects> ...
1
vote
1answer
110 views

Creating subdomain on Debian

I have Debian server with a site running, I wanted to create sub-domain, so I created file in the sites-available dir. In the file: <VirtualHost *:80> ServerName shop.domain.com ...
1
vote
1answer
92 views

Troubles with apache and virtual hosts

I have a BIG problem. I have VPS with Debian OS, and LAMP installed. Fresh install. For control panel i using Webmin. Now i trying to setup multiple sub-domains on my server using webmin for example: ...
0
votes
4answers
143 views

Apache2 VirtualHost on Debian not working

I am having some problems with Apache2 configuration. I have already tried to look for documentation on the web (Apache's site, Debian's site, here on serverfault, etc), but nothing really helps. I ...
1
vote
1answer
48 views

How to setup usernames for websites

I have a news server. It may be possible that there will be multiple virtual hosts on it. There are two approaches that I see around. One is to login as root and create files under /www/etc, Like; ...
1
vote
1answer
4k views

Apache 2 and phpmyadmin on VirtualHost on custom port: you don't have permissions to access /phpmyadmin on this server

I googled a lot but I did not find a guide to set up phpmyadmin on a virtualHost on a custom port. Apache 2.4, this is my httpd-vhosts.conf Listen 0.0.0.0:66 <VirtualHost *:66> Alias ...
0
votes
1answer
1k 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
2k 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) ...
3
votes
1answer
173 views

Will turning off htaccess have a noticable performance increase?

Will turning off override by htaccess in apache have a performance increase? I have had a look online and there is very little articles/reports on this. If this is the case how do I go about turning ...
0
votes
1answer
363 views

Wildcard vhost subdomains with 301 redirect

At the moment I create a .htaccess file which redirects non-existent sub domains to the root URL. E.g <VirtualHost *:80> ServerAdmin www@example.co.uk ServerName example.co.uk ...
1
vote
1answer
276 views

VirtualHosts on Debian not working

I have setup a local server with debian 6 squeeze. But I cannot get virtualhosts to work. I would like to setup multiple virtualhosts but I just started with one. I disabled the default apache ...
0
votes
2answers
277 views

Apache2: not defined domains directing to the same virtual host

I have Apache2 configured in a debian box with virtual hosts. I have several domains pointing to the box's IP address. The domains whose virtual hosts are configured works perfectly. But if I type in ...
0
votes
2answers
229 views

Virtualhost adding another domain to server

I'm trying to add another domain to my server. I followed this : http://www.Debian-administration.org/articles/412 Basically, I created a new file called www.site.com in the ...
0
votes
2answers
1k views

Blocking non-virtual host access in Apache?

I'm running an apache-server, with a bunch of virtual hosts for about seven domain names. Now I'd like to disallow access for clients who try to access my server using only its IP-adress. So: When ...
1
vote
1answer
169 views

A-record redirect and apache virtualhost

Someone redirected his domains A-record to my server. Is there any specific config in virtualhosts? or I can use this like a full domain? (Debian Lenny)
1
vote
1answer
175 views

virtual host debian apach2

i'm trying to add a new domain to my server which is running debian and apache2. How exactly should i go about adding the domain? Through the sites-enabled/available? and if so how do i do it thanks
4
votes
2answers
348 views

2 Domains on 1 server

I'm running Debian and I don't have a control panel or anything. Right now, I'm simply pointing my domain to the server IP and it's going to the root, but I am looking to add another domain, so how ...
0
votes
2answers
349 views

Mindtouch broke my Apache2 virtual host configuration

I installed mindtouch using the instructions here and it seems to have broken my Virtual Host configuration. I have several domains running off the same apache instance and this was working fine but ...
0
votes
1answer
444 views

virtual hosts overlapping in debian apache2

I have a domain domain.com and a subdomain sub.domain.com . In apache2/sites-available I have 2 vhosts files: domain and sub. When I do a2ensite sub the subdomain overwrites the domain, so when I go ...
0
votes
1answer
240 views

subdomains configuration overwritten by default configuration

I am trying to configure some subdomains in apache2 (no master domain defined) and, after I write the config file for a certain domain, enable it and then try to load it, it shows me the content set ...
5
votes
4answers
3k views

limit bandwidth and space usage of each Virtual Host?

I am starting a small web hosting company to teach me about system administration and one of the problems I am having is how would I limit the bandwidth and disk space of each virtual host ...
1
vote
2answers
519 views

Secure Apache Virtual Hosts?

I am going to host a few small sites on VPS, and each of them are going to run my own custom PHP scripts. I am fairly certain that they are secure (did everything in the book, plus some of which is ...
0
votes
2answers
561 views

dhclient.conf: Send 2x host-names to the DHCP server?

Already working: Debian box DHCP with send host-name me.company.com in dhclient.conf DNS updates automatically with an entry for me.company.com What I want to add: Send a second host-name, so ...
0
votes
2answers
314 views

Debian Apache2 and SSL

I recently took over a server that is using Apache2 with SSL. I have setup a new server to which I am migrating all of the old websites so that we can more easily scale (it's a cloud server) and so ...
0
votes
2answers
2k views

404 not found error for virtual host

In my /etc/apache2/sites-enabled, i have a file site2.com.conf, which defines a virtual host as follows : <VirtualHost *:80> ServerAdmin hostmaster@wharfage ServerName site2.com ...
0
votes
1answer
3k views

Apache virtual host configuration on debian

Im new to apache configuration and would be really glad if someone helped me with the following.Im running apache on a virtual private server, running the debian operating system. In ...
1
vote
2answers
151 views

Debian Apache Weirdness

I have a fresh minimal Debian Lenny server with one IP address running just Apache. I have two domains, site1.com and site2.com for the purpose of this post, pointing to this one server. The www ...