How do I add a web.config file to my windows hosting?

This FAQ will help you to add a web.config file to your Windows Hosting package

A Web Config file is the main settings and configuration file for use with ASP.NET. This article will show you how to create your file and where to place it in your 123 Reg Hosting package.

Step 1 of 4

Create a txt document with your Web.config settings.

Below is an example that shows a minimal Web.config file

<?xml version="1.0" encoding="utf-8" ?>
Step 2 of 4

Save the txt file as Web.config.txt.


Step 3 of 4

Upload the file to the root directory (web/content/) of your windows hosting package.


Step 4 of 4

Rename your Web.config.txt file to Web.config by removing the .txt extension.” This can be done using your FTP client

You have now added your Web.config file.