Trouble setting up subdomain for Piwik Install

I've followed all of the steps in http://library.linode.com/web-applicati … 0.04-lucid">http://library.linode.com/web-applications/analytics/piwik/ubuntu-10.04-lucid

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

> # domain: stats.site.org

public: /home/user/public/stats.site.org/

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

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!

2 Replies

> 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.

I'm really sorry. I feel bad for posting this. The DNS had just taken about 20 minutes to come into effect.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct