Solved

wwwroot and web.config

Posted on 2014-04-15
3
420 Views
Last Modified: 2014-04-16
can anyone give a beginners guide to what exactly wwwroot and web.config are/do in relation to an web application? I have read a few links but not being a developer/web dev I am findings it a bit tricky to understand what this directory and these files are used for, can anyone give a tech free management guide?
0
Comment
Question by:pma111
3 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 250 total points
ID: 40001520
WWWROOT is just the default folder a web site will be created in on a Windows machine.  There's nothing special about it, and you can create web sites in folders of your own creation anywhere.

Web.config is more or less what it sounds like.  It provides some configuration information about the web site it belongs to. It can also store some information - such as database connection info - that you can retrieve from within the web site.
0
 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 250 total points
ID: 40001536
If you have a shared hosting plan, it typically means the top level folder.  If you ftp in and don't see any files, you are probably at the root.   Or you might see a file called, "mysite.com" or "wwwroot".  If you have that it may mean you can have multiple domains on your shared service.  

In that case, your folder structure might be

wwwroot
     -domain1
           -images
     -domain2
           -images

Your web.config file will tell the server to only allow traffic coming in t domain1.com to use the domain1 folder and domain2.com to use the domain2 folder.  It would not allow any traffic to get to the top level folder.

If you have  a dedicated server (or if the shared service shows you the full path) your structure may look like

c:\inetbub\wwwroot\domain1\
c:\inetbub\wwwroot\domain2\

Are you being asked to edit the web.config or place certain files in the root?
0
 
LVL 3

Author Comment

by:pma111
ID: 40003383
No to the last question just interested in what exactly the folders and file represent in the grand scheme of a web application.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question