Subdomain setup

From Dreamwidth Notes
Revision as of 03:32, 16 September 2008 by Foxfirefey (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In order to get subdomain user URLs working, uncomment the bolded lines in etc/ljconfig.pl:

# Support URLs of the form http://username.yoursite.com/ ?
# If so, what's the part after "username." ?
$USER_VHOSTS = 1;
$USER_DOMAIN = $DOMAIN;
# If you ONLY want USER_VHOSTS to work and not the typical /users/USER and /community/USER
# then set this option:
$ONLY_USER_VHOSTS = 1;

You will also have to set up a wildcard subdomain record with your DNS.