Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...DNN 7.3 serving static contentDNN 7.3 serving static content
Previous
 
Next
New Post
11/26/2014 9:38 PM
 

Hi All.

Is there a way in DNN 7.3 on Windows 2012 r2 to serve up static content? My DNN is working good at mysampledomain.com.  Is there I way I can get DNN to just show static html pages? For example could  I create a directory in the root install directory call it static and have all static content from there? I wouldn't be concerned with the skin styling getting injected into those html files I just want to be able to see those static html pages from the dnn domain/url.   Is this possible in some way?

I have some auto generated html files that I somehow need to show through the dnn url and not sure how to best show them within the DNN install? Maybe through some IIS setting?

Thank you

 
New Post
11/27/2014 4:16 AM
 
Static Content is served by IIS, if you create any Folder insite your DNN directory, you may access any html file inside using the direct URL.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2014 3:30 AM
 

Hi Rod,

It would also be better to create the static directory in the Portals/<portalname> folder of your site, that way you would be able to use the Dnn logic etc.

Hope this helps,

Regards,

Geoff


      
 
New Post
11/28/2014 11:09 AM
 

@Sebastian

Thank you the direct url method works.

Is there a way to configure so I don't have to use the direct method - ie. mydomain.com/s/ and not mydomain.com/s/index.html?

I looked at Default Document in IIS and index.html is already in there.

Thank you

 
New Post
11/28/2014 5:50 PM
 
make sure, index.html is listed above Default.aspx, or create an application for the subfolder inside IIS

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...DNN 7.3 serving static contentDNN 7.3 serving static content


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out