Revision as of 11:50, 18 December 2008
A link domain lets surfers join a site without appearing to leave that
site. Link domains are Apache server aliases of your NATS domain and
you can create as many of them as you want.
Before setting up a link domain, you need to create a sub-domain of your
site in DNS and point that sub-domain at your NATS server. For example,
if you own example.com, create the subdomain join.example.com. Ask your
host if you need help with this step.
Now edit, or have your host edit, your Apache configuration. Find the
virtual host declaration for your NATS domain and add the following
line in the VirtualHost section:
ServerAlias join.example.com
For example:
<VirtualHost 000.000.000.000>
ServerName www.example.com
ServerAlias join.example.com
DocumentRoot /path/to/nats/www
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
<Directory /path/to/nats/www>
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>