Solved

wwwroot and web.config

Posted on 2014-04-15
3
413 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 33

Accepted Solution

by:
paulmacd earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now