That's why I didn't go with DynDNS. Go with zoneedit.com and you don't have the subdomain crap to deal with.
Name based virtual hosts is basic to set up (at least it was on my 8.04 server). Simply make a host file for each site in the sites-available directory, and then symlink to it. If you don't know what to put in the host file, take a look through the forum and you will see plenty of examples.
Here is an example of one I am running right now:
Code:
<VirtualHost *>
ServerName www.bigdomain.com
ServerAlias bigdomain.com
DocumentRoot /var/www/bigdomain
<Directory /var/www/bigdomain>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/bigdomain-error.log
</VirtualHost>
Make your symlink, add the /var/www/bigdomain directory, restart apache, and put your index.htm file in /var/www/bigdomain to test it out.
This is literally all I had to do to get name based virtual hosts working.
Side note: I made sure to use -Indexes in the /sites-available/default file so that the www directory was no longer indexed, but this isn't necessary to get name based virtual hosting working.
Bookmarks