Customer Support Portal
Home>Knowledge Base>Root>Dotnetnuke Modules>Content Rotator>The DNN Rotator module controls have broken images
User Login
Article ID2
Created On4/28/2009
Share With Others

The DNN Rotator module controls have broken images

This is due to the fact you are running DNN in a virtual directory which breaks the relative path of the images. Once you have your site running on your production environment you will not have this issue. In case you want to test this on your local machine here is a way to achieve it:
  • Go to C:\WINDOWS\system32\drivers\etc
  • Open the file "hosts" in notepad
  • Add the following line: (any address you want)
  • save the file
  • Go to IIS and add the alias( to your website and make sure you also add the alias as portal alias in DNN through the host settings. Also change the homedirectoy of your default website to the directory of your site
Now you can open in your browser and it will open your local website. This way you can see your local website as if it was published.
Please see this page for additional information: