echo "select max(id) from webapps" | mysql -uroot -phda hda_production</pre>
:Once you have chosen the id number, execute the following
<pre>echo "INSERT INTO dns_aliases (id, name, address) VALUES(99, 'appname', \'')" <nowiki>|</nowiki> mysql -uroot -phda hda_productionecho "INSERT INTO webapps (id, name, path, kind, aliases, fname, deletable, \login_required, dns_alias_id, custom_options, created_at, updated_at) VALUES(99, \'appname', '/var/hda/web-apps/appname', '', '', '9999-appname.conf', 0, 0, 99, \NULL, '2013-11-17 12:00:00', '2013-11-17 12:00:00')" | mysql -uroot -phda hda_production</pre>
* Create a test file
<pre>vi /var/hda/web-apps/appname/html/index.html</pre>