Difference between revisions of "Subdomain setup"
From Dreamwidth Notes
Foxfirefey (Talk | contribs) (New page: In order to get subdomain user URLs working, uncomment the bolded lines in <code>etc/ljconfig.pl</code>: # Support URLs of the form http://username.yoursite.com/ ? # If so, what's the p...) |
Foxfirefey (Talk | contribs) m |
||
Line 5: | Line 5: | ||
<b>$USER_VHOSTS = 1; | <b>$USER_VHOSTS = 1; | ||
$USER_DOMAIN = $DOMAIN;</b> | $USER_DOMAIN = $DOMAIN;</b> | ||
− | + | ||
# If you ONLY want USER_VHOSTS to work and not the typical /users/USER and /community/USER | # If you ONLY want USER_VHOSTS to work and not the typical /users/USER and /community/USER | ||
# then set this option: | # then set this option: |
Revision as of 03:32, 16 September 2008
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.