Jimmy's Blog Jimmy Ruska's Blog
Setting up subdomains with Apache Virtualhosts Posted on Wednesday, February 13 2008
Learn to Play Songs by Ear: Ear Training

Google loves subdomains. Many people have asked me how can they get their own for their domain.

Add this to httpd.conf

<VirtualHost YOUR_IP_HERE>
ServerName subdomain.yourdomain.com
DocumentRoot /the/dir/you/have/the/files/in
ErrorDocument 404 /when/pagenotfound/gohere/
</VirtualHost>



Tags: setting up subdomains, creating sub domains



stumble digg delicious


Blog by Jimmy Ruska
Add me: Youtube, Twitter, Facebook, MySpace

Share:

More OMFG-Good Links

See all Posts in the Funny Pictures category.
Download mp3s faster than limewire using google.
I've made 100+ free video tutorials.
See the best of the internet today on one page.