Enabling InstantCDN for OSCommerce website

For OSCommerces users, after you have signed up for InstantCDN.Asia and received your CDN Portal login details, you may easily apply CDN using using .htaccess file with mod_rewrite rules.
| 1. Log into the CDN Portal using http://portal.myinstantcdn.com/ |
|---|
![]() |
| 2. Go to CDN Sites bar and click on Add CDN Site. |
![]() |
| 3. Enter your CDN Hostname such as cdn.domain.com and your domain name. |
![]() |
| 4. If you would like to block certain host or IP, you may set it at the next step. |
![]() |
| 5. Next, you may set the 403 Error page if you do have the page from your script, otherwise you may left it blank. |
![]() |
| 6. You are done with the first stage. |
![]() |
| 7. You will get a CNAME record that requires to change from your DNS, change it according to your DNS setting of the control panel. |
![]() |
| 8. Next, you will be entering the second stage and please select ‘Oscommerce’ next to “Select supported script”. |
![]() |
9. You will get the instructions and rewrite rules. Open the .htaccess(it should appear from the web root folder of your account) file from your account. Modify and insert all of the rules from the text area. Save it |
| 10. You will be instructed to create a file named crossdomain.xml and please add the script as the image below when you wish to use SWF. |
| 11. Congratulations! You are done. |













Leave a Reply