Difference between revisions of "Link Domain"
From TMM Wiki
Jump to navigationJump to searchLine 11: | Line 11: | ||
Before setting up a link domain, you need to create a sub-domain of your | 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, | + | site in DNS and point that sub-domain at your NATS server. For example, |
− | if | + | if your affiliate program name is affiliate_program.com and create the |
− | host if you need help with this step. | + | member domain member_site1.com would would need a link domain join.member_site1.com. |
+ | Ask your host if you need help with this step. | ||
Now edit, or have your host edit, your Apache configuration. Find the | Now edit, or have your host edit, your Apache configuration. Find the |
Revision as of 10:02, 16 February 2010
NATS 3
|
---|
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 your affiliate program name is affiliate_program.com and create the member domain member_site1.com would would need a link domain join.member_site1.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.member_site1.com
For example:
<VirtualHost 000.000.000.000> ServerName affiliate_program.com ServerAlias join.member_site1.com ServerAlias join.member_site2.com ServerAlias join.member_site3.com DocumentRoot /path/to/nats/www ErrorLog logs/dummy-host.affiliate_program.com-error_log CustomLog logs/dummy-host.affiliate_program.com-access_log common <Directory /path/to/nats/www> Options FollowSymLinks AllowOverride All </Directory> </VirtualHost>