View Single Post
  #1 (permalink)  
Old 2008-12-22, 06:43 PM
buckminster1 buckminster1 is offline
Junior Member
 
Join Date: Dec 2008
Location: Olympia, WA
Posts: 1
buckminster1 is on a distinguished road
Unhappy Sub Domains point to router config

Hello all - I am another first-post noob. I have an Ubuntu 8.04 LAMP box with a fresh Apache install and a static ip. My domain (BuckysPalace.net > Home) works just fine, however any of my sub domains return with my homepage (outside of my network) or my router configuration screen if I access them inside the network.

I configure my sub domains by inserting a file named john.conf into /etc/apache2/sites-available/john.conf with the following info:
Code:
#/etc/apache2/sites-enabled/john.conf
<VirtualHost *>
ServerName john.buckyspalace.net
DocumentRoot /var/www/subdomains/john
</VirtualHost>
I then enable and restart apache with sudo a2ensite, etc...

What gives? Any suggestions?

Mark
BuckysPalace.net > Home
Reply With Quote