Web

PHP website

You need to add domain, set up DNS and add vhost. You domain’s nameservers should be pointed to ns1.rootnode.net and ns2.rootnode.net.

export DOMAIN="domain.com"
satan domain add $DOMAIN
satan domain enable dns $DOMAIN
satan dns add a $DOMAIN ^ 89.248.171.134
satan dns add cname $DOMAIN + $DOMAIN
satan vhost add $DOMAIN $DOMAIN fastweb
satan vhost init $DOMAIN

This process will be simplified in the future. Website files put in ~/fastweb/domain.com/htdocs. Also see details about database configuration.

Python or Ruby application

You need to add domain, set up DNS and add vhost. You domain’s nameservers should be pointed to ns1.rootnode.net and ns2.rootnode.net.

export DOMAIN="domain.com"
satan domain add $DOMAIN
satan domain enable dns $DOMAIN
satan dns add a $DOMAIN ^ 89.248.171.136
satan dns add cname $DOMAIN + $DOMAIN
satan vhost add $DOMAIN $DOMAIN ruby
satan vhost init $DOMAIN

This process will be simplified in the future. Website files put in ~/ruby/domain.com/htdocs. Also see details about database configuration.

Memcached

Go to your vhost directory, e.g. ~/fastweb/domain.com and create empty memcache file.

touch conf/memcache

After 1 minute your memcache will be running on 127.0.0.1:11211. Memory size limit is 32M.

Vhost configuration

In your vhost directory, e.g. ~/fastweb/domain.com create conf/nginx file. In this file you can define nginx configuration in a special XML format. Sytnax is as follows:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>