How to add a web config file to Windows hosting | 123-reg

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

This article applies to Windows Shared Hosting packages.

1

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" ?>

<configuration>

<system.web>

</system.web>

</configuration>

2

Save the txt file as Web.config.txt.

3

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

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.