Solved

wwwroot and web.config

Posted on 2014-04-15
3
422 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Know what services you can and cannot, should and should not combine on your server.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 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