Saturday, September 3, 2016

IIS Log File Locations, Logs Format, Logging Time Zone And How To Change Time Zone


Default IIS logs time zone is Coordinated Universal Time (UTC) or Greenwich Mean Time (GMT). It is because the default file format for IIS logs are W3C. Every site have its own log folder for IIS logs. Default locations are:

  • IIS Logs: C:\inetpub\logs\LogFiles
  • HTTP API error logging C:\Windows\System32\LogFiles\HTTPERR


File Format:
Various IIS log file formats are:
  • World Wide Web Consortium (W3C) Format : UTC time zone
  • Internet Information Services (IIS) Format : Local time zone
  • NCSA Format : Local time zone
W3C, IIS, and NCSA file formats are ASCII text format unless your web sites uses UTF-8 encoding.


Change Logging:
To change the time zone, select the site in the IIS Manager and double clink on the Logging feature icon in the middle window pane. It will load the windows similar to the below image. Select the desired log file format to change the logging time zone.
For example: Select IIS instead of W3C if you want to see the logs in local time zone. I will also show you the log file directory.

Additionally, you will also have an option to select logs rollover.



Thanks.


Sunday, August 28, 2016

Installing IIS Web Server on Windows 7

What is IIS?
Internet Information Service (IIS) is a web server developed by Microsoft which supports HTTP, HTTPS, FTP, SMTP and other internet protocols.


Installing IIS:
Open Add or Remove Programs under Programs and Features and then on left hand side, click on Turn Windows features on or off link.

Features pop-up will open. Click on Internet Information Services which will fill the checkbox with a color rather than showing a tick mark. This means the default setting are selected and will be enabled. Expand and select other features if you want to enable them.

Click OK.



Verification:
When IIS is installed on your system, a new service named World Wide Web Publishing Service is added on system services. Alternatively, you can also press windows key and search for the word "IIS" and it should show up in the list if it's installed successfully.




Hope this is helpful.



Sunday, April 17, 2016

How To Add IP Addresses To Your Windows Server


You can follow the steps below to add IP Address to Windows machine.


To Add IP Addresses to Windows 2003 Server:

  • Log in to the server.
  • Go to Control Panel --> Network Connections --> Local Area Connection
  • Right-click on Properties
  • Select Internet Protocol (TCP/IP)
  • Click Properties
  • Click Advanced
  • Click Add
  • Add the new IP address, also provide 255.255.255.0 as the subnet mask or provide these details as per your requirement.


To Add IP Addresses to Your Dedicated Windows 2008 Server

  • Log into your server via Remote desktop connection.
  • Open the server's Start menu and select Network.
  • Double-click on the Network and Sharing Center icon.
  • Click on the Change Adapter Settings link on the left.
  • Right click on the icon representing your server's network card and select Properties from the menu that appears.
  • Select Internet Protocol Version 4 (TCP/IPv4) and click the Properties button.
  • Click the Advanced button.
  • Click the Add button under the IP addresses section of the IP Settings tab.
  • Enter the IP address and subnet mask 255.255.255.0 or provide these details as per your requirement and click the Add button.
  • Click the OK button to close the Advanced TCP/IP Settings window.
  • Click the OK button to close the Internet Protocol Version 4 (TCP/IPv4) Properties window.
  • Click the Close button to close out of the Local Area Connection Properties window.



I hope its helpful.