Document module + link to file location
Last Post 11/09/2006 10:05 AM by lynn. 2 Replies.
Author Messages
lynn
Nuke Master
Nuke Master
Posts:276


--
11/08/2006 12:48 PM

    Hi Lee

    Thanks for your latest tutorials (issue 15) top marks as usual.  I found them very informative and interesting.

    I have a basic question regarding the documents module.

    In your tutorial you pointed out the benefits of housing your video zip files on other servers. You created a link e.g  example/video.zip   Could you please clarify where you have housed your document on the external server in order to create a download link to the video.zip file.

    i.e. Would you link directly to the file manager on the external server and a folder/file located within, or to a file placed on a page of a web site?

    Thanks

    Lynn

    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    11/09/2006 2:38 AM
    Hi Lynn,

    This is an example of what I do.

    www.exampleDNN.com is a DNN website currently on shared hosting (in America), when videos are stored on this site I discovered that the site would be brought down because of the load on the server.

    So I buy a second domain name eg: www.example.co.uk

    I then buy standard website hosting (not DNN specialist hosting) from a different hosting provider in a different country (UK in this example).

    I upload the video files to various folders within the hosting area via FTP, so for instance I may create a folder called 'Word_Tutorials' and upload all of the video zip files into that folder.

    You do not need to create a page to link to these files, all you do is this:

    http://www.example.co.uk/Word_Tutor...eofile.zip

    If you type this link into a browser you will see that it should start to download.

    All you do is enter this URL into the documents module.

    I tend to buy a domain name related to which country the hosting provider is based in. - Users in the same country as the hosting provider will find that the downloads will be quicker for them.

    So on DNN C. I use 3 servers:

    1) America - DNN hosting, hosts the main DotNetNuke installation
    2) America in a different area - just standard hosting for downloading videos
    3) UK - standard hosting for downloading videos

    Servers 2 and 3 have exactly the same files and folders stored on them.

    Therefore if one of the video servers goes down or is slow the other one should be able to deliver the video to the user. All while keeping the load on server 1 - the DNN website to a minimum.

    Hope this helps, thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    lynn
    Nuke Master
    Nuke Master
    Posts:276


    --
    11/09/2006 10:05 AM

    Hi Lee

    Thank you for your enlightening reply.  

    Lynn 



    ---