AdminTextDrive

From LaurasWiki

Table of contents

setting up

previewing domains before moving DNS

You need to edit the "hosts" file, a little tricky on a Mac. It's in a directory that doesn't show up in the Finder, so you need to use the command line (Terminal):

/private/etc/hosts

The hosts file is locked (read only); to edit it use:

sudo emacs /private/etc/hosts

or whatever (http://inessential.com/?comments=1&postid=2638). Enter your password at the prompt, then insert a line:

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
207.7.107.205    yoursite.tld    www.yoursite.tld

For additional sites under the same account: add additional lines (http://forum.textdrive.com/viewtopic.php?pid=100214#p100214):

207.7.107.205    yoursite1.tld    www.yoursite1.tld
207.7.107.205    yoursite2.tld    www.yoursite2.tld

Next, flush the dns cache:

lookupd -flushcache

And then, restart the browser.

publishing ical

  1. Change ownership of yr. TD iCal directory
    • Open a ticket with textdrive and ask them to change the ownership of the iCal directories to "www".
    • Even with your shell account, you don't have the permissions to do this.
  2. Publish!

Backups: MySQL & Yr Site

unix tips

from the login screen

  • You can `set autologout = 30' to have tcsh log you off automatically if you leave the shell idle for more than 30 minutes.
  • Nice tcsh prompt: set prompt = '%n@%m:%~%# ' : didn't change my prompt, actually.


References

iCal at TD

See also