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 ...Trying to remove /dotnetnuke from urlTrying to remove /dotnetnuke from url
Previous
 
Next
New Post
7/13/2010 4:37 AM
 
Michael Boyle wrote:
No I understand. What does that hostheader do, if anything, in the web.config file? And short of putting it all in an iFrame or something crazy, any way to get the url to remain in their address bar without dotnetnuke even though it's in a DNN directory?

 OK - I think you're misunderstanding what has been said - it looks like it's been setup as a 'virtual directory' rather than a website.  By default if you set something up as a virtual directory environment, it has a prefix in the url - nothing to do with dotnetnuke - it could be anything - it's when it was setup either you or some automated process has set the prefix to be dotnetnuke.

When we develop locally- eg.. on our servers in our office, we setup a portal using 'virtual directory' and then when it is uploaded to the servers, we put directly into the root of the website and it's setup as a 'website' not a 'virtual directory'.  It depends how some hosting providers setup and offer their services and once click installs.

So when we setup in a dev environment to create sites in this fashion, we use IP addresses and a dev prefix. ... eg.. 192.168.0.30/dnn  or 192.168.0.30/xd as an example.  We then, when finished with the site, zip it up, upload to the wwwroot directory on the server.  And, in IIS, it's setup as as a website, not a virtual directory, so when we refresh the website it will show the full domain without the /xd or /dnn prefix.

Of course when you want to do all this you need to make sure the portal alias has got the full url path in there as well.

It sounds like all that's been done is a site has been setup with auto publish, it uses virtual directory options, which may or may not be in your control so when done, you were none the wiser.

Back in the olden days - DNN 2, there were issues with building in 'virtual directory' instance and then uploading to 'full path' or 'website' instance when the urls didn't work as expected, but this has long since been fixed.

I think, for you to rectify this what you need to do is put in the portal alias, the domain without the dotnetnuke, then, download the portal via ftp and if you were to log in you should see a wwwroot/dotnetnuke/ folder - where all the files are, they need to be moved to the wwwroot folder to display without the dotnetnuke prefix. FTP the files back up there and then try the full url without dotnetnuke prefix, if it works, then log in and REMOVE the  dotnetnuke alias from the Portal Alias section, and delete the files in the dotnetnuke folder.

It's about shuffling these files around and if it's all too difficult, you might get your hosting provider to do this for you if they are nice.

So, hope this works for you - iframe is not the solution, moving the files to the correct location is.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
1/24/2013 1:18 AM
 
We had a recent project where I needed to remove the /dotnetnuke from the URL Path and I resolved it by going through:

1) IIS Manager
2) collapse Server folder > Sites
3) right click dotnetnuke > Manage Application > Advanced Settings
4) General > Physical Path
5) add \dotnetnuke at the end of %SystemDrive%\inetpub\wwwroot
6) OK

This will remove the /dotnetnuke from the URL while keeping the exhisting physical DNN folder structure.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Trying to remove /dotnetnuke from urlTrying to remove /dotnetnuke from url


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