Link Domain

From TMM Wiki
Revision as of 12:50, 18 December 2008 by Trinidadr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
NATS 4
NATS Setup
Post-Installation Steps
Apache Configuration
MySQL Settings
Creating Admin Accounts
Multiple Server Setup
Using Memcached for Caching
File Upload Setup
Link Domain
HTTPS Setup
NATS4 Files and Directories
NATS4 Go Live Checklist
NATS3 to NATS4 Going Live Checklist
Moving NATS4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
NATS 3
Setup
Apache Configuration
MySQL Settings
Creating Admin Accounts
File Upload Setup
Link Domain
NATS3 Files and Directories
NATS Go Live Checklist
Moving NATS3

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>