View unanswered posts | View active topics It is currently Fri Nov 24, 2017 9:50 am



Reply to topic  [ 1 post ] 
 Sub Domains point to router config 
Author Message
Junior Member

Joined: Mon Dec 22, 2008 6:36 pm
Posts: 1
Location: Olympia, WA
Post 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


Mon Dec 22, 2008 6:43 pm
Report this post
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.