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 ...How to work with DNN paths on LocalhostHow to work with DNN paths on Localhost
Previous
 
Next
New Post
9/9/2009 9:07 AM
 

Hi There,

This has been a problem since I have started using DNN and I would love to know if there is a solution to this please?

At the moment, when I create a site using DNN, I point my images and hyperlink paths to http://localhost/mysite

The problem with this is that when I take it online I need to change all of the links in my site to then point to the live site.

As an example, the application sees http://localhost as the root path, so I cannot use /images/mypic.jpg as a relative path because the actual application begins at http://localhost/mysite

I posted this question on DNN creative and got a response from someone who was helping me but he is offline now and I need help urgently with this.

 

He said that in the IIS, I need to set my site's physical path to http://localhost/mysite.

In IIS I followed this route.

  1. Open IIS
  2. Right click on Default Web Site
  3. Go to Properties
  4. The Default Web Site Properties window opens
  5. VClick on the Home Directory Tab
  6. Change the Local Path to C:\Inetpub\wwwroot\mysite

I have done all this but I am still running into problems when I reference the root of the site like this /home.aspx or /products/stapler.aspx

If someone can help with this I would greatly appreciate it!

Thanks,
Sky

 
New Post
9/9/2009 9:22 AM
 

Which OS do you use locally?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to work with DNN paths on LocalhostHow to work with DNN paths on Localhost


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