I'm using NameVirtualHost to direct a domain to a folder. But now when you go to just the server IP, you get the domains folder and not the default. My second domain(as a test) goes to its folder correctly. I want it so that if someone is trying to view the servers ip, they will get a folder that is chmod'ed to 700 so that they will get forbidden.
Ubuntu Server 11.10 64Bit
Latest apache, php5