I try to install a subdomain on my dedicated server. I made a new DNS rules to point my sub domain to the IP of my serv.
After reading this Subdomain on apache i tried to add new rules on Apache :
NameVirtualHost IP:80 <VirtualHost *:80> DocumentRoot /home/www/mysite/tb ServerName tb.mysite.org </VirtualHost>
Then i restart Apache but it returns
sudo /etc/init.d/apache2 restart * Restarting web server apache2 [Wed Jun 27 12:33:41 2012] [warn] NameVirtualHost *:80 has no VirtualHosts ... waiting [Wed Jun 27 12:33:42 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
the tb/ folder is existing, don't why Apache can't find it... And it says that NameVirtualHost:80 has no VirtualHosts...
EDIT : Here is my complete /etc/apache2/sites-available/default http://pastebin.com/ZzVBFQvX Hop it helps :)