DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN Portal website not showing up and only downloading a document file

 2 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 1
New Around Here

We have a DNN based websites being used for our company. Within that there are multiple sites among which there is a site at https://example.com/siteId25. This particular site have been modified by any one of the Admin's in such a way that upon visiting that url, its only downloading a document(.docx) file rather then showing the website which used to be there.

The file is within the hosted website's portal folder at path "wwroot/WebsiteFolder/Portal/25/Info siteId25.docx". Upon removing that file, it starts giving error.

We already have Testing version of that site on a different server, which is serving appropriate website page upon visiting that path. Upon checking the Site settings in the Website Persona Bar, as well as checking that in the database table <code>Portal Settings</code>, we didn't found any relevant settings to serve document rather then webpage.

All of the settings are having same values default values in both production & in Testing environment. We tries switching Site Alias mapping mode from canonical to direct, but issue persist.

Can anyone please tell us any to set back url to show website rather then download file?

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

See my answer here: c# - DNN Portal website not showing up and only downloading a document file - Stack Overflow

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
New Around Here
Posts: 0
New Around Here
Well... I believe the functionality of downloading a file instead of showing a webpage can be accomplished in at least 2 ways in DotNetNuke - so in order to reverse the setting we need to find out which approach was taken originally :-)

These screenshots may guide you in the right direction:

1. Use the settings for the home page in Dnn Administration

2. Use a module for changing the behavior of the home page


#DnnBro

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved