20
votes
5answers
4k views

A domain I've never heard of resolves to my website [duplicate]

I've discovered (via looking at mod_pagespeed cache entries) that a completely random domain I've never heard of before is resolving to my website. If I visit this domain, my website loads. The DNS ...
0
votes
1answer
18 views

apache location directive spanning virtual hosts

I have a simple question. In my environment there is a apache configured like this. <VirtualHost 1.1.1.1:80> ServerAdmin a@example.com DocumentRoot /apps/docroot/ ...
1
vote
1answer
853 views

Best practices setting up Apache2 Virtualhosts with Aliases?

I'm setting my Apache2 Virtual Hosts, in a Debian Squeeze server, in this way: filename: whatever.mydomain.com Alias /whatever /var/www/whatever.mydomain.com <VirtualHost *:80> ...
-1
votes
1answer
54 views

Secondary domains not working on dedicated server

I have a domain pointing to the dedicated IP address on my dedicated server working fine. The problem is that any other domains I create pointing to shared IP addresses on the server are not ...
8
votes
3answers
11k views

Apache “Client denied by server configuration”, despite allowing access to directory (vhost configuration)

in Apache on Ubuntu I've set up a vhost, but in the browser I keep getting a "403 Access forbidden" error; the log says "Client denied by server configuration: /home/remix/". Looking for the solution ...
3
votes
1answer
109 views

Concerns about Apache per-Vhost logging setup

I'm both senior developer and sysadmin in my company, so i'm trying to deal with the needs of both activities. I've set up our apache box, wich deals with 30-50 domains atm (and hopefully will grow ...
1
vote
1answer
470 views

iptables: redirect port to server that's bound to a specific IP

On a Linux box with multiple IPs, I'm having a problem redirecting a privileged port to an unprivileged port on which a server is listening that's bound to a specific IP. Add this rule to iptables to ...
0
votes
1answer
213 views

Running Apache as different users for separate vhosts

I have a server running multiple websites, with each website configured as a separate vhost. Some trusted users require shell access to the web server, but in an effort to prevent abuse and accidental ...
1
vote
1answer
934 views

nginx virtual hosts are not working, all vhosts goes to the default one

I just did a clean install of nginx + php-fpm on a VPS running Ubuntu 10.10, nginx is serving and PHP is working fine, but I'm not able to add vhosts to it. Well, I can add them, but only one works, ...
1
vote
1answer
121 views

Stop script execution under apache user

My vhost server's users are allowed to access only their directories, but today i was under attack someone uploaded files by user apache in folder /tmp and executed files. How can i stop upload by ...
0
votes
1answer
312 views

Monitor web server usage on Linux Debian PER DOMAIN

I have been using munin and monit to monitor the overall details of my web server, but as it hosts multiple sites, I would like to know how to monitor per-domain hosted, or something similar. The ...
1
vote
1answer
86 views

What are secure ways of sharing a server (ssh+LAMP) with friends?

What is the best way to share a virtual server with friends? More precisely, I have the following assets: A virtual private server (Debian Lenny) with root access for myself, running... SSH apache2 ...
0
votes
1answer
684 views

Virtual Box LAMP with Vhost / Wildcard subdomains?

I have setup a lamp server in buntu 9.10 inside virtual box.. but does anybody know a way how to get wildcard subdomains working with this setup? Is it possible to only setup a DNS for the virtualbox ...
0
votes
3answers
3k views

Create Subdomain(s) on Virtual Host on Ubuntu

i m using ubuntu & wants to Create Subdomain on Virtual Host for local host. i have already created server name on my local host but now wants to Create Subdomains on Virtual Host for local host. ...