Forum archive
Is this a real APache Forum?
Where is Apache?? This is wierd, you google Apache 2 Forum and get an ISP??? Are you Apache?? Where is Apaches Forums? Only a real Apache expert can help me. I tried all the other so-called Apache Forums and nobody could answer my question. Maybe I will take a chance.
I have a site called www.inwoon.net

I am only allowed 1 domain name and unlimited sub-domains. So my bright idea is to host lots of sites and relate them to their subdomain name.
drwxrwxr-x. 6 ftpuser ftpgroup 4096 Jan 25 09:47 3-gen
drwxrwxr-x. 5 ftpuser ftpgroup 4096 Jan 25 09:47 emanon
drwxrwxr-x. 5 ftpuser ftpgroup 4096 Jan 25 09:48 FreeWillRadio
drwxr-xr-x 11 ftpuser ftpgroup 4096 Jan 25 09:52 inwoon
drwxr-xr-x 8 ftpuser ftpgroup 4096 Jan 25 09:43 itssoezy
drwxrwxr-x. 6 ftpuser ftpgroup 4096 Jan 25 10:01 paully
drwxrwxr-x. 2 ftpuser ftpgroup 4096 Aug 10 18:25 y2kxn
So far I have 3-gen.net, emanongroup.net, FreeWillRadio.org, www.inwoon.net itssoezy.net and paullysongsmith.com using subdomains.
I have each subdomain setup as a virtual host using Apache 2.2.15
NameVirtualHost *:80
DocumentRoot "/var/www/html/web/inwoon"
ServerName localhost.localdomain
ServerAlias localhost
ErrorLog /var/www/html/web/itssoezy/logs/inwoon_error_log.txt
LogLevel warn
</VirtualHost>
DocumentRoot "/var/www/html/web/inwoon"
ServerName www.inwoon.net
ServerAlias www.inwoon.net
ErrorLog /var/www/html/web/inwoon/logs/inwoon_error_log.txt
LogLevel error
ServerAdmin manager@emanongroup.net
</VirtualHost>
DocumentRoot "/var/www/html/web/emanon"
ServerName www.emanongroup.net
ServerAlias emanon.inwoon.net
ErrorLog /var/www/html/web/emanon/logs/emanon_error_log.txt
LogLevel warn
</VirtualHost>
DocumentRoot "/var/www/html/web/itssoezy"
ServerName www.itssoezy.net
ServerAlias itssoezy.inwoon.net
ErrorLog /var/www/html/web/itssoezy/logs/itssoezy_error_log.txt
LogLevel error
ServerAdmin manager@emanongroup.net
</VirtualHost>
DocumentRoot "/var/www/html/web/3-gen"
ServerName www.3-gen.net
ServerAlias 3-gen.inwoon.net
ErrorLog /var/www/html/web/3-gen/logs/3-gen_error_log.txt
LogLevel warn
</VirtualHost>
DocumentRoot "/var/www/html/web/FreeWillRadio"
ServerName www.freewillradio.org
ServerAlias freewillradio.inwoon.org
ErrorLog /var/www/html/web/FreeWillRadio/logs/freewill_error_log.txt
LogLevel warn
</VirtualHost>
DocumentRoot "/var/www/html/web/paully"
ServerName www.paullysongsmith.com
ServerAlias *.paullysongsmith.com
ErrorLog /var/www/html/web/paully/logs/paully_error_log.txt
LogLevel warn
</VirtualHost>
Only a mailing list, and some pretty good documentation. Have a look here.
Keep in mind that Ubuntu/Debian (TKL v11.x is based on Ubuntu 10.04) have a slightly non-standard setup so the Ubuntu forum is possibly a good place to ask question.
I'm certainly no Apache expert, but I think your problem is a DNS one, rather than an Apache one. At a quick glance your apache config looks fair, but you still need to have each of the domains pointing to your IP. The way you have them set up currently, they are separate domains, not sub-domains (despite the fact that they have those aliases). If you want to use domains then you'll still need to have the domains point to your server via DNS. Otherwise there is no path to your server.