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 StartedInstalling DNN ...Installing DNN ...IIS7 Configuration - Moving virtual folder to Default Web Sites.IIS7 Configuration - Moving virtual folder to Default Web Sites.
Previous
 
Next
New Post
11/20/2009 11:56 PM
 

Previously we setup our DNN installation to http://localhost/mywebsite and upload the contents, pictures and etc. Some of the HTML contents's picture is pointing to the resource's relative path (" /mywebsite/Portals/0/images/Pic1.jpg").

When we planned to move it to the live server, IIS 7's Default Web Sites set the path to point at the D:\mywebsite, the content would not displays the pictures correctly due to the virtual folder "mywebsite" is not there anymore.

I tried to create another virtual folder "mywebsite" under it and point it to D:\mywebsite, IIS7 will prompt me the error of "Compilation error" due to that virtual folder consists of the "web.config" file.

My current setup is

- Default Web Sites - D:\mywebsite

- - mywebsite (virtual folder) - D:\mywebsite\Portals

- - - Portals (virtual folder) - D:\mywebsite\Portals

Then the website is running fine. But I believe this is not the right way to configure the mywebsite to point at D:\mywebsite\Portals which acts as dummy folder. Any suggestions to fix this?

Thank you.

 
New Post
11/21/2009 3:58 AM
 

I suggest installing DNN always in the root of a web site, even for development, because local image and document paths in rich texts are most of the time stored domain relative. if you want to install multiple web sites in IIS7, you need multiple domain addresses pointing to the server, on a local machine, use aliases declared in c:\windows\system32\drivers\etc\hosts (use a text editor to add it).

If you want to use multiportal feature of DNN wit multiple parent portals, make sure, new domain address exists prior to adding a new parent portal.

Portals folder for all portals in root installation will always be created as child of /portals.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/21/2009 9:23 AM
 

Thank you for your reply. As our development server is shared use for few applications, that's why we are not allowed to install it in root although we can use different port for that. My team members have been working on the contents for months. It is a bit too late to tell them change the contents to the right path.

Besides that, our deployment archiecture is slight complex. We have a public server in DMZ zone for public and another server located in Intranet zone. Both are pointing to the  same DNN database. The intranet zone's server is a shared use server and it has no issue because it using http://servername/mywebsites.

 
New Post
11/21/2009 9:31 AM
 

YSLim wrote

Thank you for your reply. As our development server is shared use for few applications, that's why we are not allowed to install it in root although we can use different port for that. My team members have been working on the contents for months. It is a bit too late to tell them change the contents to the right path.

Besides that, our deployment archiecture is slight complex. We have a public server in DMZ zone for public and another server located in Intranet zone. Both are pointing to the  same DNN database. The intranet zone's server is a shared use server and it has no issue because it using http://servername/mywebsites.

Let's say if we only have one server, to fix this issue, is it means I should edit in the db to update all the contents which consists of "/websites/portals/0" to "/portals/0" ?

 
New Post
11/21/2009 11:14 AM
 

there is a free search/replace module for Text/HTML module, but I don't have a solution for all full text columns.


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 StartedInstalling DNN ...Installing DNN ...IIS7 Configuration - Moving virtual folder to Default Web Sites.IIS7 Configuration - Moving virtual folder to Default Web Sites.


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