Web.config Guides


The web.config is a configuration file utilised by Windows servers to alter a websites functionality.


Create a web.config file

  1. Open a text editor such as Notepad ++.
  2. From the View menu, ensure that Word Wrap is unchecked.
  3. Click File > Save As.
  4. Set the file type to All Types.
  5. Name the file web.config and click Save.

Uploading your web.config via Filezilla

  1. If you do not have a copy already, download & install Filezilla.
  2. Open Filezilla and connect to your ftp account.
  3. From the left hand menu, open the directory that contains your web.config file.
  4. From the right hand open the web directory you wish to upload the web.config file to.

Viewing the web.config in Filezilla

Web.config is a hidden file by default, so an FTP client must be configured to view hidden files in order to make future edits to the web.config file.

  1. Open Filezilla and select Server > Force showing hidden files.
  2. Your web.config will now be viewable in Filezilla.

Editing the web.config file in Filezilla

Once you have found the code you wish to implement in your web.config, you will need to place it into your file.

  1. Open Filezilla and connect to your FTP account.
  2. Navigate to the directory the contains your web.config file.
  3. Right click the web.config file and select View/Edit to open the file in your default text editor.
  4. Input the code you wish to implement on your domain and select File > Save.
  5. Within Filezilla a window prompt will appear. Select Yes to upload the changes made to your web.config file to the server.

Uploading your web.config via Webshell

  1. Navigate to FTP/User Account > FTP User.
  2. Click the Login icon.
  3. Navigate to the domain you wish to add a web.config file to and click the Upload button.
  4. Select the Choose file button.
  5. Navigate to the folder containing your web.config file, select it, and press Open.
  6. Press the Upload button.

Viewing the web.config in Webshell

  1. Navigate to FTP/User Account > FTP User.
  2. Click the Login icon.
  3. Select the Settings button from the bottom right of the page.
  4. Click the Show hidden files checkbox and press Apply

Editing the web.config File in Webshell

Once you have found the code you wish to implement in your web.config, you will need to place it into your file.

  1. Navigate to FTP/User Account > FTP User.
  2. Click the Login icon.
  3. Navigate to the domain you wish to edit a web.config file for and click on the file.
  4. Click the View Icon.
  5. Click the Edit icon.
  6. Input your desired code and select the Save button.