Change the name of your DotNetNuke Root Directory Folder in Godaddy- DNN Root Directory Folder Name Change in Godaddy

This is how to change the name of your root directory in Godaddy. This may also work in other locations, but is specifically targeted to Godaddy DotNetNuke-DNN installs. These instructions were written after I acquired the Deluxe Hosting Account. The Deluxe Hosting Account lets you have multiple domains on one hosting account.

If your original DotNetNuke install was pointed to the Godaddy Root of the FTP, then there are two things you may need to do.

  1.  First is to follow the instructions at Godaddy Help to create a -false domain name as the primary domain and “Root”. Follow this link – http://support.godaddy.com/help/article/4067/setting-up-a-nonweb-accessible-root-folder. This works, and is directly from Godaddy. This is so the root folder is whateveryourdomainname-false.com is your primary domain, and all other domains are under it and pointed to whichever folder you want. This new domain name will be non web accessible and does not really exist. It is only for domain level and root clarification purposes. Godaddy has to have a main “ROOT” identifier to label your account. Remember to disable the welcome.html file if you choose this method.
  2. Follow the instructions here: How-to-change-the-DotNetNuke-Install-directory-folder-name-for-a-Godaddy-Economy-Hosting-website in order to keep your primary domain pointing to the godaddy root.

Before you go into Godaddy, log into your DotNetNuke website as the SuperUser and create new portal aliases. The path is “Host”/ “Portals”/ “Edit” (appropriate portal)/ “Advanced Settings”/ “Portal Aliases”/ “Add new Alias”. Another path is “Admin”/ “Site Settings”/ “Advanced Settings”/ “Portal Aliases”/ “Add new Alias”. Your new alias should include the new desired directory folder name (www.yourdomain.com/yournewdirectoryname). The old one should be there so you can model after it. I believe all this is stored in the database, so it may not matter to do it first, as long as you get it in there sometime before you expect to navigate to it. You can also just add it straight to the database as well, I am sure.

  1. Log in to your Godaddy account and then choose “My Account”.
  2. Scroll down to Web Hosting and click on the “+” symbol then choose “Launch”.
  3. a new window should pop-up to show all the options in the hosting account. They have a new hosting menu page look, but the tabs at the top of the page are still the same “as of now”. So we will go from there.
  4. Try to follow the steps below in between doing anything, as the website will eventually be “inactive” for a while.
  5. The first step is to back up everything. The best thing to do is have a fresh backup of the DotNetNuke install folder and the database file. Start with the install folder. At the top hover over the “Tools” tab and choose “FTP File Manager”.
  6. I have found that copying an entire DotNetNuke/DNN installation folder does not ever finish. So I make a new folder, then copy 3 folders at a time into the new folder, then all the “spare” files that are left. My install has 49 directories and files. So the new folder should have the same. Now we have a fresh copy of the DotNetNuke/DNN install folder.
  7. Next is to backup the database – hover over the top tab named “Databases” and choose correctly. If you don’t see your database choose a different option. There should be a database listing with status as “Setup”.
  8. On the right hand side under “Action” choose the pencil or “edit”. There should now be an information page with all the information on the database file. Up at the top find the button “Backup” and click it.
  9. Press “OK” – you will have an opportunity to rename later.
  10. I always have to use internet explorer ftp in order to find the “_db_backups” file. This is where Godaddy sends the database backup files.  Then you can change the name of the database.
  11. Now hover over the “Tools” tab again and choose “IIS Management”.
  12. You should be seeing your original DotNetNuke install folder with a green dot on it. This is a virtual directory set as an application root. This is what is needed in Godaddy to install an application.
  13. Make sure only the Content Root is checked and click “Create” at the top. Now you need to name your new directory here. Then check the box at “Set Application Root”, and “OK”.
  14. Now make sure that your new directory is the only box that is checked and start creating any folders that are in your original install directory. Mine has app_code, app_data, bin, config, desktopmodules, images, install, portals, portals/_default, and web.config. (I duplicated the web.config on mine, but it still remains in “Pending Setup” status to this day, so maybe it is not needed.) It may take up to 24 hours for the virtual directory to resolve, so keep this in mind.
  15. After a few minutes go back to the FTP File Manager and see if the new folder you created in the IIS Manager is there. When it is there, go ahead and copy the current DotNetNuke install files into it. Change the permissions to Web Writable for the new folder in the FTP.

OK so now we are fully backed up with the DotNetNuke install folder and a fresh copy of the database. Now we are ready to take the next steps. It is my opinion that the install folder and the database work independently of each other, and the folder name is not as important as thought. The web.config file has not been changed, only copied. So any of the keys, or database names all remain the same. The only things that have been changed so far are:

  1. New portal alias created in the DotNetNuke portal.
  2. a fresh backup of the install folder in the FTP File Manager, (separate and untouched)
  3. a fresh backup of the database in the _db_backups folder,
  4. a new folder in the IIS Management or Godaddy Virtual Directory.
  5. and a new folder in FTP File Manager with the exact same name as the new one created in IIS, with fresh copies of all files in the original DotNetNuke installation.

Items 2 and 3 above can all be brought back and everything the way it was if something messes up. With this method everything can be turned back.

It is time to take a break.

When you are ready, click on the link below to the next set of instructions.
Change Directory Folder in DotNetNuke Install for Godaddy – 2

Comments are closed.