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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Plain HTML domain "under" DNN?Plain HTML domain "under" DNN?
Previous
 
Next
New Post
3/18/2013 12:32 PM
 

I have to temporary host a small plain HTML website on my DNN server (just until I have converted it to a real DNN website), is that doable somehow (can DNN route a domain request to a subdirectory)?

Thanks, Tim

 

 
New Post
3/19/2013 7:29 AM
 
Yes. I don't recommend it but I've had to do it myself once or twice.

Mark
 
New Post
3/25/2013 6:10 AM
 
Hi Mark, would you mind outlining just the basic steps you had to take to get this done? AFAIK DNN will normally just handle .aspx pages, but to make the "pure" html domain work it would need to take a request to "subdomain.com/helloworld.html" (which is configured to use the same server as "mydomain.com"), translate it to "mydomain.com/subdomain/helloworld.html" and deliver that contains "as if" the content was actually stored at "subdomain.com/helloworld.html". I would think that it requires at least some custom handler to get this done.
 
New Post
3/25/2013 7:02 AM
 
If all you want to do is place some html files in a subdirectory of DNN, create your folder, add your html pages and call them like you would any other page. Like this:

http://www.YourDNNWebsite/test/test.html

Test is the subdirectory and test.html is your html page.

Mark
 
New Post
3/25/2013 7:55 AM
 

Let me explain my scenario a little more in depth. Let's say I have two domains, www.mydnn.com and www.myhtml.com. I have a real (Azure in my example) server for mydnn.com and it works like a charme. I only have a bunch of html files for myhtml.com as of now. I want to convert myhtml.com to a DNN side soon. Like you mentioned, I can just store those files in www.mydnn.com/myhtml and access them from there. That is what I am currently doing, and I configured the domain www.myhtml.com to use a cloaked redirection to serve www.mydnn.com/myhtml. Problem is: with this redirection the browser will always display www.myhtml.com in the browser bar, Google will index the wrong and ugly original URL and some other annoyances.

I am currently using Azure only. I could get a cheap plan just to host the smaller html webs (a small webinstance would be too expensive), but I was hoping that there is a way to get this done on Azure, without additional contracts, terms etc. I think what might be possible is to configure the Azure IIS to host mutiple webs and the DNN would be just one of them. An even more elegant solution would be to have DNN delegate the requests directly to the html subdirectory, but I am uncertain, if that is doable?

Thanks,
Tim

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Plain HTML domain "under" DNN?Plain HTML domain "under" DNN?


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