MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on February 06, 2015, 02:00:24 PM

Title: How to add a web.config file to windows hosting?
Post by: Dipak Bhoi on February 06, 2015, 02:00:24 PM
Hello Guys,

Web.config is the main settings and configuration file for an ASP.NET web application. Using web.config file you can customize the behavior of your site.

Using a web.config file, you can control:

Create a notepad file (txt file) and add your web configuration.

Quote<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<system.web>

</system.web>

</configuration>

Save the txt file with name Web.config.txt.

Upload the file to the root directory, it may be httpdocs .

Rename Web.config.txt file to Web.config by removing the .txt extension.

That's all, Enjoy  :)!!