Loading...
Changes Saved.
Error Occurred!
Home Products Blog Community Support Resellers

Configuring Dynamic Subdomain Affiliates Links

*Setting up dynamic subdomains takes a bit of technical expertise.  If you are not familiar with editing your server configuration files, please do not attempt this or at least consult your system administrator first.

Dynamic Subdomain Affiliate Link Requirements:

Access to your DNS records

You will need to be able to edit your DNS or name server records to enable dynamic subdomains.

Access to your Apache Web Server Configuration File

You will need to be able to edit your Apache's httpd.conf file to enable dynamic subdomains.

Steps to Enable Dynamic Subdomain Affiliate Links:

  1.  Edit Your Name Server / DNS Records - You will need to enter a wildcard subdomain entry for your DNS records.  If you use BIND as your name server, it would go as the last line on your DNS record as follows:

    @               IN      SOA     ns1.jrox.com. admin.jrox.com. (
                            4  ; serial
                            8H ; refresh
                            2H ; retry
                            2W ; expire
                            1D ; default_ttl
                            )
                   IN      A       192.168.1.233
                   IN      NS      ns1.jrox.com.
                   IN      NS      ns2.jrox.com.
    www        IN      A       192.168.1.233
    *             IN      A       192.168.1.233

     

  2. Edit Your Apache httpd.conf file - You will need to edit your httpd.conf file and add a ServerAlias entry near the bottom of your Virtual Host record as follows:

    <VirtualHost 255.255.255.0>
    DocumentRoot /home/username/public_html
    ServerName
    www.domain.com
    ServerAlias domain.com
    ServerAlias *.domain.com
    </VirtualHost>

  3. Set the Affiliate Link Type - Click on Settings > Global Configuration > Marketing > Affiliate Marketing > Affiliate Link Type > Subdomain

  4. Reserve subdomains - If you have subdomains you don't want users to signup for, enter them in Settings > Global Configuration > Marketing > Affiliate Marketing > Affiliate Link Type > Restrictred Subdomains



Related Articles