Watch One Piece - Mobile Phones - Swarovski - Free Ringtone - MPAA

PDA

View Full Version : VirtualHost accessable from main domain - how to stop


willybfriendly
Aug 6th 2006, 8:57 pm
I have two domains running on one VPS. One domain is running as a virtualHost.

Unfortunately, it remains accesible from the main URL, which I would like to put a stop to.

In other words, www.virtualHost.com (which resides in the folder /example/) is accessible through both:

www.virtualhost.com

and

www.mainsite.com/example

I am sure there is something simple I am missing in setting up the htppd.conf

Any help would be appreciated

willybfriendly
Aug 7th 2006, 8:47 am
Bump...

Any ideas out there?

sunday
Aug 7th 2006, 2:17 pm
Move your DocumentRoot for virtual host to some other location is the best I can suggest.