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 ...Setting up DNN as an actual website instead of virtual directory in IIS 6.0Setting up DNN as an actual website instead of virtual directory in IIS 6.0
Previous
 
Next
New Post
3/15/2007 10:02 PM
 

Hi,

All the DNN Documentation I've found on the net shows creating Virtual Directories when installing DNN. In IIS 6.0, what is the equivalent of creating a DNN website by using the create new website instead of a creating new virtual directory.

I've tried creating a new website for my DNN installation instead of a virtual directory on Microsoft Windows 2003 Server R2, but got stuck in the process. Am not sure if I created it correctly or not, and also I do not know how to test it, i.e. via internet explorer to start the installation (like I would when using virtual directories - http://localhost/MtWebsite, using the create website, i do not know what address to type in the browser).

Any assistance in this would be much appreciated.

Thanks heaps in advance.

ljoe

 

 

 
New Post
3/16/2007 7:53 AM
 
Point the root of the IIS virtual site to the folder the DNN codebase (ie install) has been placed. Then follow the instructions regarding permissions, web config etc and you will have DNN responding not in a virtual directory.
HTH
Antony
 
New Post
3/17/2007 9:35 PM
 

Hey Antony,

Thanks for responding to my query.

Here's what I've done. Can you inspect this and tell me what need's to be done or what has been done incorrectly? For your info, I'm running a MS Windows 2003 Server R2 and MS SQL Server 2005.

1. Created a folder on my C:\ drive called MyWebsite - C:\MyWebsite
2. Using the source files for DNN 4.4.01, I unzipped the contents to the folder I created previously, i.e., in the directory C:\MyWebsite.
3. I then created permissions on this folder, adding the NETWORK SERVICE account and giving it MODIFY, READ & EXECUTE, LIST FOLDER CONTENTS, READ and WRITE permissions.
4. I then Created a database on the SQL Server called MyWebsiteDB, and added the NETWORK SERVICE account as dbo on this database. Also I created a SQL Server login account called dnnuser and made it dbo on this database as well.
5. I renamed the release.config file in the directory C:\MyWebsite\Website to web.config.
6. I then modified the connection strings in the web.config as follows:
<!-- Connection String for SQL Server 2005 Express
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;UserInstance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />
-->
<!--
Connection String for SQL Server 2000/2005 -->
<
add name="SiteSqlServer" connectionString="Server=(local);Database=MyWebsiteDB;uid=dnnuser;pwd=password;"
providerName="System.Data.SqlClient" />
</connectionStrings>
<
appSettings>
<!--
Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules
<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
-->
<!--
Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
<
add key="SiteSqlServer" value="Server=(local);Database=MyWebsiteDB;uid=dnnuser;pwd=password;"/>
7. Now I created a new website in IIS.
8. In IIS 6.0, under my local computer, I right clicked on Web Sites, Select New, and then Web Site. In the dialog box that appear, below is what i typed in when going bthrough the process:
9. In the web site description, I typed "My Web Site" (without the quotes).
10. In the IP Address and Port settings, I had (All Unassigned) for IP Address and 8081 for Port since Port 80 will have alreay been used by the 'Default Web Site', and nothing for Host Header.
11. In the webiste home directory box, I typed C:\MyWebsite\Website
12. In the website access permission screen, I selected Read, Run Scripts(such as ASP), and Browse.
13. Finish

Now, to access my website, I do not know what address to use in Internet Explorer. http://localhost/MyWebsite doesn't work. Am thinking the steps carried out above are correct, it's just that i have to type in a correct address, which am not familiar with when using website instead of virtual directory.

Will you be able to assist me in this?

Thanks in advance,

ljoe

 
New Post
3/26/2007 6:38 AM
 
Hi!

Try http://localhost:8081
 
New Post
3/26/2007 8:53 AM
 
Hello,

In your place, i'll try http://localhost:8081/MyWebsite

And check out your witch document you open first in IIS, it must be Default.aspx
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Setting up DNN as an actual website instead of virtual directory in IIS 6.0Setting up DNN as an actual website instead of virtual directory in IIS 6.0


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