Jimmy Ruska's Blog
ApacheApache becoming outdated?
Setting up subdomains with Apache Virtualhosts
See all 2 posts
Apache RSS

Categoriesvideo tutorials (123)
funny pictures (41)
amazing videos (27)
hilarious videos (26)
amazing pictures (21)
misc (10)
php tutorials (8)
computer tricks (7)
personal updates (6)
cat videos (5)
articles (3)
youtube tips (3)
apache (2)
fake news (2)
My WebsitesBest of Internet
Streaming Anime Episodes
Free Video Tutorials
Best of Youtube
Electronics Discounts
MP3s From Google
Free Online Education
Funny Pictures Blog
Video Game Sheet Music
Free Movies Online
Online Degrees
College Online
Feb 13 | Setting up subdomains with Apache Virtualhosts Posted on Wednesday, February 13 2008 |
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>
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

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.