[Charlug] subdomain help/explanation

Rick Pasotto rick at niof.net
Mon Mar 17 16:03:45 EDT 2008


How do I set up a subdomain? Example:

domain.com is a valid funtioning domain on my machine with root at
/var/www/com/domain.

I create a subdirectory /var/www/com/domain/sub

Godaddy wants to know where to redirect sub.domain.com. Do I tell them
http://domain.com/sub?

What do I put in the apache sites-available file for the subdomain?

I would like sub.domain.com to act just like a totally separate website.
In other words, the address bar should have: http://sub.domain.com

--
"Personal liberty is the paramount essential to human dignity and human
 happiness." -- Edward George Bulwer-Lytton (1803-1873)
     Rick Pasotto    rick at niof.net    http://www.niof.net



More information about the CharLUG mailing list