Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jun 16, 2012 2:25 pm 
Offline
Junior Member

Joined: Wed Jun 13, 2012 2:38 am
Posts: 27
I've followed all of the steps in http://library.linode.com/web-applicati ... 0.04-lucid

I think the sites-enabled file is properly configured for the subdomain ('user' is stand-in for actual user):

Quote:
# domain: stats.site.org
# public: /home/user/public/stats.site.org/

<VirtualHost *:80>
ServerAdmin admin@stats.site.org
ServerName stats.site.org
ServerAlias stats.site.org
DirectoryIndex index.html index.php
DocumentRoot /home/user/public/stats.site.org/public
LogLevel warn
ErrorLog /home/user/public/stats.site.org/log/error.log
CustomLog /home/user/public/stats.site.org/log/access.log combined
</VirtualHost>


a2ensite and apache2 restart have been successful. "A" record has been created for stats in DNS manager and is pointed to the same IP address as the primary domain.

Can anyone offer advice on what I've forgotten?

Thanks!


Top
   
PostPosted: Sat Jun 16, 2012 2:48 pm 
Offline
Senior Newbie

Joined: Thu May 07, 2009 6:13 am
Posts: 18
Quote:
Can anyone offer advice on what I've forgotten?

Your question and explanation as to what is wrong ;)

Also, you don't need the "ServerAlias" line since it's the same as your "ServerName" line.


Top
   
PostPosted: Sat Jun 16, 2012 3:00 pm 
Offline
Junior Member

Joined: Wed Jun 13, 2012 2:38 am
Posts: 27
I'm really sorry. I feel bad for posting this. The DNS had just taken about 20 minutes to come into effect.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group