Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jan 16, 2011 8:48 pm 
Offline
Junior Member

Joined: Mon Jan 03, 2011 10:45 pm
Posts: 31
I have 1 site set up running and now I want to install Piwik Analytics. So ran thru a few guides and nothing when i visit the url. No error just my ISP page not found.

So i deleted Piwik directory files and tried just to get another site going but same thing.

var/www/
site1/
stats.site1/piwik files (now empty except for a phpinfo() in index.php

I copied the sites-enabled for site1 changing the locations to point to stats.site1.com but nothing

Is there a problem using the same name site1 and stats.site1?

Anyone have this setup?

Also running php thru php5-fpm

I must be missing something here.


Top
   
 Post subject:
PostPosted: Mon Jan 24, 2011 5:30 pm 
Offline
Junior Member

Joined: Mon Mar 16, 2009 3:38 pm
Posts: 30
Website: http://vitobotta.com
Location: Espoo, Finland
Do you mind pasting the virtual hosts settings in nginx for the site?
When have you set the DNS record for stats.site1.com?
Could it be that you have set it recently and therefore need to give it a little time for the DNS propagation? Just a thought.

BTW, thanks for Piwik! Looks great and I am going to install it right away on my Linode! :D

_________________
My blog with tips and walkthroughs on web development with free and open source tools (such as Linux, Ruby, Rails, MySQL), performance & scalability, security, database, search engine optimisation.


Top
   
 Post subject:
PostPosted: Mon Jan 24, 2011 6:04 pm 
Offline
Junior Member

Joined: Mon Mar 16, 2009 3:38 pm
Posts: 30
Website: http://vitobotta.com
Location: Espoo, Finland
Just installed, I love it!

I have installed in a similar configuration to yours (stats.mydomain.com), and it was quick and easy. While I wait for your reply about DNS etc, here's my vhost for reference;


server {
listen xxx.xxx.xxx.xxx:80;

server_name stats.mydomain.com;
server_name_in_redirect off;
port_in_redirect off;

root /var/www/sites/stats.mydomain.com;

access_log /var/log/nginx/sites/stats.mydomain.com.access.log;
error_log /var/log/nginx/sites/stats.mydomain.com.error.log;

gzip on;
gzip_static on;

location / {
index index.php index.html index.htm;
}

location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_connect_timeout 300;
fastcgi_param SCRIPT_FILENAME /var/www/sites/stats.mydomain.com$fastcgi_script_name;

include fastcgi_params;
}
}

_________________
My blog with tips and walkthroughs on web development with free and open source tools (such as Linux, Ruby, Rails, MySQL), performance & scalability, security, database, search engine optimisation.


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


Who is online

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